Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowJobSchedulerTest.java10 import android.app.job.JobInfo;
38 JobInfo jobInfo = in getAllPendingJobs()
39 new JobInfo.Builder(99, new ComponentName(context, "component_class_name")) in getAllPendingJobs()
50 new JobInfo.Builder(99, new ComponentName(context, "component_class_name")) in cancelAll()
54 new JobInfo.Builder(33, new ComponentName(context, "component_class_name")) in cancelAll()
68 new JobInfo.Builder(99, new ComponentName(context, "component_class_name")) in cancelSingleJob()
82 new JobInfo.Builder(99, new ComponentName(context, "component_class_name")) in cancelNonExistentJob()
97 new JobInfo.Builder(99, new ComponentName(context, "component_class_name")) in schedule_success()
109 new JobInfo.Builder(99, new ComponentName(context, "component_class_name")) in schedule_fail()
120 JobInfo originalJobInfo = in getPendingJob_withValidId()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowJobScheduler.java8 import android.app.job.JobInfo;
25 protected abstract int schedule(JobInfo job); in schedule()
34 protected abstract List<JobInfo> getAllPendingJobs(); in getAllPendingJobs()
38 public abstract JobInfo getPendingJob(int jobId); in getPendingJob()
41 protected abstract int enqueue(JobInfo job, JobWorkItem work); in enqueue()
48 private Map<Integer, JobInfo> scheduledJobs = new LinkedHashMap<>();
52 public int schedule(JobInfo job) { in schedule()
72 public List<JobInfo> getAllPendingJobs() { in getAllPendingJobs()
77 public JobInfo getPendingJob(int jobId) { in getPendingJob()
83 public int enqueue(JobInfo job, JobWorkItem work) { in enqueue()
/external/toolchain-utils/automation/server/monitor/
Ddashboard.py38 class JobInfo(object): class
182 job = JobInfo(int(job_id))
194 job = JobInfo(int(job_id))