Lines Matching refs:printJobId
138 void handleRequestCancelPrintJob(PrintJobId printJobId) { in handleRequestCancelPrintJob() argument
139 PrintJob printJob = mProcessedPrintJobs.get(printJobId); in handleRequestCancelPrintJob()
143 mProcessedPrintJobs.remove(printJobId); in handleRequestCancelPrintJob()
151 void handleFailPrintJobDelayed(PrintJobId printJobId) { in handleFailPrintJobDelayed() argument
153 MyHandler.MSG_HANDLE_FAIL_PRINT_JOB, printJobId); in handleFailPrintJobDelayed()
157 void handleFailPrintJob(PrintJobId printJobId) { in handleFailPrintJob() argument
158 PrintJob printJob = mProcessedPrintJobs.get(printJobId); in handleFailPrintJob()
162 mProcessedPrintJobs.remove(printJobId); in handleFailPrintJob()
168 void handleBlockPrintJobDelayed(PrintJobId printJobId) { in handleBlockPrintJobDelayed() argument
170 MyHandler.MSG_HANDLE_BLOCK_PRINT_JOB, printJobId); in handleBlockPrintJobDelayed()
174 void handleBlockPrintJob(PrintJobId printJobId) { in handleBlockPrintJob() argument
175 final PrintJob printJob = mProcessedPrintJobs.get(printJobId); in handleBlockPrintJob()
185 void handleBlockAndDelayedUnblockPrintJob(PrintJobId printJobId) { in handleBlockAndDelayedUnblockPrintJob() argument
186 handleBlockPrintJob(printJobId); in handleBlockAndDelayedUnblockPrintJob()
189 MyHandler.MSG_HANDLE_UNBLOCK_PRINT_JOB, printJobId); in handleBlockAndDelayedUnblockPrintJob()
193 private void handleUnblockPrintJob(PrintJobId printJobId) { in handleUnblockPrintJob() argument
194 final PrintJob printJob = mProcessedPrintJobs.get(printJobId); in handleUnblockPrintJob()
204 void handleQueuedPrintJobDelayed(PrintJobId printJobId) { in handleQueuedPrintJobDelayed() argument
205 final PrintJob printJob = mProcessedPrintJobs.get(printJobId); in handleQueuedPrintJobDelayed()
214 MyHandler.MSG_HANDLE_DO_PRINT_JOB, printJobId); in handleQueuedPrintJobDelayed()
224 void handlePrintJobProgress(@NonNull PrintJobId printJobId, int progress) { in handlePrintJobProgress() argument
225 final PrintJob printJob = mProcessedPrintJobs.get(printJobId); in handlePrintJobProgress()
235 handleQueuedPrintJob(printJobId); in handlePrintJobProgress()
243 MyHandler.MSG_HANDLE_PRINT_JOB_PROGRESS, progress + 10, 0, printJobId); in handlePrintJobProgress()
248 void handleQueuedPrintJob(PrintJobId printJobId) { in handleQueuedPrintJob() argument
249 final PrintJob printJob = mProcessedPrintJobs.get(printJobId); in handleQueuedPrintJob()
348 PrintJobId printJobId = (PrintJobId) message.obj; in handleMessage() local
349 handleQueuedPrintJob(printJobId); in handleMessage()
353 PrintJobId printJobId = (PrintJobId) message.obj; in handleMessage() local
354 handleFailPrintJob(printJobId); in handleMessage()
358 PrintJobId printJobId = (PrintJobId) message.obj; in handleMessage() local
359 handleBlockPrintJob(printJobId); in handleMessage()
363 PrintJobId printJobId = (PrintJobId) message.obj; in handleMessage() local
364 handleUnblockPrintJob(printJobId); in handleMessage()
368 PrintJobId printJobId = (PrintJobId) message.obj; in handleMessage() local
369 handlePrintJobProgress(printJobId, message.arg1); in handleMessage()