Home
last modified time | relevance | path

Searched refs:deviceDescriptor (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java149 UsbDeviceDescriptor deviceDescriptor = parser.getDeviceDescriptor(); in dump() local
152 deviceDescriptor.getVendorID()); in dump()
154 deviceDescriptor.getProductID()); in dump()
169 UsbDeviceDescriptor deviceDescriptor = parser.getDeviceDescriptor(); in dumpShort() local
171 pw.println("manfacturer:0x" + Integer.toHexString(deviceDescriptor.getVendorID()) in dumpShort()
172 + " product:" + Integer.toHexString(deviceDescriptor.getProductID())); in dumpShort()
332 UsbDeviceDescriptor deviceDescriptor = descriptorParser.getDeviceDescriptor(); in logUsbDevice() local
333 if (deviceDescriptor != null) { in logUsbDevice()
334 vid = deviceDescriptor.getVendorID(); in logUsbDevice()
335 pid = deviceDescriptor.getProductID(); in logUsbDevice()
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/tree/
DUsbDescriptorsDeviceNode.java38 public UsbDescriptorsDeviceNode(UsbDeviceDescriptor deviceDescriptor) { in UsbDescriptorsDeviceNode() argument
39 mDeviceDescriptor = deviceDescriptor; in UsbDescriptorsDeviceNode()
DUsbDescriptorsTree.java62 private void addDeviceDescriptor(UsbDeviceDescriptor deviceDescriptor) { in addDeviceDescriptor() argument
63 mDeviceNode = new UsbDescriptorsDeviceNode(deviceDescriptor); in addDeviceDescriptor()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp4753 sp<DeviceDescriptor> deviceDescriptor = mAvailableOutputDevices.getDeviceFromId(portId); in getSupportedMixerAttributes() local
4754 if (deviceDescriptor == nullptr) { in getSupportedMixerAttributes()
4758 if (!audio_is_usb_out_device(deviceDescriptor->type())) { in getSupportedMixerAttributes()
4760 deviceDescriptor->type()); in getSupportedMixerAttributes()
4765 if (curProfile->supportsDevice(deviceDescriptor)) { in getSupportedMixerAttributes()
4787 sp<DeviceDescriptor> deviceDescriptor = mAvailableOutputDevices.getDeviceFromId(portId); in setPreferredMixerAttributes() local
4788 if (deviceDescriptor == nullptr) { in setPreferredMixerAttributes()
4792 if (!audio_is_usb_out_device(deviceDescriptor->type())) { in setPreferredMixerAttributes()
4794 __func__, portId, deviceDescriptor->type()); in setPreferredMixerAttributes()
4803 DeviceVector devices(deviceDescriptor); in setPreferredMixerAttributes()
[all …]