Home
last modified time | relevance | path

Searched refs:uidWatcher (Results 1 – 3 of 3) sorted by relevance

/cts/tests/app/src/android/app/cts/
DBadProviderTest.java57 WatchUidRunner uidWatcher = null; in testExitOnCreate() local
65 uidWatcher = new WatchUidRunner(InstrumentationRegistry.getInstrumentation(), in testExitOnCreate()
72 uidWatcher.waitFor(WatchUidRunner.CMD_GONE, null); in testExitOnCreate()
73 uidWatcher.waitFor(WatchUidRunner.CMD_GONE, null); in testExitOnCreate()
74 uidWatcher.waitFor(WatchUidRunner.CMD_GONE, null); in testExitOnCreate()
76 uidWatcher.finish(); in testExitOnCreate()
80 uidWatcher = new WatchUidRunner(InstrumentationRegistry.getInstrumentation(), in testExitOnCreate()
84 uidWatcher.waitFor(WatchUidRunner.CMD_GONE, null); in testExitOnCreate()
91 if (uidWatcher != null) { in testExitOnCreate()
92 uidWatcher.finish(); in testExitOnCreate()
DActivityManagerProcessStateTest.java334 WatchUidRunner uidWatcher = new WatchUidRunner(mInstrumentation, appInfo.uid, in testUidImportanceListener() local
360 uidWatcher.waitFor(WatchUidRunner.CMD_GONE, null); in testUidImportanceListener()
370 uidWatcher.waitFor(WatchUidRunner.CMD_ACTIVE, null); in testUidImportanceListener()
371 uidWatcher.waitFor(WatchUidRunner.CMD_UNCACHED, null); in testUidImportanceListener()
372 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testUidImportanceListener()
382 uidWatcher.waitFor(WatchUidRunner.CMD_CACHED, null); in testUidImportanceListener()
383 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY); in testUidImportanceListener()
395 uidWatcher.expect(WatchUidRunner.CMD_IDLE, null); in testUidImportanceListener()
396 uidWatcher.expect(WatchUidRunner.CMD_GONE, null); in testUidImportanceListener()
409 uidWatcher.waitFor(WatchUidRunner.CMD_ACTIVE, null); in testUidImportanceListener()
[all …]
DActivityManagerFgsBgStartTest.java1321 private void testVisibleActivityGracePeriodInternal(WatchUidRunner uidWatcher, String keyCode) in testVisibleActivityGracePeriodInternal() argument
1323 testVisibleActivityGracePeriodInternal(uidWatcher, keyCode, null, in testVisibleActivityGracePeriodInternal()
1324 () -> uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testVisibleActivityGracePeriodInternal()
1327 testVisibleActivityGracePeriodInternal(uidWatcher, keyCode, in testVisibleActivityGracePeriodInternal()
1331 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testVisibleActivityGracePeriodInternal()
1340 private void testVisibleActivityGracePeriodInternal(WatchUidRunner uidWatcher, in testVisibleActivityGracePeriodInternal() argument
1346 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP); in testVisibleActivityGracePeriodInternal()
1355 uidWatcher.waitFor(WatchUidRunner.CMD_CACHED, null); in testVisibleActivityGracePeriodInternal()
1375 uidWatcher.waitFor(WatchUidRunner.CMD_CACHED, null); in testVisibleActivityGracePeriodInternal()