Home
last modified time | relevance | path

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

/cts/tests/app/src/android/app/cts/
DActivityManagerProcessStateTest.java31 import android.app.cts.android.app.cts.tools.WatchUidRunner;
219 WatchUidRunner uidWatcher = new WatchUidRunner(getInstrumentation(), appInfo.uid, in testUidImportanceListener()
247 uidWatcher.waitFor(WatchUidRunner.CMD_GONE, null); in testUidImportanceListener()
258 uidWatcher.waitFor(WatchUidRunner.CMD_ACTIVE, null); in testUidImportanceListener()
259 uidWatcher.waitFor(WatchUidRunner.CMD_UNCACHED, null); in testUidImportanceListener()
260 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testUidImportanceListener()
272 uidWatcher.waitFor(WatchUidRunner.CMD_CACHED, null); in testUidImportanceListener()
273 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY); in testUidImportanceListener()
287 uidWatcher.expect(WatchUidRunner.CMD_IDLE, null); in testUidImportanceListener()
288 uidWatcher.expect(WatchUidRunner.CMD_GONE, null); in testUidImportanceListener()
[all …]
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DServiceProcessController.java54 final WatchUidRunner mUidWatcher;
100 mUidWatcher = new WatchUidRunner(instrumentation, appInfo.uid, mDefaultWaitTime); in ServiceProcessController()
112 mUidWatcher.expect(WatchUidRunner.CMD_IDLE, null, timeout); in denyBackgroundOp()
113 mUidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, "NONE", timeout); in denyBackgroundOp()
176 public WatchUidRunner getUidWatcher() { in getUidWatcher()
206 mUidWatcher.waitFor(WatchUidRunner.CMD_GONE, null, timeout); in ensureProcessGone()
DWatchUidRunner.java41 public class WatchUidRunner { class
94 public WatchUidRunner(Instrumentation instrumentation, int uid) { in WatchUidRunner() method in WatchUidRunner
98 public WatchUidRunner(Instrumentation instrumentation, int uid, long defaultWaitTime) { in WatchUidRunner() method in WatchUidRunner