Home
last modified time | relevance | path

Searched refs:executeShellCmd (Results 1 – 5 of 5) sorted by relevance

/cts/tests/app/src/android/app/cts/
DCtsAppTestUtils.java31 public static String executeShellCmd(Instrumentation instrumentation, String cmd) in executeShellCmd() method in CtsAppTestUtils
52 executeShellCmd(instrumentation, "input keyevent KEYCODE_WAKEUP"); in turnScreenOn()
53 executeShellCmd(instrumentation, "wm dismiss-keyguard"); in turnScreenOn()
65 return executeShellCmd(instrumentation, cmd); in makeUidIdle()
DActivityManagerFgsBgStartTest.java1174 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testFgsStartAllowList()
1192 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testFgsStartAllowList()
1314 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testVisibleActivityGracePeriod()
1352 CtsAppTestUtils.executeShellCmd(mInstrumentation, "input keyevent " + keyCode); in testVisibleActivityGracePeriodInternal()
1477 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testSecondStartForeground()
1484 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testSecondStartForeground()
1585 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testFgsStartVpnInternal()
1763 final String defaultInputMethod = CtsAppTestUtils.executeShellCmd(mInstrumentation, in testFgsStartInputMethod()
1783 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testFgsStartInputMethod()
1802 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testFgsStartInputMethod()
[all …]
DActivityManagerProcessStateTest.java235 CtsAppTestUtils.executeShellCmd(mInstrumentation, in removeTestAppFromWhitelists()
237 CtsAppTestUtils.executeShellCmd(mInstrumentation, in removeTestAppFromWhitelists()
574 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testBackgroundCheckService()
1138 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testForegroundServiceAppOp()
2375 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testFgsStickyInternal()
/cts/tests/app/AppExitTest/src/android/app/cts/
DActivityManagerAppExitInfoTest.java159 executeShellCmd("cmd deviceidle whitelist +" + STUB_PACKAGE_NAME); in setUp()
227 executeShellCmd("cmd deviceidle whitelist -" + STUB_PACKAGE_NAME); in tearDown()
239 final String output = executeShellCmd( in createUser()
248 final String output = executeShellCmd(String.format("pm remove-user %s", userId)); in removeUser()
258 final String output = executeShellCmd(cmd); in startUser()
263 String state = executeShellCmd("am get-started-user-state " + userId); in startUser()
282 final String output = executeShellCmd(cmd.toString()); in stopUser()
291 executeShellCmd( in installExistingPackageAsUser()
295 private String executeShellCmd(String cmd) throws Exception { in executeShellCmd() method in ActivityManagerAppExitInfoTest
354 executeShellCmd("am clear-exit-info --user all " + STUB_PACKAGE_NAME); in clearHistoricalExitInfo()
[all …]
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java214 executeShellCmd(MessageFormat.format(APPOPS_SET_SHELL_COMMAND, mTargetPackage, mode)); in setAppOpsMode()
218 return executeShellCmd(GET_SHELL_COMMAND + name); in getSetting()
223 executeShellCmd(DELETE_SHELL_COMMAND + name); in setSetting()
225 executeShellCmd(SET_SHELL_COMMAND + name + " " + setting); in setSetting()
1315 executeShellCmd("wm dismiss-keyguard"); in testInteractiveEvents()
1326 executeShellCmd("wm dismiss-keyguard"); in testInteractiveEvents()
1342 executeShellCmd("am get-standby-bucket " + fakePackageName); in testIgnoreNonexistentPackage()
1797 activeUsages = executeShellCmd("dumpsys usagestats apptimelimit actives"); in assertAppOrTokenUsed()
1814 executeShellCmd("wm dismiss-keyguard"); in dismissKeyguard()
1822 executeShellCmd("am set-standby-bucket " + packageName + " " + bucket); in setStandByBucket()
[all …]