Home
last modified time | relevance | path

Searched refs:halEvent (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/services/soundtrigger/
DSoundTriggerHalHidl.cpp438 const ISoundTriggerHwCallback::RecognitionEvent& halEvent, in recognitionCallback() argument
449 struct sound_trigger_recognition_event *event = convertRecognitionEventFromHal(&halEvent); in recognitionCallback()
462 const ISoundTriggerHwCallback::PhraseRecognitionEvent& halEvent, in phraseRecognitionCallback() argument
475 (const ISoundTriggerHwCallback::RecognitionEvent *)&halEvent); in phraseRecognitionCallback()
489 const ISoundTriggerHwCallback::ModelEvent& halEvent, in soundModelCallback() argument
501 struct sound_trigger_model_event *event = convertSoundModelEventFromHal(&halEvent); in soundModelCallback()
516 const ISoundTriggerHwCallback::ModelEvent *halEvent) in convertSoundModelEventFromHal() argument
520 halEvent->data.size()); in convertSoundModelEventFromHal()
525 event->status = (int)halEvent->status; in convertSoundModelEventFromHal()
528 event->data_size = halEvent->data.size(); in convertSoundModelEventFromHal()
[all …]
DSoundTriggerHalHidl.h137 const ISoundTriggerHwCallback::ModelEvent *halEvent);
142 const ISoundTriggerHwCallback::RecognitionEvent *halEvent);
/frameworks/av/services/radio/
DRadioService.cpp285 sp<IMemory> RadioService::CallbackThread::prepareEvent(radio_hal_event_t *halEvent) in prepareEvent() argument
296 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 …]
DRadioHalLegacy.cpp190 void RadioHalLegacy::Tuner::onCallback(radio_hal_event_t *halEvent) in onCallback() argument
193 mCallback->onEvent(halEvent); in onCallback()
198 void RadioHalLegacy::Tuner::callback(radio_hal_event_t *halEvent, void *cookie) in callback() argument
203 tuner->onCallback(halEvent); in callback()
DRadioHalLegacy.h57 static void callback(radio_hal_event_t *halEvent, void *cookie);
58 void onCallback(radio_hal_event_t *halEvent);
DRadioService.h122 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);
DRadioHalHidl.h86 void onCallback(radio_hal_event_t *halEvent) const;
DRadioHalHidl.cpp375 void RadioHalHidl::Tuner::onCallback(radio_hal_event_t *halEvent) const in onCallback()
378 mCallback->onEvent(halEvent); in onCallback()