Lines Matching refs:SoundTriggerHwService
47 SoundTriggerHwService::SoundTriggerHwService() in SoundTriggerHwService() function in android::SoundTriggerHwService
55 void SoundTriggerHwService::onFirstRef() in onFirstRef()
96 SoundTriggerHwService::~SoundTriggerHwService() in ~SoundTriggerHwService()
106 status_t SoundTriggerHwService::listModules(struct sound_trigger_module_descriptor *modules, in listModules()
126 status_t SoundTriggerHwService::attach(const sound_trigger_module_handle_t handle, in attach()
155 status_t SoundTriggerHwService::setCaptureState(bool active) in setCaptureState()
167 void SoundTriggerHwService::detachModule(sp<Module> module) in detachModule()
191 status_t SoundTriggerHwService::dump(int fd, const Vector<String16>& args __unused) { in dump()
209 status_t SoundTriggerHwService::onTransact( in onTransact()
216 void SoundTriggerHwService::recognitionCallback(struct sound_trigger_recognition_event *event, in recognitionCallback()
223 sp<SoundTriggerHwService> service = module->service().promote(); in recognitionCallback()
231 sp<IMemory> SoundTriggerHwService::prepareRecognitionEvent_l( in prepareRecognitionEvent_l()
274 void SoundTriggerHwService::sendRecognitionEvent(struct sound_trigger_recognition_event *event, in sendRecognitionEvent()
301 void SoundTriggerHwService::soundModelCallback(struct sound_trigger_model_event *event, in soundModelCallback()
308 sp<SoundTriggerHwService> service = module->service().promote(); in soundModelCallback()
316 sp<IMemory> SoundTriggerHwService::prepareSoundModelEvent_l(struct sound_trigger_model_event *event) in prepareSoundModelEvent_l()
331 void SoundTriggerHwService::sendSoundModelEvent(struct sound_trigger_model_event *event, in sendSoundModelEvent()
354 sp<IMemory> SoundTriggerHwService::prepareServiceStateEvent_l(sound_trigger_service_state_t state) in prepareServiceStateEvent_l()
369 void SoundTriggerHwService::sendServiceStateEvent_l(sound_trigger_service_state_t state, in sendServiceStateEvent_l()
391 void SoundTriggerHwService::sendCallbackEvent_l(const sp<CallbackEvent>& event) in sendCallbackEvent_l()
396 void SoundTriggerHwService::onCallbackEvent(const sp<CallbackEvent>& event) in onCallbackEvent()
418 SoundTriggerHwService::CallbackThread::CallbackThread(const wp<SoundTriggerHwService>& service) in CallbackThread()
423 SoundTriggerHwService::CallbackThread::~CallbackThread() in ~CallbackThread()
431 void SoundTriggerHwService::CallbackThread::onFirstRef() in onFirstRef()
436 bool SoundTriggerHwService::CallbackThread::threadLoop() in threadLoop()
440 sp<SoundTriggerHwService> service; in threadLoop()
462 void SoundTriggerHwService::CallbackThread::exit() in exit()
469 void SoundTriggerHwService::CallbackThread::sendCallbackEvent( in sendCallbackEvent()
470 const sp<SoundTriggerHwService::CallbackEvent>& event) in sendCallbackEvent()
477 SoundTriggerHwService::CallbackEvent::CallbackEvent(event_type type, sp<IMemory> memory, in CallbackEvent()
483 SoundTriggerHwService::CallbackEvent::~CallbackEvent() in ~CallbackEvent()
491 SoundTriggerHwService::Module::Module(const sp<SoundTriggerHwService>& service, in Module()
500 SoundTriggerHwService::Module::~Module() { in ~Module()
503 void SoundTriggerHwService::Module::detach() { in detach()
523 sp<SoundTriggerHwService> service = mService.promote(); in detach()
530 status_t SoundTriggerHwService::Module::loadSoundModel(const sp<IMemory>& modelMemory, in loadSoundModel()
554 SoundTriggerHwService::soundModelCallback, in loadSoundModel()
575 status_t SoundTriggerHwService::Module::unloadSoundModel(sound_model_handle_t handle) in unloadSoundModel()
586 status_t SoundTriggerHwService::Module::unloadSoundModel_l(sound_model_handle_t handle) in unloadSoundModel_l()
602 status_t SoundTriggerHwService::Module::startRecognition(sound_model_handle_t handle, in startRecognition()
639 SoundTriggerHwService::recognitionCallback, in startRecognition()
650 status_t SoundTriggerHwService::Module::stopRecognition(sound_model_handle_t handle) in stopRecognition()
672 void SoundTriggerHwService::Module::onCallbackEvent(const sp<CallbackEvent>& event) in onCallbackEvent()
743 sp<SoundTriggerHwService::Model> SoundTriggerHwService::Module::getModel( in getModel()
754 void SoundTriggerHwService::Module::binderDied( in binderDied()
761 void SoundTriggerHwService::Module::setCaptureState_l(bool active) in setCaptureState_l()
764 sp<SoundTriggerHwService> service; in setCaptureState_l()
857 SoundTriggerHwService::Model::Model(sound_model_handle_t handle, audio_session_t session, in Model()
866 status_t SoundTriggerHwService::Module::dump(int fd __unused, in dump()