/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/print/printTestUtilLib/src/android/print/test/ |
BasePrintTest.java | 180 SystemUtil.runShellCommand(getInstrumentation(), disableImeCommand); 187 SystemUtil.runShellCommand(getInstrumentation(), enableImeCommand); 227 sDisabledPrintServicesBefore = SystemUtil.runShellCommand(instrumentation, 246 SystemUtil.runShellCommand(instrumentation, "settings put secure " 254 SystemUtil.runShellCommand(getInstrumentation(), 327 SystemUtil.runShellCommand(instrumentation, "settings put secure " 777 SystemUtil.runShellCommand(instrumentation, "input keyevent KEYCODE_WAKEUP"); 803 SystemUtil.runShellCommand(getInstrumentation(), String.format( [all...] |
/cts/tests/tests/slice/src/android/slice/cts/ |
SliceManagerTest.java | 165 for (String s : runShellCommand("cmd shortcut get-default-launcher")) { 173 public static ArrayList<String> runShellCommand(String command) throws Exception {
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
Helper.java | 21 import static android.autofillservice.cts.common.ShellHelper.runShellCommand; 187 Log.i(TAG, "dumpsys autofill\n\n" + runShellCommand("dumpsys autofill")); 713 runShellCommand(ACCELLEROMETER_CHANGE, 0); 721 runShellCommand(ACCELLEROMETER_CHANGE, 1); 728 return Integer.parseInt(runShellCommand("cmd autofill get max_partitions")); 735 runShellCommand("cmd autofill set max_partitions %d", value); 764 return runShellCommand("cmd autofill get log_level"); 771 runShellCommand("cmd autofill set log_level %s", level); 818 final String result = runShellCommand(CMD_LIST_SESSIONS); [all...] |
SessionLifecycleTest.java | 29 import static android.autofillservice.cts.common.ShellHelper.runShellCommand; 109 runShellCommand("am broadcast --receiver-foreground "
|
/cts/tests/tests/display/src/android/display/cts/ |
BrightnessTest.java | 376 return Integer.parseInt(runShellCommand("settings get system " + setting)); 380 runShellCommand("settings put system " + setting + " " + Integer.toString(value)); 393 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(),
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 341 return SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(), 347 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(), 350 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(),
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/ |
EnqueueJobWorkTest.java | 298 SystemUtil.runShellCommand(getInstrumentation(), "cmd jobscheduler timeout " 313 SystemUtil.runShellCommand(getInstrumentation(), "cmd jobscheduler run " 352 SystemUtil.runShellCommand(getInstrumentation(), "cmd jobscheduler timeout " 368 SystemUtil.runShellCommand(getInstrumentation(), "cmd jobscheduler run "
|
/cts/tests/app/src/android/app/cts/ |
InstrumentationTest.java | 94 String result = SystemUtil.runShellCommand(getInstrumentation(), cmd); 101 String result = SystemUtil.runShellCommand(getInstrumentation(), cmd); 108 String result = SystemUtil.runShellCommand(getInstrumentation(), cmd); 116 String result = SystemUtil.runShellCommand(getInstrumentation(), cmd);
|
/cts/tests/framework/base/activitymanager/src/android/server/am/ |
VirtualDisplayHelper.java | 139 return SystemUtil.runShellCommand(getInstrumentation(), command);
|
/cts/tests/tests/background/src/android/app/cts/backgroundrestrictions/ |
BroadcastsTest.java | 161 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(),
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
SysuiTestCase.java | 92 protected void runShellCommand(String command) throws IOException {
|
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/ |
TargetPackageUtils.java | 91 final String result = Utils.runShellCommand(
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
AbstractRestrictBackgroundNetworkTestCase.java | 27 import static com.android.compatibility.common.util.SystemUtil.runShellCommand; 423 final String networkManagementDump = runShellCommand(mInstrumentation, 425 final String networkPolicyDump = runShellCommand(mInstrumentation, 503 final String result = runShellCommand(mInstrumentation, command).trim(); [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
RemoteViewsWidgetTest.java | 222 SystemUtil.runShellCommand(mInstrumentation, GRANT_BIND_APP_WIDGET_PERMISSION_COMMAND); 232 SystemUtil.runShellCommand(mInstrumentation, REVOKE_BIND_APP_WIDGET_PERMISSION_COMMAND);
|
TextClockTest.java | 210 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(),
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
MeteredDataRestrictionTest.java | 225 final String result = SystemUtil.runShellCommand(getInstrumentation(), cmd);
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
AlertWindowsImportanceTests.java | 175 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(), cmd);
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
AppWidgetTestCase.java | 159 public ArrayList<String> runShellCommand(String command) throws Exception {
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
AtomTests.java | 58 import static com.android.compatibility.common.util.SystemUtil.runShellCommand; 475 runShellCommand("settings put system screen_brightness " + brightness);
|
/cts/tests/sensor/src/android/hardware/cts/ |
SensorTest.java | 644 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(), command); 650 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(), command);
|
/cts/tests/tests/assist/src/android/assist/cts/ |
AssistTestBase.java | 74 SystemUtil.runShellCommand(getInstrumentation(), 76 SystemUtil.runShellCommand(getInstrumentation(),
|
/cts/tests/tests/keystore/src/android/server/am/ |
ActivityManagerTestBase.java | 147 .runShellCommand(InstrumentationRegistry.getInstrumentation(), command);
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
SubscriptionManagerTest.java | 352 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(),
|