/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/ |
D | PrinterDiscoverySessionCallbacks.java | 20 import android.print.PrinterId; 37 public abstract void onStartPrinterDiscovery(List<PrinterId> priorityList); in onStartPrinterDiscovery() 41 public abstract void onValidatePrinters(List<PrinterId> printerIds); in onValidatePrinters() 43 public abstract void onStartPrinterStateTracking(PrinterId printerId); in onStartPrinterStateTracking() 45 public abstract void onRequestCustomPrinterIcon(PrinterId printerId, in onRequestCustomPrinterIcon() 48 public abstract void onStopPrinterStateTracking(PrinterId printerId); in onStopPrinterStateTracking()
|
D | StubbablePrinterDiscoverySession.java | 20 import android.print.PrinterId; 46 public void onStartPrinterDiscovery(@NonNull List<PrinterId> priorityList) { in onStartPrinterDiscovery() 60 public void onValidatePrinters(@NonNull List<PrinterId> printerIds) { in onValidatePrinters() 67 public void onStartPrinterStateTracking(@NonNull PrinterId printerId) { in onStartPrinterStateTracking() 74 public void onRequestCustomPrinterIcon(@NonNull PrinterId printerId, in onRequestCustomPrinterIcon() 83 public void onStopPrinterStateTracking(@NonNull PrinterId printerId) { in onStopPrinterStateTracking()
|
D | StubbablePrintService.java | 20 import android.print.PrinterId; 42 public void onStartPrinterDiscovery(List<PrinterId> priorityList) { in onCreatePrinterDiscoverySession() 52 public void onValidatePrinters(List<PrinterId> printerIds) { in onCreatePrinterDiscoverySession() 57 public void onStartPrinterStateTracking(PrinterId printerId) { in onCreatePrinterDiscoverySession() 62 public void onStopPrinterStateTracking(PrinterId printerId) { in onCreatePrinterDiscoverySession()
|
/cts/tests/tests/print/ExternalPrintService/src/android/print/cts/externalservice/ |
D | ExternalService.java | 23 import android.print.PrinterId; 39 public void onStartPrinterDiscovery(List<PrinterId> priorityList) { in onCreatePrinterDiscoverySession() 51 public void onValidatePrinters(List<PrinterId> printerIds) { in onCreatePrinterDiscoverySession() 56 public void onStartPrinterStateTracking(PrinterId printerId) { in onCreatePrinterDiscoverySession() 61 public void onStopPrinterStateTracking(PrinterId printerId) { in onCreatePrinterDiscoverySession()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PrinterDiscoverySessionLifecycleTest.java | 34 import android.print.PrinterId; 84 PrinterId firstPrinterId = sSession.getService().generatePrinterId( in addPrinter() 307 PrinterId firstPrinterId = getAddedPrinterIdForLocalId( in normalLifecycle() 309 PrinterId secondPrinterId = getAddedPrinterIdForLocalId( in normalLifecycle() 333 List<PrinterId> emptyPrinterIdList = Collections.emptyList(); in normalLifecycle() 404 PrinterId firstPrinterId = getAddedPrinterIdForLocalId( in cancelPrintServicesAlertDialog() 431 List<PrinterId> emptyPrinterIdList = Collections.emptyList(); in cancelPrintServicesAlertDialog() 498 PrinterId firstPrinterId = getAddedPrinterIdForLocalId( in startPrinterDiscoveryWithHistoricalPrinters() 537 List<PrinterId> priorityList = new ArrayList<>(); in startPrinterDiscoveryWithHistoricalPrinters() 609 PrinterId[] printerIds = new PrinterId[3]; in addRemovePrinters() [all …]
|
D | PrinterCapabilitiesChangeTest.java | 32 import android.print.PrinterId; 70 private final PrinterId[] mPrinterId = new PrinterId[1]; 86 private List<PrinterInfo> generatePrinters(PrinterId printerId, MediaSize mediaSize, in generatePrinters() 149 final PrinterId printerId, final MediaSize mediaSize, final boolean isAvailable) in changeCapabilities()
|
D | PrintServicesTest.java | 49 import android.print.PrinterId; 94 @NonNull PrinterId printerId) { in getDefaultOptionPrinterCapabilites() 120 PrinterId printerId = session.getService() in createMockPrinterDiscoverySessionCallbacks() 591 PrinterId printer1Id = session.getService().generatePrinterId("Printer1"); 597 PrinterId printer2Id = session.getService().generatePrinterId("Printer2"); 622 ((PrinterId) invocation.getArguments()[0]).getLocalId()); 630 ((PrinterId) invocation.getArguments()[0]).getLocalId());
|
D | PrinterCapabilitiesTest.java | 35 import android.print.PrinterId; 80 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in illegalPrinterCapabilityInfos() 212 PrinterId printerId = session.getService() in sanePrinterCapabilityInfos() 319 private void testPrinterCapabilityInfo(final Function<PrinterId, PrinterCapabilitiesInfo> in testPrinterCapabilityInfo() argument 327 PrinterId printerId = session.getService() in testPrinterCapabilityInfo()
|
D | InteractionBetweenPrintDocumentAndPrinterDiscovery.java | 36 import android.print.PrinterId; 74 PrinterId testId = session.getService().generatePrinterId(PRINTER_NAME); in addPrinter()
|
D | PrintDocumentInfoTest.java | 35 import android.print.PrinterId; 294 PrinterId firstPrinterId = service.generatePrinterId("first_printer"); in createFirstMockDiscoverySessionCallbacks()
|
D | PrinterInfoTest.java | 28 import android.print.PrinterId; 140 PrinterId printerId = null; in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | PrintJobStateTransitionsTest.java | 31 import android.print.PrinterId; 89 PrinterId printerId = in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | CustomPrintOptionsTest.java | 34 import android.print.PrinterId; 134 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in setUpServicesAndAdapter()
|
D | PageRangeAdjustAndVerify.java | 37 import android.print.PrinterId; 381 PrinterId firstPrinterId = service.generatePrinterId("first_printer"); in createMockFirstPrinterDiscoverySessionCallbacks()
|
D | InterfaceForAppsTest.java | 32 import android.print.PrinterId; 74 PrinterId printerId = session.getService().generatePrinterId(TEST_PRINTER); in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | PrintAttributesTest.java | 32 import android.print.PrinterId; 157 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in createMockPrinterDiscoverySessionCallbacks()
|
D | PageRangeAdjustmentTest.java | 37 import android.print.PrinterId; 518 PrinterId firstPrinterId = service.generatePrinterId("first_printer"); in createMockFirstPrinterDiscoverySessionCallbacks()
|
D | PrintJobTest.java | 36 import android.print.PrinterId; 88 PrinterId printerId = in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | PrintDocumentAdapterContractTest.java | 39 import android.print.PrinterId; 1997 PrinterId firstPrinterId = service.generatePrinterId("first_printer"); in createFirstMockDiscoverySessionCallbacks() 2014 PrinterId secondPrinterId = service.generatePrinterId("second_printer"); in createFirstMockDiscoverySessionCallbacks() 2038 PrinterId thirdPrinterId = service.generatePrinterId("third_printer"); in createFirstMockDiscoverySessionCallbacks()
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/ |
D | BasePrintTest.java | 55 import android.print.PrinterId; 921 any(PrinterId.class)); in createMockPrinterDiscoverySessionCallbacks() 925 any(PrinterId.class), any(CancellationSignal.class), in createMockPrinterDiscoverySessionCallbacks() 930 any(PrinterId.class)); in createMockPrinterDiscoverySessionCallbacks()
|