Searched refs:deviceDesc (Results 1 – 5 of 5) sorted by relevance
63 const usb_device_descriptor* deviceDesc = usb_device_get_device_descriptor(device); in usb_device_added() local64 int classID = deviceDesc->bDeviceClass; in usb_device_added()65 int subClassID = deviceDesc->bDeviceSubClass; in usb_device_added()
516 Element deviceDesc = new DeviceDescriptor(type, name, address, encodedFormats); in deserialize() local529 deviceDesc->setAudioProfiles(profiles); in deserialize()532 status = deserializeCollection<AudioGainTraits>(cur, &deviceDesc->mGains, NULL); in deserialize()537 deviceDesc->getName().c_str(), type, deviceDesc->address().c_str()); in deserialize()538 return deviceDesc; in deserialize()
284 sp <DeviceDescriptor> deviceDesc = in getModuleForDeviceType() local286 if (deviceDesc) { in getModuleForDeviceType()
953 sp<DeviceDescriptor> deviceDesc = in getOutputForAttrInt() local957 *selectedDeviceId = deviceDesc != 0 ? deviceDesc->getId() : AUDIO_PORT_HANDLE_NONE; in getOutputForAttrInt()3783 sp<DeviceDescriptor> deviceDesc; in setAudioPortConfig() local3785 deviceDesc = mAvailableInputDevices.getDeviceFromId(config->id); in setAudioPortConfig()3787 deviceDesc = mAvailableOutputDevices.getDeviceFromId(config->id); in setAudioPortConfig()3791 if (deviceDesc == NULL) { in setAudioPortConfig()3794 audioPortConfig = deviceDesc; in setAudioPortConfig()6091 void AudioPolicyManager::cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc) in cleanUpForDevice() argument6095 if (sourceDesc->srcDevice()->equals(deviceDesc)) { in cleanUpForDevice()6107 source->ext.device.type == deviceDesc->type()) { in cleanUpForDevice()[all …]
701 void cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc);