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/tree/
DUsbDescriptorsDeviceNode.java30 private final UsbDeviceDescriptor mDeviceDescriptor; field in UsbDescriptorsDeviceNode
39 mDeviceDescriptor = deviceDescriptor; in UsbDescriptorsDeviceNode()
51 mDeviceDescriptor.report(canvas); in report()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptorParser.java40 private UsbDeviceDescriptor mDeviceDescriptor; field in UsbDescriptorParser
63 mDeviceDescriptor = (UsbDeviceDescriptor) descriptors.get(0); in UsbDescriptorParser()
87 if (mDeviceDescriptor != null) { in getUsbSpec()
88 return mDeviceDescriptor.getSpec(); in getUsbSpec()
143 descriptor = mDeviceDescriptor = new UsbDeviceDescriptor(length, type); in allocDescriptor()
148 if (mDeviceDescriptor != null) { in allocDescriptor()
149 mDeviceDescriptor.addConfigDescriptor(mCurConfigDescriptor); in allocDescriptor()
288 return mDeviceDescriptor; in getDeviceDescriptor()
364 return mDeviceDescriptor != null ? mDeviceDescriptor.getSpec() : 0; in getParsingSpec()
375 if (mDeviceDescriptor == null) { in toAndroidUsbDeviceBuilder()
[all …]