Searched refs:toCancel (Results 1 – 1 of 1) sorted by relevance
1008 final JobStatus toCancel = mJobs.getJobByUidAndJobId(uId, job.getId()); in scheduleAsPackage() local1010 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() local1178 toCancel = mJobs.getJobByUidAndJobId(uid, jobId); in cancelJob()1179 if (toCancel != null) { in cancelJob()[all …]