/tools/tradefederation/core/src/com/android/tradefed/targetprep/sync/ |
D | DeviceSyncHelper.java | 89 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/ |
D | Sl4aClientTest.java | 132 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/ |
D | RootcanalForwarderPreparer.java | 96 String hostPort = testDevice.executeAdbCommand("forward", "tcp:0", port).trim(); in adbForward() 104 testDevice.executeAdbCommand("forward", "--remove", String.format("tcp:%s", hostPort)); in adbForwardRemove()
|
D | SideloadOtaTargetPreparer.java | 95 device.executeAdbCommand(mSideloadTimeout, SIDELOAD_CMD, filePath); in performDeviceUpdate()
|
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/ |
D | Sl4aClient.java | 188 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/ |
D | DeviceSyncHelperFuncTest.java | 61 String output = device.executeAdbCommand("shell", "cat", "/system/build.prop"); in printBuildProp()
|
D | IncrementalImageFuncTest.java | 93 getDevice().executeAdbCommand("enable-verity"); in teardown() 216 getDevice().executeAdbCommand("disable-verity"); in testBlockCompareUpdate()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | INativeDevice.java | 459 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/ |
D | RecoveryLogPreparer.java | 57 String outputRoot = device.executeAdbCommand("root"); in setUp()
|
D | ModulePusher.java | 182 String disableVerity = device.executeAdbCommand(DISABLE_VERITY); in setupDevice() 205 remount = device.executeAdbCommand(REMOUNT_COMMAND); in remountDevice()
|
D | InstallApexModuleTargetPreparer.java | 752 String log = device.executeAdbCommand(trainInstallCmd.toArray(new String[0])); in installTrain() 1058 String log = device.executeAdbCommand(installCmd.toArray(new String[0])); in installMultipleModuleUsingBundletool()
|
D | DeviceFlashPreparer.java | 343 String verityOutput = device.executeAdbCommand("enable-verity"); in setUp()
|
/tools/tradefederation/contrib/src/com/android/performance/tests/ |
D | EmulatorStartupPerfTest.java | 96 String result = device.executeAdbCommand("install", apkPath.toString()); in performIteration()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | InstallApexModuleTargetPreparerTest.java | 1186 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 …]
|
D | ModulePusherTest.java | 102 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/ |
D | PtsBotTest.java | 696 .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/ |
D | NativeDevice.java | 2385 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 …]
|
D | DeviceManager.java | 897 device.executeAdbCommand("emu", "kill"); in killEmulator()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AudioLoopbackTest.java | 520 getDevice().executeAdbCommand("logcat", "-c"); in runTest()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | DeviceManagerTest.java | 378 when(mMockTestDevice.executeAdbCommand("emu", "kill")).thenReturn(""); in testFreeDevice_emulator()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | TestInvocation.java | 1731 String output = device.executeAdbCommand("root"); in reportRecoveryLogs()
|