Home
last modified time | relevance | path

Searched refs:jobInfo (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemjob/
DSystemJobInfoConverterTest.java74 JobInfo jobInfo = mConverter.convert(workSpec, JOB_ID); in testConvert_ids() local
75 String actualWorkSpecId = jobInfo.getExtras().getString( in testConvert_ids()
78 assertThat(jobInfo.getId(), is(JOB_ID)); in testConvert_ids()
84 JobInfo jobInfo = mConverter.convert( in testConvert_setPersistedByDefault() local
86 assertThat(jobInfo.isPersisted(), is(false)); in testConvert_setPersistedByDefault()
109 JobInfo jobInfo = mConverter.convert(workSpec, JOB_ID); in testConvert_retryPolicy() local
110 assertThat(jobInfo.getInitialBackoffMillis(), is(expectedBackoffDelayDuration)); in testConvert_retryPolicy()
111 assertThat(jobInfo.getBackoffPolicy(), is(JobInfo.BACKOFF_POLICY_LINEAR)); in testConvert_retryPolicy()
120 JobInfo jobInfo = mConverter.convert(workSpec, JOB_ID); in testConvert_initialDelay() local
121 assertThat(jobInfo.getMinLatencyMillis(), is(expectedInitialDelay)); in testConvert_initialDelay()
[all …]
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemjob/
DSystemJobScheduler.java124 JobInfo jobInfo = mSystemJobInfoConverter.convert(workSpec, jobId); in scheduleInternal() local
126 mJobScheduler.schedule(jobInfo); in scheduleInternal()
136 for (JobInfo jobInfo : allJobInfos) { in cancel()
138 jobInfo.getExtras().getString(SystemJobInfoConverter.EXTRA_WORK_SPEC_ID))) { in cancel()
145 mJobScheduler.cancel(jobInfo.getId()); in cancel()
167 for (JobInfo jobInfo : jobInfos) { in jobSchedulerCancelAll()
168 PersistableBundle extras = jobInfo.getExtras(); in jobSchedulerCancelAll()
171 jobScheduler.cancel(jobInfo.getId()); in jobSchedulerCancelAll()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessIdleJob.java46 JobInfo jobInfo = in scheduleJob() local
52 if (pending != null && !pending.equals(jobInfo)) { in scheduleJob()
58 jobScheduler.schedule(jobInfo); in scheduleJob()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoService.java138 final JobInfo jobInfo = new JobInfo.Builder(JOB_ID, in registerJob() local
143 Log.v(TAG, "A cat will visit in " + interval + "ms: " + String.valueOf(jobInfo)); in registerJob()
144 jss.schedule(jobInfo); in registerJob()
151 .setContentText(String.valueOf(jobInfo)) in registerJob()
/frameworks/base/core/java/android/printservice/
DPrintJob.java54 PrintJob(@NonNull Context context, @NonNull PrintJobInfo jobInfo, in PrintJob() argument
57 mCachedInfo = jobInfo; in PrintJob()
60 jobInfo.getDocumentInfo()); in PrintJob()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobSetTest.java73 final JobInfo jobInfo = new JobInfo.Builder(jobId, mComponent) in getJobStatusWithCallinUid() local
77 return JobStatus.createFromJobInfo(jobInfo, callingUid, mContext.getPackageName(), in getJobStatusWithCallinUid()