HomeSort by relevance Sort by last modified time
    Searched refs:executeShellCommand (Results 26 - 50 of 326) sorted by null

12 3 4 5 6 7 8 91011>>

  /cts/hostsidetests/cpptools/src/com/android/cts/cpptools/
RunAsHostTest.java 35 String runAsResult = getDevice().executeShellCommand("run-as android.cpptools.app id -u");
  /cts/hostsidetests/security/src/android/cts/security/
PerfEventParanoidTest.java 39 String output = mDevice.executeShellCommand(cmd);
  /cts/hostsidetests/systemui/src/android/host/systemui/
ActiveTileServiceTest.java 51 getDevice().executeShellCommand(REQUEST_LISTENING);
BaseTileServiceTest.java 102 getDevice().executeShellCommand(cmd);
128 String features = getDevice().executeShellCommand("pm list features");
  /cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
BaseDevicePolicyTest.java 100 mPackageVerifier = getDevice().executeShellCommand(
102 getDevice().executeShellCommand("settings put global package_verifier_enable 0");
118 getDevice().executeShellCommand("settings put global package_verifier_enable "
142 executeShellCommand("am force-stop --user " + userId + " " + packageName);
145 private void executeShellCommand(final String command) throws Exception {
147 String commandOutput = getDevice().executeShellCommand(command);
158 executeShellCommand("am switch-user " + userId);
167 String commandOutput = getDevice().executeShellCommand(command);
195 + getDevice().executeShellCommand(stopUserCommand));
204 getDevice().executeShellCommand(stopUserCommand)
    [all...]
BaseLauncherAppsTest.java 54 CLog.d("Output for command " + command + ": " + getDevice().executeShellCommand(command));
EphemeralUserTest.java 114 String commandOutput = getDevice().executeShellCommand(command);
121 String commandOutput = getDevice().executeShellCommand("dumpsys user");
  /cts/hostsidetests/services/activitymanager/src/android/server/cts/
ActivityManagerConfigChangeTests.java 57 executeShellCommand(getAmStartCmd(activityName));
77 executeShellCommand(getAmStartCmd(activityName));
ActivityManagerPinnedStackTests.java 49 executeShellCommand(getAmStartCmd(startActivity));
51 executeShellCommand(AM_MOVE_TOP_ACTIVITY_TO_PINNED_STACK_COMMAND);
ActivityManagerReplaceWindowTests.java 55 executeShellCommand(amStartCmd);
72 executeShellCommand(cmd);
  /cts/tests/tests/calllog/src/android/calllog/cts/
TestUtils.java 39 public static String executeShellCommand(Instrumentation instrumentation,
60 instrumentation.getUiAutomation().executeShellCommand(command);
  /cts/hostsidetests/atrace/src/android/atrace/cts/
AtraceHostTest.java 157 String output = getDevice().executeShellCommand("atrace");
172 String output = getDevice().executeShellCommand("atrace --list_categories");
213 getDevice().executeShellCommand("atrace --async_stop " + atraceArgs);
214 getDevice().executeShellCommand("atrace --async_start " + atraceArgs);
215 getDevice().executeShellCommand("am start " + TEST_PKG);
216 getDevice().executeShellCommand("sleep 1");
217 atraceOutput = getDevice().executeShellCommand("atrace --async_stop " + atraceArgs);
  /platform_testing/tests/functional/applinktests/src/com/android/functional/applinktests/
AppLinkTests.java 192 executeShellCommand("pm clear " + TEST_PKG_NAME);
193 executeShellCommand("pm clear " + YOUTUBE_PKG_NAME);
194 executeShellCommand("pm set-app-link " + TEST_PKG_NAME + " undefined");
195 executeShellCommand("pm set-app-link " + YOUTUBE_PKG_NAME + " always");
204 String out = executeShellCommand(String.format(
238 return executeShellCommand(String.format("pm get-app-link %s", pkgName));
243 executeShellCommand(String.format("pm set-app-link %s %s", pkgName, valueToBeSet));
247 private String executeShellCommand(String command) {
251 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand(command);
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
VMHostTest.java 107 device.executeShellCommand(String.format("rm -r %s", VM_TEST_TEMP_DIR));
126 device.executeShellCommand(String.format("mkdir %s", VM_TEST_TEMP_DIR));
127 device.executeShellCommand(String.format("mkdir %s", remoteFilePath));
  /cts/tools/vm-tests-tf/targetprep/src/android/core/vm/targetprep/
VmTestPreparer.java 114 device.executeShellCommand(String.format("rm -r %s", VM_TEMP_DIR));
133 device.executeShellCommand(String.format("mkdir %s", VM_TEMP_DIR));
134 device.executeShellCommand(String.format("mkdir %s", remoteFilePath));
  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
PackageDisabler.java 42 device.executeShellCommand("pm disable-user " + mPackageName);
  /cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
Utils.java 109 final String output = device.executeShellCommand("pm get-max-users");
143 final String output = device.executeShellCommand("pm create-user " + name);
148 device.executeShellCommand("am start-user " + userId);
161 final String output = device.executeShellCommand("pm remove-user " + userId);
  /cts/hostsidetests/sample/src/android/sample/cts/
SampleHostTest.java 64 device.executeShellCommand(START_COMMAND);
  /cts/hostsidetests/security/src/android/security/cts/
EncryptionHostTest.java 40 mUserDebug = "userdebug".equals(mDevice.executeShellCommand("getprop ro.build.type").trim());
62 mDevice.executeShellCommand("echo " + uuid + " > /data/local/tmp/" + uuid);
63 String uuidReturned = mDevice.executeShellCommand("cat /data/local/tmp/" + uuid).trim();
67 String fstabName = mDevice.executeShellCommand("ls /fstab.*");
68 String[] fstab = mDevice.executeShellCommand("cat " + fstabName).split("\n");
81 String result = mDevice.executeShellCommand("grep " + uuid + " " + path + " ").trim();
85 mDevice.executeShellCommand("rm /data/local/tmp/" + uuid);
  /platform_testing/tests/androidbvt/src/com/android/androidbvt/
SysUIMultiUserTests.java 67 cmdOut = mABvtHelper.executeShellCommand("pm list users");
71 cmdOut = mABvtHelper.executeShellCommand("pm create-user test");
86 cmdOut = mABvtHelper.executeShellCommand("pm list users");
120 cmdOut = mABvtHelper.executeShellCommand("pm remove-user " + secondUserId);
  /platform_testing/tests/perf/PowerPerfTest/src/com/android/powerperf/tests/
PowerPerfTest.java 49 String result = getUiDevice().executeShellCommand(mScriptFilePath);
  /cts/hostsidetests/aadb/src/android/aadb/cts/
TestDeviceFuncTest.java 74 * {@link TestDevice#executeShellCommand(String)}.
84 * Verify that a simple {@link TestDevice#executeShellCommand(String)} command is successful.
88 final String output = mTestDevice.executeShellCommand("ls /");
109 mTestDevice.executeShellCommand(String.format("rm %s", deviceFilePath));
123 mTestDevice.executeShellCommand(String.format("rm %s", deviceFilePath));
147 mTestDevice.executeShellCommand(String.format("rm %s", deviceFilePath));
168 mTestDevice.executeShellCommand(String.format("rm %s", deviceFilePath));
271 String origTmpFileStamp = mTestDevice.executeShellCommand(String.format("ls -l %s",
282 String unchangedTmpFileStamp = mTestDevice.executeShellCommand(String.format("ls -l %s",
304 String tmpFileContents = mTestDevice.executeShellCommand(String.format("cat %s"
    [all...]
TestDeviceStressTest.java 83 mTestDevice.executeShellCommand(String.format("rm -r %s", deviceFilePath));
93 mTestDevice.executeShellCommand(String.format("rm -r %s", deviceFilePath));
  /cts/hostsidetests/multiuser/src/android/host/multiuser/
BaseMultiUserTest.java 74 final String output = getDevice().executeShellCommand(command);
98 final String commandOuput = getDevice().executeShellCommand(
  /frameworks/base/core/java/android/app/
IUiAutomationConnection.aidl 45 void executeShellCommand(String command, in ParcelFileDescriptor fd);

Completed in 1717 milliseconds

12 3 4 5 6 7 8 91011>>