Home
last modified time | relevance | path

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

/platform_testing/libraries/aoa-helper/src/com/android/helper/aoa/
DUsbDevice.java36 private Pointer mHandle; field in UsbDevice
48 mHandle = handle.getValue(); in UsbDevice()
69 checkNotNull(mHandle), in controlTransfer()
86 return mUsb.libusb_reset_device(checkNotNull(mHandle)); in reset()
91 return mHandle != null; in isValid()
103 int length = mUsb.libusb_get_string_descriptor_ascii(mHandle, mDescriptor[16], data, 64); in getSerialNumber()
126 mUsb.libusb_close(mHandle); in close()
127 mHandle = null; in close()
/platform_testing/libraries/aoa-helper/tests/src/com/android/helper/aoa/
DUsbDeviceTest.java46 private Pointer mHandle; field in UsbDeviceTest
53 mHandle = new Memory(1); in setUp()
63 handle.setValue(mHandle); in setUp()
88 verify(mUsb).libusb_control_transfer(eq(mHandle), in testControlTransfer()
104 verify(mUsb).libusb_reset_device(eq(mHandle)); in testReset()
118 eq(mHandle), in testIsAoaCompatible()
131 eq(mHandle), in testIsAoaCompatible()