Home
last modified time | relevance | path

Searched refs:controlTransfer (Results 1 – 4 of 4) sorted by relevance

/platform_testing/libraries/aoa-helper/src/com/android/helper/aoa/
DUsbDevice.java56 public int controlTransfer(byte requestType, byte request, int value, int index, byte[] data) { in controlTransfer() method in UsbDevice
58 return controlTransfer(requestType, request, value, index, data, timeout); in controlTransfer()
66 public int controlTransfer( in controlTransfer() method in UsbDevice
119 return isValid() && controlTransfer(INPUT, ACCESSORY_GET_PROTOCOL, 0, 0, new byte[2]) >= 2; in isAoaCompatible()
DAoaDevice.java114 mDelegate.controlTransfer(OUTPUT, ACCESSORY_START, 0, 0, new byte[0])); in initialize()
127 mDelegate.controlTransfer( in registerHIDs()
135 mDelegate.controlTransfer( in registerHIDs()
148 mDelegate.controlTransfer( in unregisterHIDs()
289 mDelegate.controlTransfer(OUTPUT, ACCESSORY_SEND_HID_EVENT, hid.getId(), 0, data); in send()
294 mDelegate.controlTransfer( in send()
/platform_testing/libraries/aoa-helper/tests/src/com/android/helper/aoa/
DUsbDeviceTest.java85 mDevice.controlTransfer((byte) 1, (byte) 2, 3, 4, data); in testControlTransfer()
98 mDevice.controlTransfer((byte) 1, (byte) 2, 3, 4, new byte[0]); in testControlTransfer_closed()
DAoaDeviceTest.java290 when(mDelegate.controlTransfer(anyByte(), anyByte(), anyInt(), anyInt(), any())) in testRetryAction()
331 .controlTransfer(anyByte(), eq(request), anyInt(), anyInt(), any()); in verifyRequest()
342 verifier.controlTransfer( in verifyHidRequest()
354 .controlTransfer( in verifyTouches()