Loading services/tuner/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -88,6 +88,7 @@ cc_binary { "libbase", "libbinder", "libfmq", "libhidlbase", "liblog", "libtunerservice", "libutils", Loading services/tuner/main_tunerservice.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ #include <binder/IPCThreadState.h> #include <binder/IServiceManager.h> #include <utils/Log.h> #include <hidl/HidlTransportSupport.h> #include "TunerService.h" #include "hidl/TunerHidlService.h" Loading @@ -32,7 +33,8 @@ int main() { sp<ProcessState> proc(ProcessState::self()); sp<IServiceManager> sm = defaultServiceManager(); ProcessState::self()->setThreadPoolMaxThreadCount(8); hardware::configureRpcThreadpool(16, true); ProcessState::self()->setThreadPoolMaxThreadCount(16); // Check legacy HIDL HAL first. If it's not existed, use AIDL HAL. binder_status_t status = TunerHidlService::instantiate(); Loading Loading
services/tuner/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -88,6 +88,7 @@ cc_binary { "libbase", "libbinder", "libfmq", "libhidlbase", "liblog", "libtunerservice", "libutils", Loading
services/tuner/main_tunerservice.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ #include <binder/IPCThreadState.h> #include <binder/IServiceManager.h> #include <utils/Log.h> #include <hidl/HidlTransportSupport.h> #include "TunerService.h" #include "hidl/TunerHidlService.h" Loading @@ -32,7 +33,8 @@ int main() { sp<ProcessState> proc(ProcessState::self()); sp<IServiceManager> sm = defaultServiceManager(); ProcessState::self()->setThreadPoolMaxThreadCount(8); hardware::configureRpcThreadpool(16, true); ProcessState::self()->setThreadPoolMaxThreadCount(16); // Check legacy HIDL HAL first. If it's not existed, use AIDL HAL. binder_status_t status = TunerHidlService::instantiate(); Loading