Home
last modified time | relevance | path

Searched refs:AoaDevice (Results 1 – 6 of 6) sorted by relevance

/platform_testing/libraries/aoa-helper/tests/src/com/android/helper/aoa/
DAoaDeviceTest.java18 import static com.android.helper.aoa.AoaDevice.ACCESSORY_REGISTER_HID;
19 import static com.android.helper.aoa.AoaDevice.ACCESSORY_SEND_HID_EVENT;
20 import static com.android.helper.aoa.AoaDevice.ACCESSORY_SET_HID_REPORT_DESC;
21 import static com.android.helper.aoa.AoaDevice.ACCESSORY_START;
22 import static com.android.helper.aoa.AoaDevice.ACCESSORY_START_MAX_RETRIES;
23 import static com.android.helper.aoa.AoaDevice.ACCESSORY_UNREGISTER_HID;
24 import static com.android.helper.aoa.AoaDevice.DEVICE_NOT_FOUND;
25 import static com.android.helper.aoa.AoaDevice.GOOGLE_VID;
26 import static com.android.helper.aoa.AoaDevice.LONG_CLICK;
27 import static com.android.helper.aoa.AoaDevice.SYSTEM_BACK;
[all …]
DUsbHelperTest.java18 import static com.android.helper.aoa.AoaDevice.GOOGLE_VID;
/platform_testing/libraries/aoa-helper/src/com/android/helper/aoa/
DUsbDevice.java18 import static com.android.helper.aoa.AoaDevice.ACCESSORY_GET_PROTOCOL;
19 import static com.android.helper.aoa.AoaDevice.INPUT;
DAoaDevice.java45 public class AoaDevice implements AutoCloseable { class
90 AoaDevice(@Nonnull UsbHelper helper, @Nonnull UsbDevice delegate) { in AoaDevice() method in AoaDevice
273 send(AoaDevice.HID.SYSTEM, new byte[] {SYSTEM_WAKE}, ACTION_DELAY); in wakeUp()
278 send(AoaDevice.HID.SYSTEM, new byte[] {SYSTEM_HOME}, ACTION_DELAY); in goHome()
283 send(AoaDevice.HID.SYSTEM, new byte[] {SYSTEM_BACK}, ACTION_DELAY); in goBack()
DUsbHelper.java175 public AoaDevice getAoaDevice(@Nonnull String serialNumber) { in getAoaDevice()
187 public AoaDevice getAoaDevice(@Nonnull String serialNumber, @Nonnull Duration timeout) { in getAoaDevice()
189 return device != null && device.isAoaCompatible() ? new AoaDevice(this, device) : null; in getAoaDevice()
/platform_testing/libraries/aoa-helper/
DREADME.md8 AoaDevice device = manager.getDevice("SERIAL");