Home
last modified time | relevance | path

Searched refs:jobScheduler (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsIdleService.java82 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in scheduleJobInternal() local
83 jobScheduler = jobScheduler.forNamespace(namespace); in scheduleJobInternal()
84 final JobInfo pendingJob = jobScheduler.getPendingJob(jobId); in scheduleJobInternal()
87 jobScheduler.cancel(jobId); // cancel any previously scheduled job in scheduleJobInternal()
88 jobScheduler.schedule(jobInfo); in scheduleJobInternal()
101 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in cancelJobInternal() local
102 if (jobScheduler != null) { in cancelJobInternal()
103 jobScheduler = jobScheduler.forNamespace(namespace); in cancelJobInternal()
104 jobScheduler.cancel(jobId); in cancelJobInternal()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessIdleJob.java43 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in scheduleJob() local
45 JobInfo pending = jobScheduler.getPendingJob(JOB_ID); in scheduleJob()
53 jobScheduler.cancel(JOB_ID); in scheduleJob()
58 jobScheduler.schedule(jobInfo); in scheduleJob()
63 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in cancelJob() local
64 jobScheduler.cancel(JOB_ID); in cancelJob()
/frameworks/base/services/people/java/com/android/server/people/data/
DDataMaintenanceService.java46 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in scheduleJob() local
47 if (jobScheduler.getPendingJob(jobId) == null) { in scheduleJob()
53 jobScheduler.schedule(newJob); in scheduleJob()
58 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in cancelJob() local
59 jobScheduler.cancel(getJobId(userId)); in cancelJob()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryJobService.java46 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in scheduleJob() local
47 if (jobScheduler.getPendingJob(BASE_JOB_ID) == null) { in scheduleJob()
54 if (jobScheduler.schedule(newJob) != RESULT_SUCCESS) { in scheduleJob()
DReviewNotificationPermissionsJobService.java44 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in scheduleJob() local
51 jobScheduler.schedule(newJob); in scheduleJob()
DNotificationBitmapJobService.java52 JobScheduler jobScheduler = in scheduleJob() local
63 final int result = jobScheduler.schedule(jobInfo); in scheduleJob()
/frameworks/base/services/core/java/com/android/server/
DPruneInstantAppsJobService.java45 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in schedule() local
46 jobScheduler.schedule(pruneJob); in schedule()
DPreloadsFileCacheExpirationJobService.java70 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in schedule() local
71 jobScheduler.schedule(expirationJob); in schedule()
DBinaryTransparencyService.java1250 final JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in scheduleBinaryMeasurements() local
1251 if (jobScheduler == null) { in scheduleBinaryMeasurements()
1256 if (jobScheduler.getPendingJob(DO_BINARY_MEASUREMENTS_JOB_ID) != null) { in scheduleBinaryMeasurements()
1278 if (jobScheduler.schedule(jobInfo) != JobScheduler.RESULT_SUCCESS) { in scheduleBinaryMeasurements()
/frameworks/base/services/companion/java/com/android/server/companion/association/
DInactiveAssociationsRemovalService.java70 final JobScheduler jobScheduler = in schedule() local
78 jobScheduler.schedule(job); in schedule()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreIdleJobService.java58 final JobScheduler jobScheduler = (JobScheduler) context.getSystemService( in schedule() local
66 jobScheduler.schedule(job); in schedule()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleBackupFollowUpJob.java74 JobScheduler jobScheduler = context.getSystemService(JobScheduler.class); in scheduleJob() local
82 jobScheduler.schedule(jobInfo); in scheduleJob()
99 IPeopleManager iPeopleManager, JobScheduler jobScheduler) { in setManagers() argument
103 mJobScheduler = jobScheduler; in setManagers()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DProvisionObserver.java101 final JobScheduler jobScheduler = (JobScheduler) context.getSystemService( in isDeferredForProvision() local
110 jobScheduler.schedule(job); in isDeferredForProvision()
/frameworks/base/services/core/java/com/android/server/selinux/
DSelinuxAuditLogsService.java135 private LogsCollectorJobScheduler(JobScheduler jobScheduler) { in LogsCollectorJobScheduler() argument
136 mJobScheduler = jobScheduler; in LogsCollectorJobScheduler()
/frameworks/base/packages/SystemUI/src/com/android/systemui/backup/
DBackupHelper.kt189 val jobScheduler = context.getSystemService(JobScheduler::class.java) in getPPControlsFile() constant
190 jobScheduler?.schedule( in getPPControlsFile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DFgsManagerController.kt145 private val jobScheduler: JobScheduler, constant in com.android.systemui.qs.FgsManagerControllerImpl
248 jobScheduler.registerUserVisibleJobObserver(userVisibleJobObserver) in init()
505 jobScheduler.notePendingUserRequestedAppStop(packageName, userId, "task manager") in stopPackage()
512 jobScheduler.registerUserVisibleJobObserver(userVisibleJobObserver) in onShowUserVisibleJobsFlagChanged()
514 jobScheduler.unregisterUserVisibleJobObserver(userVisibleJobObserver) in onShowUserVisibleJobsFlagChanged()
/frameworks/base/services/core/java/com/android/server/pm/
DGentleUpdateHelper.java222 var jobScheduler = mContext.getSystemService(JobScheduler.class); in scheduleIdleJob() local
223 jobScheduler.schedule(jobInfo); in scheduleIdleJob()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManager.java1130 JobScheduler jobScheduler = mContext.getSystemService(JobScheduler.class); in updateWidgetsFromBroadcastInBackground()
1131 if (jobScheduler != null in updateWidgetsFromBroadcastInBackground()
1132 && jobScheduler.getPendingJob(PeopleBackupFollowUpJob.JOB_ID) != null) { in updateWidgetsFromBroadcastInBackground()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java2882 JobScheduler jobScheduler =
2884 if (jobScheduler == null) {
2888 jobScheduler = jobScheduler.forNamespace(SETTINGS_PROVIDER_JOBS_NS);
2890 if (jobScheduler.getPendingJob(WRITE_FALLBACK_SETTINGS_FILES_JOB_ID) != null) {
2911 jobScheduler.schedule(new JobInfo.Builder(WRITE_FALLBACK_SETTINGS_FILES_JOB_ID,