Searched refs:halEvent (Results 1 – 8 of 8) sorted by relevance
438 const ISoundTriggerHwCallback::RecognitionEvent& halEvent, in recognitionCallback() argument449 struct sound_trigger_recognition_event *event = convertRecognitionEventFromHal(&halEvent); in recognitionCallback()462 const ISoundTriggerHwCallback::PhraseRecognitionEvent& halEvent, in phraseRecognitionCallback() argument475 (const ISoundTriggerHwCallback::RecognitionEvent *)&halEvent); in phraseRecognitionCallback()489 const ISoundTriggerHwCallback::ModelEvent& halEvent, in soundModelCallback() argument501 struct sound_trigger_model_event *event = convertSoundModelEventFromHal(&halEvent); in soundModelCallback()516 const ISoundTriggerHwCallback::ModelEvent *halEvent) in convertSoundModelEventFromHal() argument520 halEvent->data.size()); in convertSoundModelEventFromHal()525 event->status = (int)halEvent->status; in convertSoundModelEventFromHal()528 event->data_size = halEvent->data.size(); in convertSoundModelEventFromHal()[all …]
137 const ISoundTriggerHwCallback::ModelEvent *halEvent);142 const ISoundTriggerHwCallback::RecognitionEvent *halEvent);
285 sp<IMemory> RadioService::CallbackThread::prepareEvent(radio_hal_event_t *halEvent) in prepareEvent() argument296 switch (halEvent->type) { in prepareEvent()299 if (radio_metadata_check(halEvent->info.metadata) == 0) { in prepareEvent()300 metadataSize = (uint32_t)radio_metadata_get_size(halEvent->info.metadata); in prepareEvent()304 if (radio_metadata_check(halEvent->metadata) != 0) { in prepareEvent()307 metadataSize = (uint32_t)radio_metadata_get_size(halEvent->metadata); in prepareEvent()323 event->type = halEvent->type; in prepareEvent()324 event->status = halEvent->status; in prepareEvent()328 event->config.band = halEvent->config; in prepareEvent()332 event->info = halEvent->info; in prepareEvent()[all …]
190 void RadioHalLegacy::Tuner::onCallback(radio_hal_event_t *halEvent) in onCallback() argument193 mCallback->onEvent(halEvent); in onCallback()198 void RadioHalLegacy::Tuner::callback(radio_hal_event_t *halEvent, void *cookie) in callback() argument203 tuner->onCallback(halEvent); in callback()
57 static void callback(radio_hal_event_t *halEvent, void *cookie);58 void onCallback(radio_hal_event_t *halEvent);
122 void sendEvent(radio_hal_event_t *halEvent);123 sp<IMemory> prepareEvent(radio_hal_event_t *halEvent);203 static void callback(radio_hal_event_t *halEvent, void *cookie);
86 void onCallback(radio_hal_event_t *halEvent) const;
375 void RadioHalHidl::Tuner::onCallback(radio_hal_event_t *halEvent) const in onCallback()378 mCallback->onEvent(halEvent); in onCallback()