Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/targetprep/sync/
DDeviceSyncHelper.java89 String outputRemount = device.executeAdbCommand("remount", "-R"); in syncFiles()
92 device.executeAdbCommand("shell", "stop"); in syncFiles()
100 String output = device.executeAdbCommand(0L, env, "sync", "all"); in syncFiles()
119 device.executeAdbCommand(0L, "push", localToPush.getAbsolutePath(), "/"); in syncFiles()
127 String output = device.executeAdbCommand("reboot"); in syncFiles()
/tools/tradefederation/core/javatests/com/android/tradefed/util/sl4a/
DSl4aClientTest.java132 when(mMockDevice.executeAdbCommand( in setupStartExpectation()
137 when(mMockDevice.executeAdbCommand("forward", "--list")).thenReturn(""); in setupStartExpectation()
138 when(mMockDevice.executeAdbCommand("forward", "--remove", "tcp:" + mDeviceServer.getPort())) in setupStartExpectation()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DRootcanalForwarderPreparer.java96 String hostPort = testDevice.executeAdbCommand("forward", "tcp:0", port).trim(); in adbForward()
104 testDevice.executeAdbCommand("forward", "--remove", String.format("tcp:%s", hostPort)); in adbForwardRemove()
DSideloadOtaTargetPreparer.java95 device.executeAdbCommand(mSideloadTimeout, SIDELOAD_CMD, filePath); in performDeviceUpdate()
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/
DSl4aClient.java188 mDevice.executeAdbCommand("forward", "tcp:" + mHostPort, "tcp:" + mDeviceSidePort); in open()
189 String res = mDevice.executeAdbCommand("forward", "--list"); in open()
280 mDevice.executeAdbCommand("forward", "--remove", "tcp:" + mHostPort); in close()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/sync/
DDeviceSyncHelperFuncTest.java61 String output = device.executeAdbCommand("shell", "cat", "/system/build.prop"); in printBuildProp()
DIncrementalImageFuncTest.java93 getDevice().executeAdbCommand("enable-verity"); in teardown()
216 getDevice().executeAdbCommand("disable-verity"); in testBlockCompareUpdate()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java459 public String executeAdbCommand(String... commandArgs) throws DeviceNotAvailableException; in executeAdbCommand() method
474 public String executeAdbCommand(long timeout, String... commandArgs) in executeAdbCommand() method
491 public String executeAdbCommand(long timeout, Map<String, String> envMap, String... commandArgs) in executeAdbCommand() method
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DRecoveryLogPreparer.java57 String outputRoot = device.executeAdbCommand("root"); in setUp()
DModulePusher.java182 String disableVerity = device.executeAdbCommand(DISABLE_VERITY); in setupDevice()
205 remount = device.executeAdbCommand(REMOUNT_COMMAND); in remountDevice()
DInstallApexModuleTargetPreparer.java752 String log = device.executeAdbCommand(trainInstallCmd.toArray(new String[0])); in installTrain()
1058 String log = device.executeAdbCommand(installCmd.toArray(new String[0])); in installMultipleModuleUsingBundletool()
DDeviceFlashPreparer.java343 String verityOutput = device.executeAdbCommand("enable-verity"); in setUp()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DEmulatorStartupPerfTest.java96 String result = device.executeAdbCommand("install", apkPath.toString()); in performIteration()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparerTest.java1186 when(mMockDevice.executeAdbCommand(trainInstallCmd.toArray(new String[0]))) in testSetupAndTearDown_ApkAndApks()
1214 verify(mMockDevice, times(1)).executeAdbCommand(trainInstallCmd.toArray(new String[0])); in testSetupAndTearDown_ApkAndApks()
1293 when(mMockDevice.executeAdbCommand(trainInstallCmd.toArray(new String[0]))) in testSetupAndTearDown_InstallApkAndApexOnQ()
1303 verify(mMockDevice, times(1)).executeAdbCommand(trainInstallCmd.toArray(new String[0])); in testSetupAndTearDown_InstallApkAndApexOnQ()
1629 when(mMockDevice.executeAdbCommand(trainInstallCmd.toArray(new String[0]))) in testInstallUsingBundletool()
1665 verify(mMockDevice, times(1)).executeAdbCommand(trainInstallCmd.toArray(new String[0])); in testInstallUsingBundletool()
1737 when(mMockDevice.executeAdbCommand(trainInstallCmd.toArray(new String[0]))) in testInstallUsingBundletool_AbsolutePath()
1773 verify(mMockDevice, times(1)).executeAdbCommand(trainInstallCmd.toArray(new String[0])); in testInstallUsingBundletool_AbsolutePath()
1848 when(mMockDevice.executeAdbCommand(trainInstallCmd.toArray(new String[0]))) in testInstallUsingBundletool_setStagedReadyTimeout()
1884 verify(mMockDevice, times(1)).executeAdbCommand(trainInstallCmd.toArray(new String[0])); in testInstallUsingBundletool_setStagedReadyTimeout()
[all …]
DModulePusherTest.java102 when(mMockDevice.executeAdbCommand("disable-verity")).thenReturn("disabled"); in setUp()
103 when(mMockDevice.executeAdbCommand("remount")).thenReturn("remount succeeded"); in setUp()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/pandora/
DPtsBotTest.java696 .executeAdbCommand( in adbForwardPort()
707 .executeAdbCommand( in adbForwardVsockPort()
716 testDevice.executeAdbCommand("forward", "--remove", String.format("tcp:%s", hostPort)); in adbForwardRemovePort()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java2385 public String executeAdbCommand(String... cmdArgs) throws DeviceNotAvailableException { in executeAdbCommand() method in NativeDevice
2386 return executeAdbCommand(getCommandTimeout(), cmdArgs); in executeAdbCommand()
2391 public String executeAdbCommand(long timeout, String... cmdArgs) in executeAdbCommand() method in NativeDevice
2393 return executeAdbCommand(getCommandTimeout(), new HashMap<>(), cmdArgs); in executeAdbCommand()
2398 public String executeAdbCommand(long timeout, Map<String, String> envMap, String... cmdArgs) in executeAdbCommand() method in NativeDevice
4041 String output = executeAdbCommand("root"); in enableAdbRoot()
4084 String output = executeAdbCommand("unroot"); in disableAdbRoot()
4541 executeAdbCommand("tcpip", port); in switchToAdbTcp()
4551 executeAdbCommand("usb"); in switchToAdbUsb()
5020 executeAdbCommand("disable-verity"); in remountSystemWritable()
[all …]
DDeviceManager.java897 device.executeAdbCommand("emu", "kill"); in killEmulator()
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackTest.java520 getDevice().executeAdbCommand("logcat", "-c"); in runTest()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DDeviceManagerTest.java378 when(mMockTestDevice.executeAdbCommand("emu", "kill")).thenReturn(""); in testFreeDevice_emulator()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DTestInvocation.java1731 String output = device.executeAdbCommand("root"); in reportRecoveryLogs()