Lines Matching defs:properties
30 #include <cutils/properties.h>
80 ALOGE("could not read implementation properties");
84 radio_properties_t properties;
85 properties.handle =
88 ALOGI("loaded default module %s, handle %d", properties.product, properties.handle);
90 convertProperties(&properties, &halProperties);
91 sp<Module> module = new Module(dev, properties);
92 mModules.add(properties.handle, module);
102 status_t RadioService::listModules(struct radio_properties *properties,
108 if (numModules == NULL || (*numModules != 0 && properties == NULL)) {
114 properties[i] = mModules.valueAt(i)->properties();
206 void RadioService::convertProperties(radio_properties_t *properties,
209 memset(properties, 0, sizeof(struct radio_properties));
210 properties->class_id = halProperties->class_id;
211 strlcpy(properties->implementor, halProperties->implementor,
213 strlcpy(properties->product, halProperties->product,
215 strlcpy(properties->version, halProperties->version,
217 strlcpy(properties->serial, halProperties->serial,
219 properties->num_tuners = halProperties->num_tuners;
220 properties->num_audio_sources = halProperties->num_audio_sources;
221 properties->supports_capture = halProperties->supports_capture;
246 memcpy(&properties->bands[properties->num_bands++],
388 RadioService::Module::Module(radio_hw_device* hwDevice, radio_properties properties)
389 : mHwDevice(hwDevice), mProperties(properties), mMute(true)
425 // The numbers of tuners and sources are indicated in the module properties.