Lines Matching refs:halProperties
171 const radio_hal_properties_t *halProperties) in convertPropertiesFromHal() argument
173 properties->classId = static_cast<Class>(halProperties->class_id); in convertPropertiesFromHal()
174 …properties->implementor.setToExternal(halProperties->implementor, strlen(halProperties->implemento… in convertPropertiesFromHal()
175 properties->product.setToExternal(halProperties->product, strlen(halProperties->product)); in convertPropertiesFromHal()
176 properties->version.setToExternal(halProperties->version, strlen(halProperties->version)); in convertPropertiesFromHal()
177 properties->serial.setToExternal(halProperties->serial, strlen(halProperties->serial)); in convertPropertiesFromHal()
178 properties->numTuners = halProperties->num_tuners; in convertPropertiesFromHal()
179 properties->numAudioSources = halProperties->num_audio_sources; in convertPropertiesFromHal()
180 properties->supportsCapture = halProperties->supports_capture; in convertPropertiesFromHal()
183 new BandConfig[halProperties->num_bands]; in convertPropertiesFromHal()
184 for (size_t i = 0; i < halProperties->num_bands; i++) { in convertPropertiesFromHal()
185 convertBandConfigFromHal(&bands[i], &halProperties->bands[i]); in convertPropertiesFromHal()
187 properties->bands.setToExternal(bands, halProperties->num_bands); in convertPropertiesFromHal()
189 properties->bands.resize(halProperties->num_bands); in convertPropertiesFromHal()