Home
last modified time | relevance | path

Searched refs:deviceDesc (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_UsbHostManager.cpp63 const usb_device_descriptor* deviceDesc = usb_device_get_device_descriptor(device); in usb_device_added() local
64 int classID = deviceDesc->bDeviceClass; in usb_device_added()
65 int subClassID = deviceDesc->bDeviceSubClass; in usb_device_added()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSerializer.cpp516 Element deviceDesc = new DeviceDescriptor(type, name, address, encodedFormats); in deserialize() local
529 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()
DHwModule.cpp284 sp <DeviceDescriptor> deviceDesc = in getModuleForDeviceType() local
286 if (deviceDesc) { in getModuleForDeviceType()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp953 sp<DeviceDescriptor> deviceDesc = in getOutputForAttrInt() local
957 *selectedDeviceId = deviceDesc != 0 ? deviceDesc->getId() : AUDIO_PORT_HANDLE_NONE; in getOutputForAttrInt()
3783 sp<DeviceDescriptor> deviceDesc; in setAudioPortConfig() local
3785 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() argument
6095 if (sourceDesc->srcDevice()->equals(deviceDesc)) { in cleanUpForDevice()
6107 source->ext.device.type == deviceDesc->type()) { in cleanUpForDevice()
[all …]
DAudioPolicyManager.h701 void cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc);