Lines Matching refs:SoundTriggerHwService

69 SoundTriggerHwService::SoundTriggerHwService()  in SoundTriggerHwService()  function in android::SoundTriggerHwService
77 void SoundTriggerHwService::onFirstRef() in onFirstRef()
104 SoundTriggerHwService::~SoundTriggerHwService() in ~SoundTriggerHwService()
111 status_t SoundTriggerHwService::listModules(const String16& opPackageName, in listModules()
134 status_t SoundTriggerHwService::attach(const String16& opPackageName, in attach()
168 status_t SoundTriggerHwService::setCaptureState(bool active) in setCaptureState()
188 status_t SoundTriggerHwService::dump(int fd, const Vector<String16>& args __unused) { in dump()
206 status_t SoundTriggerHwService::onTransact( in onTransact()
213 void SoundTriggerHwService::recognitionCallback(struct sound_trigger_recognition_event *event, in recognitionCallback()
220 sp<SoundTriggerHwService> service = module->service().promote(); in recognitionCallback()
228 sp<IMemory> SoundTriggerHwService::prepareRecognitionEvent( in prepareRecognitionEvent()
272 void SoundTriggerHwService::sendRecognitionEvent(struct sound_trigger_recognition_event *event, in sendRecognitionEvent()
290 void SoundTriggerHwService::soundModelCallback(struct sound_trigger_model_event *event, in soundModelCallback()
297 sp<SoundTriggerHwService> service = module->service().promote(); in soundModelCallback()
305 sp<IMemory> SoundTriggerHwService::prepareSoundModelEvent(struct sound_trigger_model_event *event) in prepareSoundModelEvent()
321 void SoundTriggerHwService::sendSoundModelEvent(struct sound_trigger_model_event *event, in sendSoundModelEvent()
335 sp<IMemory> SoundTriggerHwService::prepareServiceStateEvent(sound_trigger_service_state_t state) in prepareServiceStateEvent()
350 void SoundTriggerHwService::sendServiceStateEvent(sound_trigger_service_state_t state, in sendServiceStateEvent()
363 void SoundTriggerHwService::sendServiceStateEvent(sound_trigger_service_state_t state, in sendServiceStateEvent()
376 void SoundTriggerHwService::sendCallbackEvent(const sp<CallbackEvent>& event) in sendCallbackEvent()
381 void SoundTriggerHwService::onCallbackEvent(const sp<CallbackEvent>& event) in onCallbackEvent()
427 SoundTriggerHwService::CallbackThread::CallbackThread(const wp<SoundTriggerHwService>& service) in CallbackThread()
432 SoundTriggerHwService::CallbackThread::~CallbackThread() in ~CallbackThread()
440 void SoundTriggerHwService::CallbackThread::onFirstRef() in onFirstRef()
445 bool SoundTriggerHwService::CallbackThread::threadLoop() in threadLoop()
449 sp<SoundTriggerHwService> service; in threadLoop()
471 void SoundTriggerHwService::CallbackThread::exit() in exit()
478 void SoundTriggerHwService::CallbackThread::sendCallbackEvent( in sendCallbackEvent()
479 const sp<SoundTriggerHwService::CallbackEvent>& event) in sendCallbackEvent()
486 SoundTriggerHwService::CallbackEvent::CallbackEvent(event_type type, sp<IMemory> memory) in CallbackEvent()
491 SoundTriggerHwService::CallbackEvent::~CallbackEvent() in ~CallbackEvent()
499 SoundTriggerHwService::Module::Module(const sp<SoundTriggerHwService>& service, in Module()
507 SoundTriggerHwService::Module::~Module() { in ~Module()
511 sp<SoundTriggerHwService::ModuleClient>
512 SoundTriggerHwService::Module::addClient(const sp<ISoundTriggerClient>& client, in addClient()
532 void SoundTriggerHwService::Module::detach(const sp<ModuleClient>& moduleClient) in detach()
577 status_t SoundTriggerHwService::Module::loadSoundModel(const sp<IMemory>& modelMemory, in loadSoundModel()
631 SoundTriggerHwService::soundModelCallback, in loadSoundModel()
649 status_t SoundTriggerHwService::Module::unloadSoundModel(sound_model_handle_t handle) in unloadSoundModel()
678 status_t SoundTriggerHwService::Module::startRecognition(sound_model_handle_t handle, in startRecognition()
721 SoundTriggerHwService::recognitionCallback, in startRecognition()
732 status_t SoundTriggerHwService::Module::stopRecognition(sound_model_handle_t handle) in stopRecognition()
752 status_t SoundTriggerHwService::Module::getModelState(sound_model_handle_t handle) in getModelState()
771 void SoundTriggerHwService::Module::onCallbackEvent(const sp<CallbackEvent>& event) in onCallbackEvent()
840 sp<SoundTriggerHwService::Model> SoundTriggerHwService::Module::getModel( in getModel()
852 void SoundTriggerHwService::Module::setCaptureState_l(bool active) in setCaptureState_l()
855 sp<SoundTriggerHwService> service; in setCaptureState_l()
945 SoundTriggerHwService::Model::Model(sound_model_handle_t handle, audio_session_t session, in Model()
958 SoundTriggerHwService::ModuleClient::ModuleClient(const sp<Module>& module, in ModuleClient()
965 void SoundTriggerHwService::ModuleClient::onFirstRef() in onFirstRef()
973 SoundTriggerHwService::ModuleClient::~ModuleClient() in ~ModuleClient()
977 status_t SoundTriggerHwService::ModuleClient::dump(int fd __unused, in dump()
983 void SoundTriggerHwService::ModuleClient::detach() { in detach()
1006 status_t SoundTriggerHwService::ModuleClient::loadSoundModel(const sp<IMemory>& modelMemory, in loadSoundModel()
1026 status_t SoundTriggerHwService::ModuleClient::unloadSoundModel(sound_model_handle_t handle) in unloadSoundModel()
1042 status_t SoundTriggerHwService::ModuleClient::startRecognition(sound_model_handle_t handle, in startRecognition()
1062 status_t SoundTriggerHwService::ModuleClient::stopRecognition(sound_model_handle_t handle) in stopRecognition()
1078 status_t SoundTriggerHwService::ModuleClient::getModelState(sound_model_handle_t handle) in getModelState()
1094 void SoundTriggerHwService::ModuleClient::setCaptureState_l(bool active) in setCaptureState_l()
1097 sp<SoundTriggerHwService> service; in setCaptureState_l()
1117 void SoundTriggerHwService::ModuleClient::onCallbackEvent(const sp<CallbackEvent>& event) in onCallbackEvent()
1150 void SoundTriggerHwService::ModuleClient::binderDied( in binderDied()