Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/print/mockservice/
DPrintServiceCallbacks.java19 import android.printservice.PrintJob;
36 public abstract void onRequestCancelPrintJob(PrintJob printJob); in onRequestCancelPrintJob()
38 public abstract void onPrintJobQueued(PrintJob printJob); in onPrintJobQueued()
DStubbablePrintService.java19 import android.printservice.PrintJob;
36 public void onRequestCancelPrintJob(PrintJob printJob) { in onRequestCancelPrintJob()
44 public void onPrintJobQueued(PrintJob printJob) { in onPrintJobQueued()
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/mockservice/
DPrintServiceCallbacks.java19 import android.printservice.PrintJob;
36 public abstract void onRequestCancelPrintJob(PrintJob printJob); in onRequestCancelPrintJob()
38 public abstract void onPrintJobQueued(PrintJob printJob); in onPrintJobQueued()
DStubbablePrintService.java19 import android.printservice.PrintJob;
36 public void onRequestCancelPrintJob(PrintJob printJob) { in onRequestCancelPrintJob()
44 public void onPrintJobQueued(PrintJob printJob) { in onPrintJobQueued()
/frameworks/base/core/java/android/printservice/
DPrintService.java320 protected abstract void onRequestCancelPrintJob(PrintJob printJob); in onRequestCancelPrintJob()
331 protected abstract void onPrintJobQueued(PrintJob printJob); in onPrintJobQueued()
343 public final List<PrintJob> getActivePrintJobs() { in getActivePrintJobs()
349 List<PrintJob> printJobs = null; in getActivePrintJobs()
353 printJobs = new ArrayList<PrintJob>(printJobInfoCount); in getActivePrintJobs()
355 printJobs.add(new PrintJob(this, printJobInfos.get(i), mClient)); in getActivePrintJobs()
575 onRequestCancelPrintJob(new PrintJob(PrintService.this, printJobInfo, mClient));
587 onPrintJobQueued(new PrintJob(PrintService.this, printJobInfo, mClient));
DPrintJob.java41 public final class PrintJob { class
54 PrintJob(@NonNull Context context, @NonNull PrintJobInfo jobInfo, in PrintJob() method in PrintJob
449 PrintJob other = (PrintJob) obj; in equals()
/frameworks/base/core/java/android/print/
DPrintJob.java33 public final class PrintJob { class
39 PrintJob(@NonNull PrintJobInfo info, @NonNull PrintManager printManager) { in PrintJob() method in PrintJob
197 PrintJob other = (PrintJob) obj; in equals()
DPrintManager.java367 public PrintJob getPrintJob(PrintJobId printJobId) { in getPrintJob()
375 return new PrintJob(printJob, this); in getPrintJob()
411 public @NonNull List<PrintJob> getPrintJobs() { in getPrintJobs()
422 List<PrintJob> printJobs = new ArrayList<PrintJob>(printJobCount); in getPrintJobs()
424 printJobs.add(new PrintJob(printJobInfos.get(i), this)); in getPrintJobs()
505 public @NonNull PrintJob print(@NonNull String printJobName, in print()
534 return new PrintJob(printJob, this); in print()
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DBasePrintTest.java33 import android.printservice.PrintJob;
63 private android.print.PrintJob mPrintJob;
109 protected android.print.PrintJob print(@NonNull final PrintDocumentAdapter adapter, in print()
202 doAnswer(onPrintJobQueued).when(service).onPrintJobQueued(any(PrintJob.class)); in createMockPrintServiceCallbacks()
206 any(PrintJob.class)); in createMockPrintServiceCallbacks()
/frameworks/base/core/tests/coretests/src/android/print/
DBasePrintTest.java39 import android.printservice.PrintJob;
64 private android.print.PrintJob mPrintJob;
153 protected android.print.PrintJob print(@NonNull final PrintDocumentAdapter adapter, in print()
271 doAnswer(onPrintJobQueued).when(service).onPrintJobQueued(any(PrintJob.class)); in createMockPrintServiceCallbacks()
275 any(PrintJob.class)); in createMockPrintServiceCallbacks()
DIPrintManagerParametersTest.java66 private PrintJob mGoodPrintJob;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt23029 public final class PrintJob {
23080 method public java.util.List<android.print.PrintJob> getPrintJobs();
23081 …method public android.print.PrintJob print(java.lang.String, android.print.PrintDocumentAdapter, a…
23156 public final class PrintJob {
23182 method public final java.util.List<android.printservice.PrintJob> getActivePrintJobs();
23187 method protected abstract void onPrintJobQueued(android.printservice.PrintJob);
23188 method protected abstract void onRequestCancelPrintJob(android.printservice.PrintJob);
/frameworks/base/api/
Dcurrent.txt32557 public final class PrintJob {
32611 method public java.util.List<android.print.PrintJob> getPrintJobs();
32612 …method public android.print.PrintJob print(java.lang.String, android.print.PrintDocumentAdapter, a…
32696 public final class PrintJob {
32725 method public final java.util.List<android.printservice.PrintJob> getActivePrintJobs();
32730 method protected abstract void onPrintJobQueued(android.printservice.PrintJob);
32731 method protected abstract void onRequestCancelPrintJob(android.printservice.PrintJob);
Dtest-current.txt32743 public final class PrintJob {
32799 method public java.util.List<android.print.PrintJob> getPrintJobs();
32800 …method public android.print.PrintJob print(java.lang.String, android.print.PrintDocumentAdapter, a…
32885 public final class PrintJob {
32914 method public final java.util.List<android.printservice.PrintJob> getActivePrintJobs();
32919 method protected abstract void onPrintJobQueued(android.printservice.PrintJob);
32920 method protected abstract void onRequestCancelPrintJob(android.printservice.PrintJob);
Dsystem-current.txt35427 public final class PrintJob {
35483 method public java.util.List<android.print.PrintJob> getPrintJobs();
35486 …method public android.print.PrintJob print(java.lang.String, android.print.PrintDocumentAdapter, a…
35581 public final class PrintJob {
35610 method public final java.util.List<android.printservice.PrintJob> getActivePrintJobs();
35615 method protected abstract void onPrintJobQueued(android.printservice.PrintJob);
35616 method protected abstract void onRequestCancelPrintJob(android.printservice.PrintJob);