Home
last modified time | relevance | path

Searched refs:usb (Results 1 – 14 of 14) sorted by relevance

/tools/test/connectivity/acts/framework/tests/controllers/monsoon_lib/api/
Dmonsoon_test.py166 monsoon.usb(state_string)
174 monsoon.usb(1)
182 monsoon.usb('DEADBEEF')
188 monsoon.usb(9001)
196 monsoon.usb(1)
205 monsoon.usb(existing_state)
/tools/tradefederation/core/aoa_helper/
DREADME.md2 …an Android device](https://developer.android.com/guide/topics/connectivity/usb/) using [Android Op…
7 try (UsbHelper usb = new UsbHelper();
8 AoaDevice device = usb.getAoaDevice(serialNumber)) {
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/
DUsbResetMultiDeviceRecovery.java70 try (UsbHelper usb = getUsbHelper()) { in recoverDevices() argument
73 Set<String> deviceSerials = usb.getSerialNumbers(/* AOAv2-compatible */ true); in recoverDevices()
91 try (UsbDevice device = usb.getDevice(serial)) { in recoverDevices()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandLauncher.java409 UsbHelper usb = null; in resetDevices() local
416 if (usb == null) { in resetDevices()
417 usb = new UsbHelper(); in resetDevices()
419 resetUsbPort(usb, device.getSerialNumber()); in resetDevices()
425 if (usb != null) { in resetDevices()
426 usb.close(); in resetDevices()
432 private void resetUsbPort(UsbHelper usb, String serial) { in resetUsbPort() argument
433 try (UsbDevice device = usb.getDevice(serial)) { in resetUsbPort()
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/
Dmonsoon.py107 def usb(self, state): member in BaseMonsoon
274 self.usb(PassthroughStates.OFF)
276 self.usb(PassthroughStates.ON)
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DUsbResetTest.java44 try (UsbHelper usb = getUsbHelper()) { in run() argument
46 try (UsbDevice usbDevice = usb.getDevice(serial)) { in run()
/tools/test/connectivity/acts/framework/acts/controllers/
Dpower_monitor.py145 self.monsoon.usb('on')
166 self.monsoon.usb('off')
/tools/tradefederation/core/aoa_helper/src/com/android/helper/aoa/
DUsbHelper.java60 UsbHelper(@Nonnull IUsbNative usb) { in UsbHelper() argument
61 mUsb = usb; in UsbHelper()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/
DPowerGnssBaseTest.py138 self.monsoons[0].usb(PassthroughStates.OFF)
141 self.monsoons[0].usb(PassthroughStates.ON)
/tools/test/connectivity/acts/framework/acts/bin/
Dmonsoon.py44 mon.usb(args.usbpassthrough)
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiTetheringPowerTest.py56 asserts.assert_true(self.mon.usb("auto"),
73 self.mon.usb("on")
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DAoaTargetPreparer.java162 try (UsbHelper usb = getUsbHelper(); in configure() argument
163 AoaDevice device = usb.getAoaDevice(serialNumber, mDeviceTimeout)) { in configure()
/tools/tradefederation/core/src/com/android/tradefed/device/
DWaitDeviceRecovery.java520 try (UsbHelper usb = getUsbHelper()) { in attemptDeviceUnavailableRecovery() argument
522 try (UsbDevice usbDevice = usb.getDevice(serial)) { in attemptDeviceUnavailableRecovery()
/tools/trebuchet/trebuchet/user-switch-analyzer/
DREADME.md43 com.android.server.usb.UsbService$Lifecycle 1.021 ms