Lines Matching defs:halProperties
176 const radio_hal_properties_t *halProperties)
178 properties->classId = static_cast<Class>(halProperties->class_id);
179 properties->implementor.setToExternal(halProperties->implementor, strlen(halProperties->implementor));
180 properties->product.setToExternal(halProperties->product, strlen(halProperties->product));
181 properties->version.setToExternal(halProperties->version, strlen(halProperties->version));
182 properties->serial.setToExternal(halProperties->serial, strlen(halProperties->serial));
183 properties->numTuners = halProperties->num_tuners;
184 properties->numAudioSources = halProperties->num_audio_sources;
185 properties->supportsCapture = halProperties->supports_capture;
188 new BandConfig[halProperties->num_bands];
189 for (size_t i = 0; i < halProperties->num_bands; i++) {
190 convertBandConfigFromHal(&bands[i], &halProperties->bands[i]);
192 properties->bands.setToExternal(bands, halProperties->num_bands);
194 properties->bands.resize(halProperties->num_bands);