Home
last modified time | relevance | path

Searched refs:halProperties (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/services/radio/
DHidlUtils.cpp78 const Properties *halProperties) in convertPropertiesFromHal() argument
80 properties->class_id = static_cast<radio_class_t>(halProperties->classId); in convertPropertiesFromHal()
81 strlcpy(properties->implementor, halProperties->implementor.c_str(), RADIO_STRING_LEN_MAX); in convertPropertiesFromHal()
82 strlcpy(properties->product, halProperties->product.c_str(), RADIO_STRING_LEN_MAX); in convertPropertiesFromHal()
83 strlcpy(properties->version, halProperties->version.c_str(), RADIO_STRING_LEN_MAX); in convertPropertiesFromHal()
84 strlcpy(properties->serial, halProperties->serial.c_str(), RADIO_STRING_LEN_MAX); in convertPropertiesFromHal()
85 properties->num_tuners = halProperties->numTuners; in convertPropertiesFromHal()
86 properties->num_audio_sources = halProperties->numAudioSources; in convertPropertiesFromHal()
87 properties->supports_capture = halProperties->supportsCapture; in convertPropertiesFromHal()
88 properties->num_bands = halProperties->bands.size(); in convertPropertiesFromHal()
[all …]
DRadioService.cpp64 struct radio_hal_properties halProperties; in onFirstRef() local
65 int rc = dev->getProperties(&halProperties); in onFirstRef()
74 convertProperties(&properties, &halProperties); in onFirstRef()
188 const radio_hal_properties_t *halProperties) in convertProperties() argument
191 properties->class_id = halProperties->class_id; in convertProperties()
192 strlcpy(properties->implementor, halProperties->implementor, in convertProperties()
194 strlcpy(properties->product, halProperties->product, in convertProperties()
196 strlcpy(properties->version, halProperties->version, in convertProperties()
198 strlcpy(properties->serial, halProperties->serial, in convertProperties()
200 properties->num_tuners = halProperties->num_tuners; in convertProperties()
[all …]
DHidlUtils.h37 const Properties *halProperties);
DRadioHalHidl.cpp50 Properties halProperties; in getProperties() local
56 halProperties = properties; in getProperties()
61 HidlUtils::convertPropertiesFromHal(properties, &halProperties); in getProperties()
DRadioService.h210 const radio_hal_properties_t *halProperties);
/frameworks/av/services/soundtrigger/
DSoundTriggerHalHidl.cpp45 ISoundTriggerHw::Properties halProperties; in getProperties() local
52 halProperties = res; in getProperties()
59 convertPropertiesFromHal(properties, &halProperties); in getProperties()
320 const ISoundTriggerHw::Properties *halProperties) in convertPropertiesFromHal() argument
323 halProperties->implementor.c_str(), SOUND_TRIGGER_MAX_STRING_LEN); in convertPropertiesFromHal()
325 halProperties->description.c_str(), SOUND_TRIGGER_MAX_STRING_LEN); in convertPropertiesFromHal()
326 properties->version = halProperties->version; in convertPropertiesFromHal()
327 convertUuidFromHal(&properties->uuid, &halProperties->uuid); in convertPropertiesFromHal()
328 properties->max_sound_models = halProperties->maxSoundModels; in convertPropertiesFromHal()
329 properties->max_key_phrases = halProperties->maxKeyPhrases; in convertPropertiesFromHal()
[all …]
DSoundTriggerHalHidl.h122 const ISoundTriggerHw::Properties *halProperties);