Lines Matching refs:sp

56                             const sp<ISoundTriggerClient>& client,
57 sp<ISoundTrigger>& module);
76 sp<ModuleClient>& moduleClient);
86 sp<ModuleClient> mModuleClient;
96 CallbackEvent(event_type type, sp<IMemory> memory);
104 sp<IMemory> mMemory;
112 Module(const sp<SoundTriggerHwService>& service,
113 const sp<SoundTriggerHalInterface>& halInterface,
118 virtual status_t loadSoundModel(const sp<IMemory>& modelMemory,
119 sp<ModuleClient> moduleClient,
125 const sp<IMemory>& dataMemory);
129 sp<SoundTriggerHalInterface> halInterface() const { return mHalInterface; } in halInterface()
134 sp<Model> getModel(sound_model_handle_t handle);
138 sp<ModuleClient> addClient(const sp<ISoundTriggerClient>& client,
141 void detach(const sp<ModuleClient>& moduleClient);
143 void onCallbackEvent(const sp<CallbackEvent>& event);
149 sp<SoundTriggerHalInterface> mHalInterface;
151 Vector< sp<ModuleClient> > mModuleClients;
152 DefaultKeyedVector< sound_model_handle_t, sp<Model> > mModels;
161 ModuleClient(const sp<Module>& module,
162 const sp<ISoundTriggerClient>& client,
169 virtual status_t loadSoundModel(const sp<IMemory>& modelMemory,
175 const sp<IMemory>& dataMemory);
186 void onCallbackEvent(const sp<CallbackEvent>& event);
190 sp<ISoundTriggerClient> client() const { return mClient; } in client()
196 sp<ISoundTriggerClient> mClient;
214 void sendCallbackEvent(const sp<CallbackEvent>& event);
220 Vector< sp<CallbackEvent> > mEventQueue;
224 sp<IMemory> prepareRecognitionEvent(struct sound_trigger_recognition_event *event);
228 sp<IMemory> prepareSoundModelEvent(struct sound_trigger_model_event *event);
231 sp<IMemory> prepareServiceStateEvent(sound_trigger_service_state_t state);
236 void sendCallbackEvent(const sp<CallbackEvent>& event);
237 void onCallbackEvent(const sp<CallbackEvent>& event);
245 DefaultKeyedVector< sound_trigger_module_handle_t, sp<Module> > mModules;
246 sp<CallbackThread> mCallbackThread;
247 sp<MemoryDealer> mMemoryDealer;