Home
last modified time | relevance | path

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

/cts/tests/app/src/android/app/cts/
DActivityManagerFgsDelegateTest.java102 CtsAppTestUtils.executeShellCmd(mInstrumentation, in prepareProcess()
110 CtsAppTestUtils.executeShellCmd(mInstrumentation, in prepareProcess()
127 dumpLines = CtsAppTestUtils.executeShellCmd( in testFgsDelegate()
135 dumpLines = CtsAppTestUtils.executeShellCmd( in testFgsDelegate()
143 dumpLines = CtsAppTestUtils.executeShellCmd( in testFgsDelegate()
151 dumpLines = CtsAppTestUtils.executeShellCmd( in testFgsDelegate()
190 dumpLines = CtsAppTestUtils.executeShellCmd( in testFgsDelegateNotAllowedWhenAppCanNotStartFGS()
199 dumpLines = CtsAppTestUtils.executeShellCmd( in testFgsDelegateNotAllowedWhenAppCanNotStartFGS()
225 dumpLines = CtsAppTestUtils.executeShellCmd( in testFgsDelegateAfterForceStopPackage()
234 dumpLines = CtsAppTestUtils.executeShellCmd( in testFgsDelegateAfterForceStopPackage()
[all …]
DActivityManagerFgsBgStartTest.java1253 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testFgsStartAllowList()
1271 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testFgsStartAllowList()
1394 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testVisibleActivityGracePeriod()
1432 CtsAppTestUtils.executeShellCmd(mInstrumentation, "input keyevent " + keyCode); in testVisibleActivityGracePeriodInternal()
1560 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testSecondStartForeground()
1567 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testSecondStartForeground()
1683 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testFgsStartVpnInternal()
1892 String[] dumpLines = CtsAppTestUtils.executeShellCmd( in testTempAllowListReasonCodeAlarmClock()
1903 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testTempAllowListReasonCodeAlarmClock()
1963 String[] dumpLines = CtsAppTestUtils.executeShellCmd( in testAlarmClockFgsNotStoppedByBackgroundRestrictedInternal()
[all …]
DActivityManagerProcessStateTest.java272 CtsAppTestUtils.executeShellCmd(mInstrumentation, in removeTestAppFromWhitelists()
274 CtsAppTestUtils.executeShellCmd(mInstrumentation, in removeTestAppFromWhitelists()
613 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testBackgroundCheckService()
1177 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testForegroundServiceAppOp()
2448 CtsAppTestUtils.executeShellCmd(mInstrumentation, in testFgsStickyInternal()
DServiceTest.java2203 String[] dumpLines = CtsAppTestUtils.executeShellCmd( in testBindServiceFlagsLongInternal()
/cts/tests/app/shared/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()
/cts/tests/app/AppExitTest/src/android/app/cts/
DActivityManagerAppExitInfoTest.java205 executeShellCmd("cmd deviceidle whitelist +" + STUB_PACKAGE_NAME); in setUp()
206 executeShellCmd("cmd deviceidle whitelist +" + HEARTBEAT_PACKAGE); in setUp()
217 mFreezerTimeout = executeShellCmd( in setUp()
290 executeShellCmd( in tearDown()
293 executeShellCmd("cmd deviceidle whitelist -" + STUB_PACKAGE_NAME); in tearDown()
294 executeShellCmd("cmd deviceidle whitelist -" + HEARTBEAT_PACKAGE); in tearDown()
295 executeShellCmd("am force-stop " + STUB_PACKAGE_NAME); in tearDown()
296 executeShellCmd("am force-stop " + HEARTBEAT_PACKAGE); in tearDown()
310 final String output = executeShellCmd( in createUser()
321 final String output = executeShellCmd("pm remove-user %s", userId); in removeUser()
[all …]
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java285 executeShellCmd(MessageFormat.format(APPOPS_SET_SHELL_COMMAND, mTargetPackage, mode)); in setAppOpsMode()
289 executeShellCmd(MessageFormat.format(APPOPS_RESET_SHELL_COMMAND, mTargetPackage)); in resetAppOpsMode()
293 executeShellCmd(MessageFormat.format(PRUNE_PACKAGE_DATA_SHELL_COMMAND, mTargetPackage, in clearTestPackagesData()
295 executeShellCmd(MessageFormat.format(PRUNE_PACKAGE_DATA_SHELL_COMMAND, TEST_APP_PKG, in clearTestPackagesData()
297 executeShellCmd(MessageFormat.format(PRUNE_PACKAGE_DATA_SHELL_COMMAND, TEST_APP2_PKG, in clearTestPackagesData()
299 executeShellCmd(MessageFormat.format(PRUNE_PACKAGE_DATA_SHELL_COMMAND, TEST_APP_API_32_PKG, in clearTestPackagesData()
304 return executeShellCmd(GET_SHELL_COMMAND + name); in getSetting()
309 executeShellCmd(DELETE_SHELL_COMMAND + name); in setSetting()
311 executeShellCmd(SET_SHELL_COMMAND + name + " " + setting); in setSetting()
1028 executeShellCmd("cmd usagestats clear-last-used-timestamps " + pkg); in testNotificationSeen_verifyBucket()
[all …]