/cts/tests/tests/print/src/android/print/cts/ |
D | PrintJobTest.java | 115 void onPrintJobQueued(PrintJob printJob) throws Throwable; in onPrintJobQueued() argument 130 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in createFirstMockPrinterServiceCallbacks() 133 printJobTest.onPrintJobQueued(printJob); in createFirstMockPrinterServiceCallbacks() 229 sessionCallbacks, printJob -> { }); 250 baseTest(printJob -> { 251 printJob.start(); 252 checkState(printJob, PrintJobInfo.STATE_STARTED); 254 printJob.setStatus(R.string.testStr1); 256 printJob.getInfo().getStatus(getActivity().getPackageManager()))); 258 boolean success = printJob.block("test reason"); [all …]
|
D | PageRangeAdjustmentTest.java | 79 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in setDefaultPrinter() 80 printJob.complete(); in setDefaultPrinter() 104 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in allPagesWantedAndAllPagesWritten() 105 PageRange[] pages = printJob.getInfo().getPages(); in allPagesWantedAndAllPagesWritten() 107 printJob.complete(); in allPagesWantedAndAllPagesWritten() 152 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in somePagesWantedAndAllPagesWritten() 153 PageRange[] pages = printJob.getInfo().getPages(); in somePagesWantedAndAllPagesWritten() 157 printJob.complete(); in somePagesWantedAndAllPagesWritten() 240 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in somePagesWantedAndSomeMorePagesWritten() 241 PrintJobInfo printJobInfo = printJob.getInfo(); in somePagesWantedAndSomeMorePagesWritten() [all …]
|
D | PrintJobStateTransitionsTest.java | 116 void onPrintJobQueued(PrintJob printJob) throws Throwable; in onPrintJobQueued() argument 131 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in createFirstMockPrinterServiceCallbacks() 134 printJobTest.onPrintJobQueued(printJob); in createFirstMockPrinterServiceCallbacks() 278 sessionCallbacks, printJob -> { }); 323 sessionCallbacks, printJob -> { 326 boolean success = setState(printJob, mState1); 332 checkState(printJob, mState1); 338 success = setState(printJob, mState2); 343 checkState(printJob, mState2); 349 success = setState(printJob, mState3); [all …]
|
D | PrintDocumentInfoTest.java | 110 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in printDocumentBaseTest() 112 queuedInfo[0] = printJob.getDocument().getInfo(); in printDocumentBaseTest() 113 queuedData[0] = printJob.getDocument().getData(); in printDocumentBaseTest() 115 printJob.complete(); in printDocumentBaseTest() 324 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in createFirstMockPrintServiceCallbacks() 325 printJob.complete(); in createFirstMockPrintServiceCallbacks()
|
D | PageRangeAdjustAndVerify.java | 89 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in setDefaultPrinter() 90 printJob.complete(); in setDefaultPrinter() 191 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in adjustPageRangeAndVerifyPages() 194 printJob.getDocument().getInfo().getPageCount()); in adjustPageRangeAndVerifyPages() 196 printJob.getInfo().getPages()); in adjustPageRangeAndVerifyPages() 198 ParcelFileDescriptor original = printJob.getDocument().getData(); in adjustPageRangeAndVerifyPages() 219 printJob.start(); in adjustPageRangeAndVerifyPages() 256 printJob.complete(); in adjustPageRangeAndVerifyPages()
|
D | PrinterDiscoverySessionLifecycleTest.java | 254 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in normalLifecycle() 256 printJob.complete(); in normalLifecycle() 367 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in cancelPrintServicesAlertDialog() 369 printJob.complete(); in cancelPrintServicesAlertDialog() 462 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in startPrinterDiscoveryWithHistoricalPrinters() 464 printJob.complete(); in startPrinterDiscoveryWithHistoricalPrinters()
|
D | CustomPrintOptionsTest.java | 274 (printJob, printer) -> { in testCase() argument 278 printJobBuilder = new PrintJobInfo.Builder(printJob); in testCase()
|
D | PrintAttributesTest.java | 286 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; 288 printJob.complete();
|
D | PrintDocumentAdapterContractTest.java | 2050 PrintJob printJob = (PrintJob) invocation.getArguments()[0]; in createFirstMockPrintServiceCallbacks() 2051 printJob.complete(); in createFirstMockPrintServiceCallbacks()
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/ |
D | StubbablePrintService.java | 74 public void onRequestCancelPrintJob(PrintJob printJob) { in onRequestCancelPrintJob() argument 77 callbacks.onRequestCancelPrintJob(printJob); in onRequestCancelPrintJob() 82 public void onPrintJobQueued(PrintJob printJob) { in onPrintJobQueued() argument 85 callbacks.onPrintJobQueued(printJob); in onPrintJobQueued()
|
D | PrintServiceCallbacks.java | 35 public abstract void onRequestCancelPrintJob(PrintJob printJob); in onRequestCancelPrintJob() argument 37 public abstract void onPrintJobQueued(PrintJob printJob); in onPrintJobQueued() argument
|
/cts/tests/tests/print/ExternalPrintService/src/android/print/cts/externalservice/ |
D | ExternalService.java | 73 protected void onRequestCancelPrintJob(PrintJob printJob) { 78 protected void onPrintJobQueued(PrintJob printJob) {
|
/cts/hostsidetests/devicepolicy/app/PrintingApp/src/com/android/cts/devicepolicy/printingapp/ |
D | PrintActivity.java | 44 PrintJob printJob = printManager.print(PRINT_JOB_NAME, new PrintDocumentAdapter() { in onStart() local 77 if (printJob != null) { in onStart()
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/ |
D | BasePrintTest.java | 348 android.print.PrintJob[] printJob = new android.print.PrintJob[1]; in print() local 353 printJob[0] = printManager.print("Print job", adapter, attributes); in print() 356 return printJob[0]; in print()
|