/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
ActivityMetricsLoggerTests.java | 220 SystemUtil.runShellCommand("am start -S -W " + TEST_ACTIVITY.flattenToShortString()); 227 final String amStartOutput = SystemUtil.runShellCommand( 257 SystemUtil.runShellCommand("am start -S -W " + TEST_ACTIVITY.flattenToShortString()); 264 final String amStartOutput = SystemUtil.runShellCommand( 294 final String amStartOutput = SystemUtil.runShellCommand(
|
/cts/tests/DropBoxManager/src/android/dropboxmanager/cts/ |
DropBoxTests.java | 332 SystemUtil.runShellCommand(putCmd); 338 SystemUtil.runShellCommand(putCmd); 342 SystemUtil.runShellCommand(RESTORE_DEFAULTS_SHELL_COMMAND);
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
BlockedNumberUtil.java | 68 SystemUtil.runShellCommand("cmd deviceidle tempwhitelist " + context.getPackageName());
|
PropertyUtil.java | 99 String queryOutput = SystemUtil.runShellCommand(
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
BlockedNumberUtil.java | 68 SystemUtil.runShellCommand("cmd deviceidle tempwhitelist " + context.getPackageName());
|
PropertyUtil.java | 100 String queryOutput = SystemUtil.runShellCommand(
|
/cts/tests/backup/src/android/backup/cts/ |
PermissionTest.java | 319 ShellUtils.runShellCommand("pm install -r " + apk); 323 ShellUtils.runShellCommand("pm uninstall " + packageName); 327 ShellUtils.runShellCommand("pm clear " + packageName); 328 ShellUtils.runShellCommand("appops reset " + packageName);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
SettingsTest.java | 268 SystemUtil.runShellCommand(getInstrumentation(), "settings put system " 290 SystemUtil.runShellCommand(getInstrumentation(), "settings put system " 326 SystemUtil.runShellCommand(getInstrumentation(), "settings put system " 332 SystemUtil.runShellCommand(getInstrumentation(), "settings put system "
|
/cts/tests/tests/text/src/android/text/method/cts/ |
KeyListenerTestCase.java | 115 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(),
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
DocumentsClientTestCase.java | 19 import static com.android.compatibility.common.util.SystemUtil.runShellCommand; 193 final String result = runShellCommand(getInstrumentation(), command).trim();
|
/cts/hostsidetests/os/test-apps/StaticSharedLibConsumerApp1/src/android/os/lib/consumer1/ |
UseSharedLibraryTest.java | 64 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(), "appops set " 167 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(), "appops set "
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
DuplicateIdActivityTest.java | 23 import static com.android.compatibility.common.util.ShellUtils.runShellCommand; 102 runShellCommand("input keyevent KEYCODE_TAB");
|
Helper.java | 28 import static com.android.compatibility.common.util.ShellUtils.runShellCommand; 217 final String autofillDump = runShellCommand("dumpsys autofill"); 219 final String myServiceDump = runShellCommand("dumpsys activity service %s", 799 runShellCommand(ACCELLEROMETER_CHANGE, 0); 807 runShellCommand(ACCELLEROMETER_CHANGE, 1); 814 return Integer.parseInt(runShellCommand("cmd autofill get max_partitions")); 821 runShellCommand("cmd autofill set max_partitions %d", value); 831 return Integer.parseInt(runShellCommand("cmd autofill get max_visible_datasets")); 838 runShellCommand("cmd autofill set max_visible_datasets %d", value); [all...] |
SessionLifecycleTest.java | 33 import static com.android.compatibility.common.util.ShellUtils.runShellCommand; 111 runShellCommand("am broadcast --receiver-foreground " 135 runShellCommand("am broadcast --receiver-foreground "
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
IdleUidTest.java | 200 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(), command); 207 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(), command);
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteWalTest.java | 54 SystemUtil.runShellCommand("settings delete global " + SQLITE_COMPATIBILITY_WAL_FLAGS); 62 SystemUtil.runShellCommand("settings put global " + SQLITE_COMPATIBILITY_WAL_FLAGS + " "
|
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/ |
BasePackageInstallTest.java | 217 runShellCommand("pm uninstall " + TEST_APP_PKG); 220 public ArrayList<String> runShellCommand(String command) throws Exception {
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
PrivappPermissionsTest.java | 225 String output = SystemUtil.runShellCommand( 236 String output = SystemUtil.runShellCommand(
|
RestrictedPermissionsTest.java | 24 import static com.android.compatibility.common.util.SystemUtil.runShellCommand; 189 runShellCommand("pm install -g " + APK_USES_SMS_CALL_LOG_22); 700 runShellCommand( 702 runShellCommand("pm install -g " + APK_USES_SMS_NOT_RESTRICTED_SHARED_UID); [all...] |
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/ |
BasePrintTest.java | 184 SystemUtil.runShellCommand(getInstrumentation(), disableImeCommand); 191 SystemUtil.runShellCommand(getInstrumentation(), enableImeCommand); 234 String previousEnabledServices = SystemUtil.runShellCommand(instrumentation, 254 SystemUtil.runShellCommand(instrumentation, "settings put secure " 266 SystemUtil.runShellCommand(getInstrumentation(), 339 SystemUtil.runShellCommand(instrumentation, "settings put secure " 784 SystemUtil.runShellCommand(instrumentation, "input keyevent KEYCODE_WAKEUP"); 810 SystemUtil.runShellCommand(getInstrumentation(), String.format( [all...] |
/cts/tests/tests/slice/src/android/slice/cts/ |
SliceManagerTest.java | 166 for (String s : runShellCommand("cmd shortcut get-default-launcher")) { 174 public static ArrayList<String> runShellCommand(String command) throws Exception {
|
/cts/tests/tests/permission/src/android/permission/cts/ |
PermissionControllerTest.java | 33 import static com.android.compatibility.common.util.SystemUtil.runShellCommand; 96 runShellCommand("pm install -r -g " + APK); 97 runShellCommand("pm install -r " + APK2); 102 runShellCommand("pm uninstall " + APP); 103 runShellCommand("pm uninstall " + APP2);
|
/cts/tests/tests/role/src/android/app/role/cts/ |
RoleManagerTest.java | 20 import static com.android.compatibility.common.util.SystemUtil.runShellCommand; 147 runShellCommand(sInstrumentation, "input keyevent KEYCODE_WAKEUP"); 357 runShellCommand("pm clear --user " + mCurrentUserId + " " + packageName); 361 runShellCommand("pm install -r --user " + mCurrentUserId + " " + apkPath); 365 runShellCommand("pm uninstall --user " + mCurrentUserId + " " + packageName);
|
/cts/tests/tests/display/src/android/display/cts/ |
BrightnessTest.java | 405 return Integer.parseInt(runShellCommand("settings get system " + setting)); 409 runShellCommand("settings put system " + setting + " " + Integer.toString(value)); 422 private String runShellCommand(String cmd) {
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
AnimatedVectorDrawableParameterizedTest.java | 88 sTransitionScaleBefore = Float.parseFloat(SystemUtil.runShellCommand( 92 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(), 103 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(),
|