Lines Matching refs:halEvent
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()
64 Utils::convertProgramInfoFromHal(&info, &halEvent->info); in onCallback()
68 mCallback->emergencyAnnouncement(halEvent->on); in onCallback()
79 void Tuner::callback(radio_hal_event_t *halEvent, void *cookie) in callback() argument
84 tuner->onCallback(halEvent); in callback()