Searched refs:WatchUidRunner (Results 1 – 3 of 3) sorted by relevance
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerProcessStateTest.java | 36 import android.app.cts.android.app.cts.tools.WatchUidRunner; 123 private WatchUidRunner [] mWatchers; 158 mWatchers = new WatchUidRunner[count]; in setupWatchers() 162 mWatchers[i] = new WatchUidRunner(mInstrumentation, mAppInfo[i].uid, in setupWatchers() 300 WatchUidRunner uidWatcher = new WatchUidRunner(getInstrumentation(), appInfo.uid, in testUidImportanceListener() 326 uidWatcher.waitFor(WatchUidRunner.CMD_GONE, null); in testUidImportanceListener() 336 uidWatcher.waitFor(WatchUidRunner.CMD_ACTIVE, null); in testUidImportanceListener() 337 uidWatcher.waitFor(WatchUidRunner.CMD_UNCACHED, null); in testUidImportanceListener() 338 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testUidImportanceListener() 348 uidWatcher.waitFor(WatchUidRunner.CMD_CACHED, null); in testUidImportanceListener() [all …]
|
/cts/tests/app/src/android/app/cts/android/app/cts/tools/ |
D | ServiceProcessController.java | 54 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() 188 public WatchUidRunner getUidWatcher() { in getUidWatcher() 218 mUidWatcher.waitFor(WatchUidRunner.CMD_GONE, null, timeout); in ensureProcessGone()
|
D | WatchUidRunner.java | 41 public class WatchUidRunner { class 96 public WatchUidRunner(Instrumentation instrumentation, int uid) { in WatchUidRunner() method in WatchUidRunner 100 public WatchUidRunner(Instrumentation instrumentation, int uid, long defaultWaitTime) { in WatchUidRunner() method in WatchUidRunner
|