Home | History | Annotate | Download | only in soundtrigger

Lines Matching refs:eventMemory

204 void SoundTrigger::onRecognitionEvent(const sp<IMemory>& eventMemory)
207 if (eventMemory == 0 || eventMemory->pointer() == NULL) {
213 (struct sound_trigger_recognition_event *)eventMemory->pointer());
217 void SoundTrigger::onSoundModelEvent(const sp<IMemory>& eventMemory)
220 if (eventMemory == 0 || eventMemory->pointer() == NULL) {
226 (struct sound_trigger_model_event *)eventMemory->pointer());
230 void SoundTrigger::onServiceStateChange(const sp<IMemory>& eventMemory)
233 if (eventMemory == 0 || eventMemory->pointer() == NULL) {
239 *((sound_trigger_service_state_t *)eventMemory->pointer()));