Searched refs:halEvent (Results 1 – 8 of 8) sorted by relevance
/hardware/interfaces/soundtrigger/2.0/default/ |
D | SoundTriggerHalImpl.cpp | 30 void SoundTriggerHalImpl::soundModelCallback(struct sound_trigger_model_event* halEvent, in soundModelCallback() argument 32 if (halEvent == NULL) { in soundModelCallback() 42 if (halEvent->model != client->getHalHandle()) { in soundModelCallback() 44 (int)halEvent->model, (int)client->getHalHandle()); in soundModelCallback() 48 client->soundModelCallback(halEvent); in soundModelCallback() 52 void SoundTriggerHalImpl::recognitionCallback(struct sound_trigger_recognition_event* halEvent, in recognitionCallback() argument 54 if (halEvent == NULL) { in recognitionCallback() 65 client->recognitionCallback(halEvent); in recognitionCallback() 434 ISoundTriggerHwCallback::ModelEvent* event, const struct sound_trigger_model_event* halEvent) { in convertSoundModelEventFromHal() argument 435 event->status = (ISoundTriggerHwCallback::SoundModelStatus)halEvent->status; in convertSoundModelEventFromHal() [all …]
|
D | SoundTriggerHalImpl.h | 54 virtual void recognitionCallback(struct sound_trigger_recognition_event* halEvent) = 0; 55 virtual void soundModelCallback(struct sound_trigger_model_event* halEvent) = 0; 65 const struct sound_trigger_phrase_recognition_event* halEvent); 68 const struct sound_trigger_recognition_event* halEvent); 70 const struct sound_trigger_model_event* halEvent); 140 void recognitionCallback(struct sound_trigger_recognition_event* halEvent) override; 141 void soundModelCallback(struct sound_trigger_model_event* halEvent) override; 166 static void soundModelCallback(struct sound_trigger_model_event* halEvent, void* cookie); 167 static void recognitionCallback(struct sound_trigger_recognition_event* halEvent, void* cookie);
|
/hardware/interfaces/broadcastradio/1.0/default/ |
D | Tuner.cpp | 33 void Tuner::onCallback(radio_hal_event_t *halEvent) in onCallback() argument 40 switch(halEvent->type) { in onCallback() 42 Utils::convertBandConfigFromHal(&config, &halEvent->config); in onCallback() 43 mCallback->configChange(Utils::convertHalResult(halEvent->status), config); in onCallback() 46 mCallback->antennaStateChange(halEvent->on); in onCallback() 49 Utils::convertProgramInfoFromHal(&info, &halEvent->info); in onCallback() 50 mCallback->tuneComplete(Utils::convertHalResult(halEvent->status), info); in onCallback() 55 if (radio_metadata_get_channel(halEvent->metadata, &channel, &sub_channel) == 0) { in onCallback() 56 Utils::convertMetaDataFromHal(metadata, halEvent->metadata); in onCallback() 61 mCallback->trafficAnnouncement(halEvent->on); in onCallback() [all …]
|
D | Tuner.h | 45 static void callback(radio_hal_event_t *halEvent, void *cookie); 46 void onCallback(radio_hal_event_t *halEvent);
|
/hardware/interfaces/soundtrigger/2.2/default/ |
D | SoundTriggerHw.cpp | 48 void soundModelCallback_(struct sound_trigger_model_event* halEvent, void* cookie) { in soundModelCallback_() argument 49 if (halEvent == NULL) { in soundModelCallback_() 60 if (halEvent->model != client->getHalHandle()) { in soundModelCallback_() 62 (int)halEvent->model, (int)client->getHalHandle()); in soundModelCallback_() 66 client->soundModelCallback(halEvent); in soundModelCallback_() 70 void recognitionCallback_(struct sound_trigger_recognition_event* halEvent, void* cookie) { in recognitionCallback_() argument 71 if (halEvent == NULL) { in recognitionCallback_() 83 client->recognitionCallback(halEvent); in recognitionCallback_() 458 const struct sound_trigger_model_event* halEvent) { in convertSoundModelEventFromHal() argument 459 event->status = (V2_0::ISoundTriggerHwCallback::SoundModelStatus)halEvent->status; in convertSoundModelEventFromHal() [all …]
|
D | SoundTriggerHw.h | 100 virtual void recognitionCallback(struct sound_trigger_recognition_event* halEvent) = 0; 101 virtual void soundModelCallback(struct sound_trigger_model_event* halEvent) = 0; 112 const struct sound_trigger_phrase_recognition_event* halEvent); 115 const struct sound_trigger_recognition_event* halEvent); 117 const struct sound_trigger_model_event* halEvent); 135 void recognitionCallback(struct sound_trigger_recognition_event* halEvent) override; 136 void soundModelCallback(struct sound_trigger_model_event* halEvent) override; 161 static void soundModelCallback(struct sound_trigger_model_event* halEvent, void* cookie); 162 static void recognitionCallback(struct sound_trigger_recognition_event* halEvent, void* cookie); 177 void recognitionCallback(struct sound_trigger_recognition_event* halEvent) override; [all …]
|
/hardware/interfaces/soundtrigger/2.1/default/ |
D | SoundTriggerHw.cpp | 149 struct sound_trigger_recognition_event* halEvent) { in recognitionCallback() argument 150 if (halEvent->type == SOUND_MODEL_TYPE_KEYPHRASE) { in recognitionCallback() 153 &event_2_0, reinterpret_cast<sound_trigger_phrase_recognition_event*>(halEvent)); in recognitionCallback() 166 convertRecognitionEventFromHal(&event.header, halEvent); in recognitionCallback() 176 struct sound_trigger_model_event* halEvent) { in soundModelCallback() argument 178 convertSoundModelEventFromHal(&event.header, halEvent); in soundModelCallback()
|
D | SoundTriggerHw.h | 116 void recognitionCallback(struct sound_trigger_recognition_event* halEvent) override; 117 void soundModelCallback(struct sound_trigger_model_event* halEvent) override;
|