Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java1008 final JobStatus toCancel = mJobs.getJobByUidAndJobId(uId, job.getId()); in scheduleAsPackage() local
1010 if (work != null && toCancel != null) { in scheduleAsPackage()
1013 if (toCancel.getJob().equals(job)) { in scheduleAsPackage()
1015 toCancel.enqueueWorkLocked(ActivityManager.getService(), work); in scheduleAsPackage()
1019 toCancel.maybeAddForegroundExemption(mIsUidActivePredicate); in scheduleAsPackage()
1051 if (toCancel != null) { in scheduleAsPackage()
1053 cancelJobImplLocked(toCancel, jobStatus, "job rescheduled by app"); in scheduleAsPackage()
1176 JobStatus toCancel; in cancelJob() local
1178 toCancel = mJobs.getJobByUidAndJobId(uid, jobId); in cancelJob()
1179 if (toCancel != null) { in cancelJob()
[all …]