Loading services/soundtrigger/SoundTriggerHalHidl.cpp +0 −13 Original line number Original line Diff line number Diff line Loading @@ -28,14 +28,6 @@ using android::hardware::Return; using android::hardware::ProcessState; using android::hardware::ProcessState; using android::hardware::audio::common::V2_0::AudioDevice; using android::hardware::audio::common::V2_0::AudioDevice; pthread_once_t SoundTriggerHalHidl::sOnceControl = PTHREAD_ONCE_INIT; void SoundTriggerHalHidl::sOnceInit() { ProcessState::self()->setThreadPoolMaxThreadCount(1); ProcessState::self()->startThreadPool(); } /* static */ /* static */ sp<SoundTriggerHalInterface> SoundTriggerHalInterface::connectModule(const char *moduleName) sp<SoundTriggerHalInterface> SoundTriggerHalInterface::connectModule(const char *moduleName) { { Loading Loading @@ -269,11 +261,6 @@ SoundTriggerHalHidl::SoundTriggerHalHidl(const char *moduleName) { { } } void SoundTriggerHalHidl::onFirstRef() { pthread_once(&sOnceControl, &sOnceInit); } SoundTriggerHalHidl::~SoundTriggerHalHidl() SoundTriggerHalHidl::~SoundTriggerHalHidl() { { } } Loading services/soundtrigger/SoundTriggerHalHidl.h +0 −3 Original line number Original line Diff line number Diff line Loading @@ -82,9 +82,6 @@ public: */ */ virtual int stopAllRecognitions(); virtual int stopAllRecognitions(); // RefBase virtual void onFirstRef(); // ISoundTriggerHwCallback // ISoundTriggerHwCallback virtual ::android::hardware::Return<void> recognitionCallback( virtual ::android::hardware::Return<void> recognitionCallback( const ISoundTriggerHwCallback::RecognitionEvent& event, CallbackCookie cookie); const ISoundTriggerHwCallback::RecognitionEvent& event, CallbackCookie cookie); Loading Loading
services/soundtrigger/SoundTriggerHalHidl.cpp +0 −13 Original line number Original line Diff line number Diff line Loading @@ -28,14 +28,6 @@ using android::hardware::Return; using android::hardware::ProcessState; using android::hardware::ProcessState; using android::hardware::audio::common::V2_0::AudioDevice; using android::hardware::audio::common::V2_0::AudioDevice; pthread_once_t SoundTriggerHalHidl::sOnceControl = PTHREAD_ONCE_INIT; void SoundTriggerHalHidl::sOnceInit() { ProcessState::self()->setThreadPoolMaxThreadCount(1); ProcessState::self()->startThreadPool(); } /* static */ /* static */ sp<SoundTriggerHalInterface> SoundTriggerHalInterface::connectModule(const char *moduleName) sp<SoundTriggerHalInterface> SoundTriggerHalInterface::connectModule(const char *moduleName) { { Loading Loading @@ -269,11 +261,6 @@ SoundTriggerHalHidl::SoundTriggerHalHidl(const char *moduleName) { { } } void SoundTriggerHalHidl::onFirstRef() { pthread_once(&sOnceControl, &sOnceInit); } SoundTriggerHalHidl::~SoundTriggerHalHidl() SoundTriggerHalHidl::~SoundTriggerHalHidl() { { } } Loading
services/soundtrigger/SoundTriggerHalHidl.h +0 −3 Original line number Original line Diff line number Diff line Loading @@ -82,9 +82,6 @@ public: */ */ virtual int stopAllRecognitions(); virtual int stopAllRecognitions(); // RefBase virtual void onFirstRef(); // ISoundTriggerHwCallback // ISoundTriggerHwCallback virtual ::android::hardware::Return<void> recognitionCallback( virtual ::android::hardware::Return<void> recognitionCallback( const ISoundTriggerHwCallback::RecognitionEvent& event, CallbackCookie cookie); const ISoundTriggerHwCallback::RecognitionEvent& event, CallbackCookie cookie); Loading