Home
last modified time | relevance | path

Searched refs:mDeviceDescriptor (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptorParser.java37 private UsbDeviceDescriptor mDeviceDescriptor; field in UsbDescriptorParser
54 mDeviceDescriptor = (UsbDeviceDescriptor) descriptors.get(0); in UsbDescriptorParser()
78 if (mDeviceDescriptor != null) { in getUsbSpec()
79 return mDeviceDescriptor.getSpec(); in getUsbSpec()
124 descriptor = mDeviceDescriptor = new UsbDeviceDescriptor(length, type); in allocDescriptor()
129 if (mDeviceDescriptor != null) { in allocDescriptor()
130 mDeviceDescriptor.addConfigDescriptor(mCurConfigDescriptor); in allocDescriptor()
202 return mDeviceDescriptor; in getDeviceDescriptor()
264 return mDeviceDescriptor != null ? mDeviceDescriptor.getSpec() : 0; in getParsingSpec()
275 if (mDeviceDescriptor == null) { in toAndroidUsbDevice()
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/tree/
DUsbDescriptorsDeviceNode.java30 private final UsbDeviceDescriptor mDeviceDescriptor; field in UsbDescriptorsDeviceNode
39 mDeviceDescriptor = deviceDescriptor; in UsbDescriptorsDeviceNode()
51 mDeviceDescriptor.report(canvas); in report()