Home
last modified time | relevance | path

Searched refs:PrinterId (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/
DPrinterDiscoverySessionCallbacks.java20 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()
DStubbablePrinterDiscoverySession.java20 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()
DStubbablePrintService.java20 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/
DExternalService.java23 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/
DPrinterDiscoverySessionLifecycleTest.java34 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 …]
DPrinterCapabilitiesChangeTest.java32 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()
DPrintServicesTest.java49 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());
DPrinterCapabilitiesTest.java35 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()
DInteractionBetweenPrintDocumentAndPrinterDiscovery.java36 import android.print.PrinterId;
74 PrinterId testId = session.getService().generatePrinterId(PRINTER_NAME); in addPrinter()
DPrintDocumentInfoTest.java35 import android.print.PrinterId;
294 PrinterId firstPrinterId = service.generatePrinterId("first_printer"); in createFirstMockDiscoverySessionCallbacks()
DPrinterInfoTest.java28 import android.print.PrinterId;
140 PrinterId printerId = null; in createFirstMockPrinterDiscoverySessionCallbacks()
DPrintJobStateTransitionsTest.java31 import android.print.PrinterId;
89 PrinterId printerId = in createFirstMockPrinterDiscoverySessionCallbacks()
DCustomPrintOptionsTest.java34 import android.print.PrinterId;
134 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in setUpServicesAndAdapter()
DPageRangeAdjustAndVerify.java37 import android.print.PrinterId;
381 PrinterId firstPrinterId = service.generatePrinterId("first_printer"); in createMockFirstPrinterDiscoverySessionCallbacks()
DInterfaceForAppsTest.java32 import android.print.PrinterId;
74 PrinterId printerId = session.getService().generatePrinterId(TEST_PRINTER); in createFirstMockPrinterDiscoverySessionCallbacks()
DPrintAttributesTest.java32 import android.print.PrinterId;
157 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in createMockPrinterDiscoverySessionCallbacks()
DPageRangeAdjustmentTest.java37 import android.print.PrinterId;
518 PrinterId firstPrinterId = service.generatePrinterId("first_printer"); in createMockFirstPrinterDiscoverySessionCallbacks()
DPrintJobTest.java36 import android.print.PrinterId;
88 PrinterId printerId = in createFirstMockPrinterDiscoverySessionCallbacks()
DPrintDocumentAdapterContractTest.java39 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/
DBasePrintTest.java55 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()