Home
last modified time | relevance | path

Searched refs:JobScheduler (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/display/
DBrightnessIdleJob.java22 import android.app.job.JobScheduler;
43 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in scheduleJob()
63 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in cancelJob()
/frameworks/base/services/core/java/com/android/server/timezone/
DTimeZoneUpdateIdler.java23 import android.app.job.JobScheduler;
70 JobScheduler jobScheduler = in schedule()
71 (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule()
95 JobScheduler jobScheduler = in unschedule()
96 (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in unschedule()
/frameworks/base/core/java/android/app/
DJobSchedulerImpl.java21 import android.app.job.JobScheduler;
34 public class JobSchedulerImpl extends JobScheduler {
46 return JobScheduler.RESULT_FAILURE; in schedule()
55 return JobScheduler.RESULT_FAILURE; in enqueue()
64 return JobScheduler.RESULT_FAILURE; in scheduleAsPackage()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueBackupJob.java22 import android.app.job.JobScheduler;
82 JobScheduler js = (JobScheduler) ctx.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule()
92 JobScheduler js = (JobScheduler) ctx.getSystemService(Context.JOB_SCHEDULER_SERVICE); in cancel()
DFullBackupJob.java21 import android.app.job.JobScheduler;
38 JobScheduler js = (JobScheduler) ctx.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoService.java22 import android.app.job.JobScheduler;
123 JobScheduler jss = context.getSystemService(JobScheduler.class); in registerJobIfNeeded()
133 JobScheduler jss = context.getSystemService(JobScheduler.class); in registerJob()
161 JobScheduler jss = context.getSystemService(JobScheduler.class); in cancelJob()
/frameworks/base/services/tests/servicestests/test-apps/JobTestApp/src/com/android/servicestests/apps/jobtestapp/
DTestJobActivity.java21 import android.app.job.JobScheduler;
42 JobScheduler jobScheduler = (JobScheduler) getSystemService(Context.JOB_SCHEDULER_SERVICE); in onCreate()
55 if (result != JobScheduler.RESULT_SUCCESS) { in onCreate()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemjob/
DSystemJobScheduler.java20 import android.app.job.JobScheduler;
49 private final JobScheduler mJobScheduler;
57 (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE), in SystemJobScheduler()
65 JobScheduler jobScheduler, in SystemJobScheduler()
160 JobScheduler jobScheduler = (JobScheduler) in jobSchedulerCancelAll()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/
DWorkManagerTest.java19 import android.app.job.JobScheduler;
37 JobScheduler jobScheduler = (JobScheduler) InstrumentationRegistry.getTargetContext() in clearJobs()
/frameworks/base/services/core/java/com/android/server/
DPruneInstantAppsJobService.java21 import android.app.job.JobScheduler;
45 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in schedule()
DPreloadsFileCacheExpirationJobService.java21 import android.app.job.JobScheduler;
70 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in schedule()
DMountServiceIdler.java24 import android.app.job.JobScheduler;
99 JobScheduler tm = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in scheduleIdlePass()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraStatsJobService.java21 import android.app.job.JobScheduler;
65 JobScheduler js = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DReportWatchlistJobService.java21 import android.app.job.JobScheduler;
64 final JobScheduler scheduler = in schedule()
65 (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DProvisionObserver.java21 import android.app.job.JobScheduler;
102 final JobScheduler jobScheduler = (JobScheduler) context.getSystemService( in isDeferredForProvision()
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/
DTestJobService.java20 import android.app.job.JobScheduler;
123 JobScheduler tm = in scheduleJob()
124 (JobScheduler) getSystemService(Context.JOB_SCHEDULER_SERVICE); in scheduleJob()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DPrioritySchedulingTest.java21 import android.app.job.JobScheduler;
36 JobScheduler mJobScheduler;
43 mJobScheduler = (JobScheduler) getContext().getSystemService(Context.JOB_SCHEDULER_SERVICE); in setUp()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemjob/
DSystemJobSchedulerTest.java20 import static android.app.job.JobScheduler.RESULT_SUCCESS;
36 import android.app.job.JobScheduler;
67 private JobScheduler mJobScheduler;
79 mJobScheduler = mock(JobScheduler.class); in setUp()
/frameworks/base/services/core/java/com/android/server/storage/
DDiskStatsLoggingService.java21 import android.app.job.JobScheduler;
99 JobScheduler js = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule()
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
DMainActivity.java22 import android.app.job.JobScheduler;
163 JobScheduler tm = in cancelAllJobs()
164 (JobScheduler) getSystemService(Context.JOB_SCHEDULER_SERVICE); in cancelAllJobs()
/frameworks/base/core/java/android/app/job/
DJobScheduler.java61 public abstract class JobScheduler { class
/frameworks/base/services/core/java/com/android/server/pm/
DBackgroundDexOptService.java24 import android.app.job.JobScheduler;
109 JobScheduler js = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule()
/frameworks/support/compat/src/main/java/androidx/core/app/
DJobIntentService.java22 import android.app.job.JobScheduler;
329 private final JobScheduler mJobScheduler;
336 mJobScheduler = (JobScheduler) context.getApplicationContext().getSystemService( in JobWorkEnqueuer()
/frameworks/support/compat/src/androidTest/java/androidx/core/app/
DJobIntentServiceTest.java22 import android.app.job.JobScheduler;
461 ((JobScheduler) mContext.getApplicationContext().getSystemService( in testStopWhileWorking()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/
DForceStopRunnable.java26 import android.app.job.JobScheduler;

12