Home
last modified time | relevance | path

Searched refs:executeAdbCommand (Results 1 – 5 of 5) sorted by relevance

/platform_testing/libraries/audio-test-harness/tradefed/src/test/java/com/android/media/audiotestharness/tradefed/
DAudioTestHarnessHermeticServerManagingMetricCollectorTests.java163 verify(mTestDeviceOne).executeAdbCommand("reverse", "tcp:55555", "tcp:8080"); in onTestRunStart_triggersAdbPortReversalToServerPort()
164 verify(mTestDeviceTwo).executeAdbCommand("reverse", "tcp:55555", "tcp:8080"); in onTestRunStart_triggersAdbPortReversalToServerPort()
175 when(mTestDeviceOne.executeAdbCommand(any())).thenThrow(DeviceNotAvailableException.class); in onTestRunStart_throwsRuntimeException_portReversalFailure()
207 verify(mTestDeviceOne).executeAdbCommand("reverse", "--remove-all"); in onTestRunEnd_properlyUndoesPortReversals()
208 verify(mTestDeviceTwo).executeAdbCommand("reverse", "--remove-all"); in onTestRunEnd_properlyUndoesPortReversals()
215 when(mTestDeviceOne.executeAdbCommand(any())).thenThrow(DeviceNotAvailableException.class); in onTestRunEnd_executesWithoutException_failureToUndoPortReversal()
/platform_testing/libraries/audio-test-harness/tradefed/src/main/java/com/android/media/audiotestharness/tradefed/
DAudioTestHarnessHermeticServerManagingMetricCollector.java174 testDevice.executeAdbCommand( in reversePort()
193 testDevice.executeAdbCommand(REVERSE_COMMAND, UNDO_REVERSALS_ARGUMENT); in undoPortReversals()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DRootcanalUtils.java237 device.executeAdbCommand("forward", String.format("tcp:%d", testPort), "tcp:6111"); in enableRootcanal()
240 device.executeAdbCommand("forward", String.format("tcp:%d", hciPort), "tcp:6211"); in enableRootcanal()
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
DNotificationHelper.java107 executeAdbCommand(command); in enableNotificationViaAdb()
110 public void executeAdbCommand(String command) { in executeAdbCommand() method in NotificationHelper
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/tradefed/testtype/
DSecurityTestCase.java138 getDevice().executeAdbCommand("reconnect"); in tearDown()