Home
last modified time | relevance | path

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

/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DWatchUidRunner.java137 public void expect(int cmd, String procState) { in expect() argument
138 expect(cmd, procState, mDefaultWaitTime); in expect()
141 public void expect(int cmd, String procState, long timeout) { in expect() argument
143 String[] line = waitForNextLine(waitUntil, cmd, procState, 0); in expect()
151 if (procState != null && (line.length < 3 || !procState.equals(line[2]))) { in expect()
152 String msg = "Expected procstate " + procState in expect()
169 public void waitFor(int cmd, String procState) { in waitFor() argument
170 waitFor(cmd, procState, null, mDefaultWaitTime); in waitFor()
173 public void waitFor(int cmd, String procState, Integer capability) { in waitFor() argument
174 waitFor(cmd, procState, capability, mDefaultWaitTime); in waitFor()
[all …]
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTestAppInterface.java385 jobState.procState = intent.getIntExtra(JOB_PROC_STATE_KEY,
448 void assertJobUidState(int procState, int capabilities, int oomScoreAdj) {
454 assertEquals("procState expected=" + procStateToString(procState)
455 + ",actual=" + procStateToString(jobState.procState),
456 procState, jobState.procState);
495 int procState;
510 procState = ActivityManager.PROCESS_STATE_NONEXISTENT;
/cts/tests/app/FgsTimeoutTest/src/android/app/cts/fgstimeouttest/
DFgsTimeoutTest.java577 private void assertHelperPackageProcState(int procState) { in assertHelperPackageProcState() argument
579 expected.mProcState = procState; in assertHelperPackageProcState()
/cts/tests/app/ShortFgsTest/src/android/app/cts/shortfgstest/
DActivityManagerShortFgsTest.java322 public static void assertHelperPackageProcState(int procState, int oomAdjustment) { in assertHelperPackageProcState() argument
324 expected.mProcState = procState; in assertHelperPackageProcState()