Loading audio/2.0/default/Android.mk +1 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ LOCAL_SRC_FILES := \ LOCAL_CFLAGS := -Wall -Werror LOCAL_SHARED_LIBRARIES := \ libbinder \ libhidlbase \ libhidltransport \ liblog \ Loading audio/2.0/default/service.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ #include <android/hardware/audio/effect/2.0/IEffectsFactory.h> #include <android/hardware/soundtrigger/2.0/ISoundTriggerHw.h> #include <android/hardware/soundtrigger/2.1/ISoundTriggerHw.h> #include <binder/ProcessState.h> #include <hidl/HidlTransportSupport.h> #include <hidl/LegacySupport.h> Loading @@ -36,6 +37,9 @@ using android::hardware::registerPassthroughServiceImplementation; using android::OK; int main(int /* argc */, char* /* argv */ []) { android::ProcessState::initWithDriver("/dev/vndbinder"); // start a threadpool for vndbinder interactions android::ProcessState::self()->startThreadPool(); configureRpcThreadpool(16, true /*callerWillJoin*/); android::status_t status; status = registerPassthroughServiceImplementation<IDevicesFactory>(); Loading Loading
audio/2.0/default/Android.mk +1 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ LOCAL_SRC_FILES := \ LOCAL_CFLAGS := -Wall -Werror LOCAL_SHARED_LIBRARIES := \ libbinder \ libhidlbase \ libhidltransport \ liblog \ Loading
audio/2.0/default/service.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ #include <android/hardware/audio/effect/2.0/IEffectsFactory.h> #include <android/hardware/soundtrigger/2.0/ISoundTriggerHw.h> #include <android/hardware/soundtrigger/2.1/ISoundTriggerHw.h> #include <binder/ProcessState.h> #include <hidl/HidlTransportSupport.h> #include <hidl/LegacySupport.h> Loading @@ -36,6 +37,9 @@ using android::hardware::registerPassthroughServiceImplementation; using android::OK; int main(int /* argc */, char* /* argv */ []) { android::ProcessState::initWithDriver("/dev/vndbinder"); // start a threadpool for vndbinder interactions android::ProcessState::self()->startThreadPool(); configureRpcThreadpool(16, true /*callerWillJoin*/); android::status_t status; status = registerPassthroughServiceImplementation<IDevicesFactory>(); Loading