Searched refs:PrinterId (Results 1 – 12 of 12) sorted by relevance
/cts/tests/tests/print/src/android/print/cts/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; 45 public void onStartPrinterDiscovery(List<PrinterId> priorityList) { in onStartPrinterDiscovery() 59 public void onValidatePrinters(List<PrinterId> printerIds) { in onValidatePrinters() 66 public void onStartPrinterStateTracking(PrinterId printerId) { in onStartPrinterStateTracking() 73 public void onRequestCustomPrinterIcon(PrinterId printerId, in onRequestCustomPrinterIcon() 81 public void onStopPrinterStateTracking(PrinterId printerId) { in onStopPrinterStateTracking()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PrinterDiscoverySessionLifecycleTest.java | 32 import android.print.PrinterId; 115 PrinterId firstPrinterId = getAddedPrinterIdForLocalId(firstSessionCallbacks, in testNormalLifecycle() 117 PrinterId secondPrinterId = getAddedPrinterIdForLocalId(firstSessionCallbacks, in testNormalLifecycle() 135 List<PrinterId> emptyPrinterIdList = Collections.emptyList(); in testNormalLifecycle() 208 PrinterId firstPrinterId = getAddedPrinterIdForLocalId(firstSessionCallbacks, in testCancelPrintServicesAlertDialog() 231 List<PrinterId> emptyPrinterIdList = Collections.emptyList(); in testCancelPrintServicesAlertDialog() 300 PrinterId firstPrinterId = getAddedPrinterIdForLocalId( in testStartPrinterDiscoveryWithHistoricalPrinters() 333 List<PrinterId> priorityList = new ArrayList<PrinterId>(); in testStartPrinterDiscoveryWithHistoricalPrinters() 374 private PrinterId getAddedPrinterIdForLocalId( in getAddedPrinterIdForLocalId() 414 PrinterId firstPrinterId = session.getService().generatePrinterId( in createFirstMockPrinterDiscoverySessionCallbacks() [all …]
|
D | PrinterCapabilitiesTest.java | 30 import android.print.PrinterId; 72 private List<PrinterInfo> generatePrinters(PrinterId printerId, MediaSize mediaSize, in generatePrinters() 135 final PrinterId printerId, final MediaSize mediaSize, final boolean isAvailable) { in changeCapabilities() 176 final PrinterId[] printerId, final boolean availBefore, final MediaSize msBefore, in testCase() 274 final PrinterId[] printerId = new PrinterId[1]; in testPrinterCapabilityChange() 376 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in testIllegalPrinterCapabilityInfos() 522 PrinterId printerId = session.getService() in testSanePrinterCapabilityInfos() 604 private void testPrinterCapabilityInfo(final Function<PrinterId, PrinterCapabilitiesInfo> in testPrinterCapabilityInfo() argument 618 PrinterId printerId = session.getService() in testPrinterCapabilityInfo()
|
D | PrinterInfoTest.java | 34 import android.print.PrinterId; 204 PrinterId printerId = null;
|
D | BasePrintTest.java | 44 import android.print.PrinterId; 677 any(PrinterId.class)); in createMockPrinterDiscoverySessionCallbacks() 681 any(PrinterId.class), any(CancellationSignal.class), in createMockPrinterDiscoverySessionCallbacks() 686 any(PrinterId.class)); in createMockPrinterDiscoverySessionCallbacks()
|
D | CustomPrintOptionsTest.java | 31 import android.print.PrinterId; 142 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in testCase()
|
D | PrintServicesTest.java | 45 import android.print.PrinterId; 165 PrinterId printerId = mDiscoverySession.getService()
|
D | PrintAttributesTest.java | 30 import android.print.PrinterId; 151 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in createMockPrinterDiscoverySessionCallbacks()
|
D | PageRangeAdjustmentTest.java | 35 import android.print.PrinterId; 666 PrinterId firstPrinterId = service.generatePrinterId("first_printer"); in createMockFirstPrinterDiscoverySessionCallbacks()
|
D | PrintJobTest.java | 31 import android.print.PrinterId; 136 PrinterId printerId =
|
D | PrintDocumentAdapterContractTest.java | 37 import android.print.PrinterId; 1831 PrinterId firstPrinterId = service.generatePrinterId("first_printer"); in createFirstMockPrintServiceCallbacks() 1848 PrinterId secondPrinterId = service.generatePrinterId("second_printer"); in createFirstMockPrintServiceCallbacks() 1871 PrinterId thirdPrinterId = service.generatePrinterId("third_printer"); in createFirstMockPrintServiceCallbacks()
|