/cts/tests/tests/print/src/android/print/cts/ |
D | PrinterCapabilitiesTest.java | 80 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in illegalPrinterCapabilityInfos() 89 (new PrinterCapabilitiesInfo.Builder(printerId)) in illegalPrinterCapabilityInfos() 96 (new PrinterCapabilitiesInfo.Builder(printerId)) in illegalPrinterCapabilityInfos() 102 (new PrinterCapabilitiesInfo.Builder(printerId)) in illegalPrinterCapabilityInfos() 108 (new PrinterCapabilitiesInfo.Builder(printerId)) in illegalPrinterCapabilityInfos() 116 (new PrinterCapabilitiesInfo.Builder(printerId)) in illegalPrinterCapabilityInfos() 125 (new PrinterCapabilitiesInfo.Builder(printerId)) in illegalPrinterCapabilityInfos() 131 (new PrinterCapabilitiesInfo.Builder(printerId)) in illegalPrinterCapabilityInfos() 139 (new PrinterCapabilitiesInfo.Builder(printerId)) in illegalPrinterCapabilityInfos() 148 (new PrinterCapabilitiesInfo.Builder(printerId)) in illegalPrinterCapabilityInfos() [all …]
|
D | PrinterInfoTest.java | 140 PrinterId printerId = null; in createFirstMockPrinterDiscoverySessionCallbacks() local 143 printerId = sDiscoverySession in createFirstMockPrinterDiscoverySessionCallbacks() 148 printerId = sDiscoverySession in createFirstMockPrinterDiscoverySessionCallbacks() 173 printerId, name, status); in createFirstMockPrinterDiscoverySessionCallbacks() 180 if (printerId == null in createFirstMockPrinterDiscoverySessionCallbacks() 273 if (printer.getId() != printerId in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | PrinterCapabilitiesChangeTest.java | 86 private List<PrinterInfo> generatePrinters(PrinterId printerId, MediaSize mediaSize, in generatePrinters() argument 94 printerId); in generatePrinters() 107 printers.add(new PrinterInfo.Builder(printerId, PRINTER_NAME, status).setCapabilities(cap) in generatePrinters() 149 final PrinterId printerId, final MediaSize mediaSize, final boolean isAvailable) in changeCapabilities() argument 152 () -> session.addPrinters(generatePrinters(printerId, mediaSize, isAvailable ? in changeCapabilities()
|
D | PrintServicesTest.java | 94 @NonNull PrinterId printerId) { in getDefaultOptionPrinterCapabilites() 95 return new PrinterCapabilitiesInfo.Builder(printerId) in getDefaultOptionPrinterCapabilites() 120 PrinterId printerId = session.getService() in createMockPrinterDiscoverySessionCallbacks() local 130 sPrinter = new PrinterInfo.Builder(printerId, printerName, in createMockPrinterDiscoverySessionCallbacks() 132 .setCapabilities(getDefaultOptionPrinterCapabilites(printerId)) in createMockPrinterDiscoverySessionCallbacks()
|
D | CustomPrintOptionsTest.java | 134 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in setUpServicesAndAdapter() 137 new PrinterCapabilitiesInfo.Builder(printerId); in setUpServicesAndAdapter() 149 printers.add(new PrinterInfo.Builder(printerId, PRINTER_NAME, in setUpServicesAndAdapter()
|
D | PrintAttributesTest.java | 157 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in createMockPrinterDiscoverySessionCallbacks() local 160 new PrinterCapabilitiesInfo.Builder(printerId); in createMockPrinterDiscoverySessionCallbacks() 196 PrinterInfo printer = new PrinterInfo.Builder(printerId, PRINTER_NAME, in createMockPrinterDiscoverySessionCallbacks()
|
D | PrintJobStateTransitionsTest.java | 89 PrinterId printerId = in createFirstMockPrinterDiscoverySessionCallbacks() local 95 printer.setCapabilities(new PrinterCapabilitiesInfo.Builder(printerId) in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | InterfaceForAppsTest.java | 74 PrinterId printerId = session.getService().generatePrinterId(TEST_PRINTER); in createFirstMockPrinterDiscoverySessionCallbacks() local 79 printer.setCapabilities(new PrinterCapabilitiesInfo.Builder(printerId) in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | PrintJobTest.java | 88 PrinterId printerId = in createFirstMockPrinterDiscoverySessionCallbacks() local 94 printer.setCapabilities(new PrinterCapabilitiesInfo.Builder(printerId) in createFirstMockPrinterDiscoverySessionCallbacks()
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/ |
D | StubbablePrinterDiscoverySession.java | 67 public void onStartPrinterStateTracking(@NonNull PrinterId printerId) { in onStartPrinterStateTracking() argument 69 mCallbacks.onStartPrinterStateTracking(printerId); in onStartPrinterStateTracking() 74 public void onRequestCustomPrinterIcon(@NonNull PrinterId printerId, in onRequestCustomPrinterIcon() argument 78 mCallbacks.onRequestCustomPrinterIcon(printerId, cancellationSignal, callback); in onRequestCustomPrinterIcon() 83 public void onStopPrinterStateTracking(@NonNull PrinterId printerId) { in onStopPrinterStateTracking() argument 85 mCallbacks.onStopPrinterStateTracking(printerId); in onStopPrinterStateTracking()
|
D | PrinterDiscoverySessionCallbacks.java | 43 public abstract void onStartPrinterStateTracking(PrinterId printerId); in onStartPrinterStateTracking() argument 45 public abstract void onRequestCustomPrinterIcon(PrinterId printerId, in onRequestCustomPrinterIcon() argument 48 public abstract void onStopPrinterStateTracking(PrinterId printerId); in onStopPrinterStateTracking() argument
|
D | StubbablePrintService.java | 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 | 56 public void onStartPrinterStateTracking(PrinterId printerId) { in onCreatePrinterDiscoverySession() argument 61 public void onStopPrinterStateTracking(PrinterId printerId) { in onCreatePrinterDiscoverySession() argument
|