/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerFgsBgStartTest.java | 246 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBG() 255 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBG() 270 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBG() 290 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBG() 305 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBG() 313 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBG() 353 uid2Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBGTwoProcesses() 362 uid2Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBGTwoProcesses() 371 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBGTwoProcesses() 382 uid2Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBGTwoProcesses() [all …]
|
D | ActivityManagerProcessStateTest.java | 415 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testUidImportanceListener() 426 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY); in testUidImportanceListener() 454 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testUidImportanceListener() 469 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY); in testUidImportanceListener() 478 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testUidImportanceListener() 498 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY); in testUidImportanceListener() 571 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, "NONE"); in testBackgroundCheckService() 608 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_SERVICE); in testBackgroundCheckService() 615 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY); in testBackgroundCheckService() 629 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY); in testBackgroundCheckService() [all …]
|
D | ActivityManagerFgsDelegateTest.java | 145 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_SERVICE); in prepareProcess() 160 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testFgsDelegate() 168 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_SERVICE); in testFgsDelegate() 176 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testFgsDelegate() 184 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_SERVICE); in testFgsDelegate() 192 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY); in testFgsDelegate() 213 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testFgsDelegateNotAllowedWhenAppCanNotStartFGS() 221 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testFgsDelegateNotAllowedWhenAppCanNotStartFGS() 230 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_SERVICE); in testFgsDelegateNotAllowedWhenAppCanNotStartFGS() 238 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY); in testFgsDelegateNotAllowedWhenAppCanNotStartFGS() [all …]
|
D | ActivityManagerApi29Test.java | 182 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP, in testTopActivityWithAppOps() 189 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY, in testTopActivityWithAppOps() 213 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE, in testFgsLocationWithAppOps() 217 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP, in testFgsLocationWithAppOps() 224 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE, in testFgsLocationWithAppOps() 231 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY, in testFgsLocationWithAppOps() 256 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP, in testAppOpsHistoricalOps() 271 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE, in testAppOpsHistoricalOps() 277 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY, in testAppOpsHistoricalOps() 317 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE, in testCameraWithAppOps() [all …]
|
D | ActivityManagerTest.java | 646 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, 1339 watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP, null); in testKillingAppChildProcess() 1372 watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP, null); in testKillingAppChildProcess() 1465 watcher1.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP, null); in testTrimAppChildProcess() 1479 watcher2.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP, null); in testTrimAppChildProcess() 1509 watcher3.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP, null); in testTrimAppChildProcess() 1678 watcher1.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP, null); in testTrimMemActivityFg() 1689 watcher2.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP, null); in testTrimMemActivityFg() 1690 watcher1.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_SERVICE, null); in testTrimMemActivityFg() 1761 watchers[0].waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE, in testServiceDoneLRUPosition() [all …]
|
/cts/tests/app/src/android/app/cts/android/app/cts/tools/ |
D | WatchUidRunner.java | 44 public static final int CMD_PROCSTATE = 0; field in WatchUidRunner 192 if (cmd == CMD_PROCSTATE) { in waitFor()
|
D | ServiceProcessController.java | 117 mUidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, "NONE", timeout); in denyBackgroundOp()
|
/cts/tests/app/FgsTest/src/android/app/cts/fgstest/ |
D | ActivityManagerForegroundServiceTypeTest.java | 340 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE, null); in startAndStopFgsType() 383 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY, in stopService()
|