Home
last modified time | relevance | path

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

/platform_testing/libraries/aoa-helper/src/com/android/helper/aoa/
DUsbDevice.java35 private final byte[] mDescriptor = new byte[18]; field in UsbDevice
43 mUsb.libusb_get_device_descriptor(devicePointer, mDescriptor); in UsbDevice()
97 if (!isValid() || mDescriptor[16] <= 0) { in getSerialNumber()
103 int length = mUsb.libusb_get_string_descriptor_ascii(mHandle, mDescriptor[16], data, 64); in getSerialNumber()
109 return Shorts.fromBytes(mDescriptor[9], mDescriptor[8]); in getVendorId()
114 return Shorts.fromBytes(mDescriptor[11], mDescriptor[10]); in getProductId()
DAoaDevice.java399 private final ImmutableList<Integer> mDescriptor; field in AoaDevice.HID
402 mDescriptor = ImmutableList.copyOf(descriptor); in HID()
410 return Bytes.toArray(mDescriptor); in getDescriptor()