Home
last modified time | relevance | path

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

/platform_testing/libraries/aoa-helper/src/com/android/helper/aoa/
DAoaDevice.java124 for (HID hid : HID.values()) { in registerHIDs()
130 hid.getId(), in registerHIDs()
131 hid.getDescriptor().length, in registerHIDs()
138 hid.getId(), in registerHIDs()
140 hid.getDescriptor())); in registerHIDs()
147 for (HID hid : HID.values()) { in unregisterHIDs()
149 OUTPUT, ACCESSORY_UNREGISTER_HID, hid.getId(), 0, new byte[0]); in unregisterHIDs()
287 private void send(HID hid, byte[] data, Duration pause) { in send() argument
289 mDelegate.controlTransfer(OUTPUT, ACCESSORY_SEND_HID_EVENT, hid.getId(), 0, data); in send()
295 OUTPUT, ACCESSORY_SEND_HID_EVENT, hid.getId(), 0, data); in send()
/platform_testing/libraries/aoa-helper/tests/src/com/android/helper/aoa/
DAoaDeviceTest.java334 private void verifyHidRequest(VerificationMode mode, AoaDevice.HID hid, byte... data) { in verifyHidRequest() argument
335 verifyHidRequest(null, mode, hid, data); in verifyHidRequest()
339 InOrder order, VerificationMode mode, AoaDevice.HID hid, byte... data) { in verifyHidRequest() argument
343 anyByte(), eq(ACCESSORY_SEND_HID_EVENT), eq(hid.getId()), anyInt(), eq(data)); in verifyHidRequest()