Home
last modified time | relevance | path

Searched refs:mUidWatcher (Results 1 – 2 of 2) sorted by relevance

/cts/tests/app/src/android/app/cts/
DActivityManagerApi29Test.java111 private WatchUidRunner mUidWatcher; field in ActivityManagerApi29Test
131 mUidWatcher = new WatchUidRunner(sInstrumentation, sUid, WAITFOR_MSEC); in setUp()
147 mUidWatcher.finish(); in tearDown()
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()
[all …]
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DServiceProcessController.java56 final WatchUidRunner mUidWatcher; field in ServiceProcessController
103 mUidWatcher = new WatchUidRunner(instrumentation, appInfo.uid, mDefaultWaitTime); in ServiceProcessController()
116 mUidWatcher.expect(WatchUidRunner.CMD_IDLE, null, timeout); in denyBackgroundOp()
117 mUidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, "NONE", timeout); in denyBackgroundOp()
176 mUidWatcher.finish(); in cleanup()
199 return mUidWatcher; in getUidWatcher()
228 mUidWatcher.waitFor(WatchUidRunner.CMD_GONE, timeout); in ensureProcessGone()