Searched refs:mHandle (Results 1 – 2 of 2) sorted by relevance
36 private Pointer mHandle; field in UsbDevice48 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()
46 private Pointer mHandle; field in UsbDeviceTest53 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()