Home
last modified time | relevance | path

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

/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DWatchUidRunner.java131 public void expect(int cmd, String procState) { in expect() argument
132 expect(cmd, procState, mDefaultWaitTime); in expect()
135 public void expect(int cmd, String procState, long timeout) { in expect() argument
137 String[] line = waitForNextLine(waitUntil, cmd, procState, 0); in expect()
145 if (procState != null && (line.length < 3 || !procState.equals(line[2]))) { in expect()
146 String msg = "Expected procstate " + procState in expect()
163 public void waitFor(int cmd, String procState) { in waitFor() argument
164 waitFor(cmd, procState, null, mDefaultWaitTime); in waitFor()
167 public void waitFor(int cmd, String procState, Integer capability) { in waitFor() argument
168 waitFor(cmd, procState, capability, mDefaultWaitTime); in waitFor()
[all …]
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTestAppInterface.java154 mTestJobState.procState = intent.getIntExtra(JOB_PROC_STATE_KEY,
183 void assertJobUidState(int procState, int capabilities, int oomScoreAdj) {
185 assertEquals("procState expected=" + procStateToString(procState)
186 + ",actual=" + procStateToString(mTestJobState.procState),
187 procState, mTestJobState.procState);
212 int procState;
227 procState = ActivityManager.PROCESS_STATE_NONEXISTENT;