Home
last modified time | relevance | path

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

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTestAppInterface.java372 TestJobState jobState = mTestJobStates.get(params.getJobId());
373 if (jobState == null) {
374 jobState = new TestJobState();
375 mTestJobStates.put(params.getJobId(), jobState);
377 jobState.reset();
379 jobState.running = ACTION_JOB_STARTED.equals(intent.getAction());
380 jobState.params = params;
383 jobState.scheduleResult = JobScheduler.RESULT_SUCCESS;
385 jobState.procState = intent.getIntExtra(JOB_PROC_STATE_KEY,
387 jobState.capabilities = intent.getIntExtra(JOB_CAPABILITIES_KEY,
[all …]
/cts/tests/tests/hibernation/src/android/hibernation/cts/
DAppHibernationUtils.kt155 val jobState = runShellCommandOrThrow("cmd jobscheduler get-job-state -u " + in runAppHibernationJobInternal() constant
158 Log.d(tag, "Job output: $jobState") in runAppHibernationJobInternal()
159 assertTrue("Job expected waiting but is $jobState", jobState.contains("waiting")) in runAppHibernationJobInternal()