Home | History | Annotate | Download | only in soundtrigger

Lines Matching refs:sp

53                             const sp<ISoundTriggerClient>& client,
54 sp<ISoundTrigger>& module);
91 CallbackEvent(event_type type, sp<IMemory> memory, wp<Module> module);
96 sp<IMemory> mMemory;
105 Module(const sp<SoundTriggerHwService>& service,
108 const sp<ISoundTriggerClient>& client);
114 virtual status_t loadSoundModel(const sp<IMemory>& modelMemory,
120 const sp<IMemory>& dataMemory);
128 void setClient(sp<ISoundTriggerClient> client) { mClient = client; }
130 sp<ISoundTriggerClient> client() const { return mClient; }
133 void onCallbackEvent(const sp<CallbackEvent>& event);
135 sp<Model> getModel(sound_model_handle_t handle);
151 sp<ISoundTriggerClient> mClient;
152 DefaultKeyedVector< sound_model_handle_t, sp<Model> > mModels;
170 void sendCallbackEvent(const sp<CallbackEvent>& event);
176 Vector< sp<CallbackEvent> > mEventQueue;
179 void detachModule(sp<Module> module);
182 sp<IMemory> prepareRecognitionEvent_l(struct sound_trigger_recognition_event *event);
186 sp<IMemory> prepareSoundModelEvent_l(struct sound_trigger_model_event *event);
189 sp<IMemory> prepareServiceStateEvent_l(sound_trigger_service_state_t state);
192 void sendCallbackEvent_l(const sp<CallbackEvent>& event);
193 void onCallbackEvent(const sp<CallbackEvent>& event);
201 DefaultKeyedVector< sound_trigger_module_handle_t, sp<Module> > mModules;
202 sp<CallbackThread> mCallbackThread;
203 sp<MemoryDealer> mMemoryDealer;