Searched refs:mJobs (Results 1 – 3 of 3) sorted by relevance
127 private final Map<String, JobRecord> mJobs = new LinkedHashMap<>(); field in FileOperationService233 synchronized (mJobs) { in handleOperation()238 if (mJobs.containsKey(jobId)) { in handleOperation()255 mJobs.put(jobId, new JobRecord(job, future)); in handleOperation()279 synchronized (mJobs) { in handleCancel()284 JobRecord record = mJobs.get(jobId); in handleCancel()326 JobRecord record = mJobs.remove(job.id); in deleteJob()369 synchronized (mJobs) { in onStart()400 synchronized (mJobs) { in onFinished()417 if (mJobs.isEmpty()) { in onFinished()[all …]
30 private final List<LocalPrintJob> mJobs = new CopyOnWriteArrayList<>(); field in JobQueue35 mJobs.add(job); in print()41 for (LocalPrintJob job : mJobs) { in cancel()62 for (LocalPrintJob job : mJobs) { in cancel()64 mJobs.remove(job); in cancel()77 if (mJobs.isEmpty() || mCurrent != null) { in startNextJob()81 mCurrent = mJobs.remove(0); in startNextJob()
37 private final LinkedList<JobWrapper<?>> mJobs = new LinkedList<JobWrapper<?>>(); field in JobLimiter138 mJobs.addLast(future); in submit()145 while (mLimit > 0 && !mJobs.isEmpty()) { in submitTasksIfAllowed()146 JobWrapper wrapper = mJobs.removeFirst(); in submitTasksIfAllowed()