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.java22 import android.app.job.JobScheduler;
33 public class JobSchedulerImpl extends JobScheduler {
45 return JobScheduler.RESULT_FAILURE; in schedule()
54 return JobScheduler.RESULT_FAILURE; in enqueue()
63 return JobScheduler.RESULT_FAILURE; in scheduleAsPackage()
DSystemServiceRegistry.java27 import android.app.job.JobScheduler;
1037 registerService(Context.JOB_SCHEDULER_SERVICE, JobScheduler.class, in registerService()
1038 new StaticServiceFetcher<JobScheduler>() { in registerService()
1040 public JobScheduler createService() throws ServiceNotFoundException { in registerService()
/frameworks/base/services/backup/java/com/android/server/backup/
DFullBackupJob.java21 import android.app.job.JobScheduler;
47 JobScheduler js = (JobScheduler) ctx.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule()
66 JobScheduler js = (JobScheduler) ctx.getSystemService( in cancel()
DKeyValueBackupJob.java24 import android.app.job.JobScheduler;
106 JobScheduler js = (JobScheduler) ctx.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule()
116 JobScheduler js = (JobScheduler) ctx.getSystemService( in cancel()
/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/base/services/core/java/com/android/server/
DZramWriteback.java21 import android.app.job.JobScheduler;
127 JobScheduler js = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedNextWriteback()
174 JobScheduler js = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in scheduleZramWriteback()
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;
100 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;
101 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/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/services/core/java/com/android/server/pm/
DDynamicCodeLoggingService.java21 import android.app.job.JobScheduler;
79 JobScheduler js = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule()
DBackgroundDexOptService.java24 import android.app.job.JobScheduler;
114 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/services/robotests/backup/src/com/android/server/backup/
DFullBackupJobTest.java22 import android.app.job.JobScheduler;
55 mShadowJobScheduler = Shadows.shadowOf(mContext.getSystemService(JobScheduler.class)); in setUp()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/
DSetupObserverTest.java21 import android.app.job.JobScheduler;
81 mShadowJobScheduler = Shadows.shadowOf(mContext.getSystemService(JobScheduler.class)); in setUp()
/frameworks/base/core/java/android/app/job/
DJobScheduler.java61 public abstract class JobScheduler { class
/frameworks/base/core/proto/android/app/job/
Denums.proto21 // This file is for JobScheduler enums inside the app directory. If you're
/frameworks/base/core/proto/android/server/job/
Denums.proto21 // This file is for JobScheduler enums inside the server directory. If you're

12