Lines Matching refs:IMemory
48 size_t> CopyToArray(const sp<IMemory>& mem) { in CopyToArray()
228 sp<IMemory> SoundTriggerHwService::prepareRecognitionEvent( in prepareRecognitionEvent()
232 sp<IMemory> eventMemory; in prepareRecognitionEvent()
278 sp<IMemory> eventMemory = prepareRecognitionEvent(event); in sendRecognitionEvent()
305 sp<IMemory> SoundTriggerHwService::prepareSoundModelEvent(struct sound_trigger_model_event *event) in prepareSoundModelEvent()
308 sp<IMemory> eventMemory; in prepareSoundModelEvent()
324 sp<IMemory> eventMemory = prepareSoundModelEvent(event); in sendSoundModelEvent()
335 sp<IMemory> SoundTriggerHwService::prepareServiceStateEvent(sound_trigger_service_state_t state) in prepareServiceStateEvent()
338 sp<IMemory> eventMemory; in prepareServiceStateEvent()
353 sp<IMemory> eventMemory = prepareServiceStateEvent(state); in sendServiceStateEvent()
366 sp<IMemory> eventMemory = prepareServiceStateEvent(state); in sendServiceStateEvent()
486 SoundTriggerHwService::CallbackEvent::CallbackEvent(event_type type, sp<IMemory> memory) in CallbackEvent()
577 status_t SoundTriggerHwService::Module::loadSoundModel(const sp<IMemory>& modelMemory, in loadSoundModel()
679 const sp<IMemory>& dataMemory) in startRecognition()
775 sp<IMemory> eventMemory = event->mMemory; in onCallbackEvent()
858 Vector< sp<IMemory> > events; in setCaptureState_l()
900 sp<IMemory> eventMemory = service->prepareRecognitionEvent(&event.common); in setCaptureState_l()
911 sp<IMemory> eventMemory = service->prepareRecognitionEvent(&event.common); in setCaptureState_l()
922 sp<IMemory> eventMemory = service->prepareRecognitionEvent(&event.common); in setCaptureState_l()
1006 status_t SoundTriggerHwService::ModuleClient::loadSoundModel(const sp<IMemory>& modelMemory, in loadSoundModel()
1043 const sp<IMemory>& dataMemory) in startRecognition()
1121 sp<IMemory> eventMemory = event->mMemory; in onCallbackEvent()