/cts/tests/tests/print/ExternalPrintService/src/android/print/cts/externalservice/ |
D | ExternalService.java | 33 private static final String PRINTER_NAME = "ExternalServicePrinter"; field in ExternalService 41 (new PrinterInfo.Builder(generatePrinterId(PRINTER_NAME), PRINTER_NAME, in onCreatePrinterDiscoverySession()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | InteractionBetweenPrintDocumentAndPrinterDiscovery.java | 58 static final String PRINTER_NAME = "Test printer"; field in InteractionBetweenPrintDocumentAndPrinterDiscovery 74 PrinterId testId = session.getService().generatePrinterId(PRINTER_NAME); in addPrinter() 82 PrinterInfo testPrinter = new PrinterInfo.Builder(testId, PRINTER_NAME, status) in addPrinter() 157 selectPrinter(PRINTER_NAME); in printerReappearsWhileCanceling()
|
D | PrintJobStateTransitionsTest.java | 55 private static final String PRINTER_NAME = "TestPrinter"; field in PrintJobStateTransitionsTest 90 sDiscoverySession.getService().generatePrinterId(PRINTER_NAME); in createFirstMockPrinterDiscoverySessionCallbacks() 92 sDiscoverySession.getService().generatePrinterId(PRINTER_NAME), in createFirstMockPrinterDiscoverySessionCallbacks() 93 PRINTER_NAME, PrinterInfo.STATUS_IDLE); in createFirstMockPrinterDiscoverySessionCallbacks() 289 makeDefaultPrinter(adapter, PRINTER_NAME);
|
D | PrinterCapabilitiesChangeTest.java | 58 private static final String PRINTER_NAME = "Test printer"; field in PrinterCapabilitiesChangeTest 107 printers.add(new PrinterInfo.Builder(printerId, PRINTER_NAME, status).setCapabilities(cap) in generatePrinters() 165 mPrinterId[0] = mSession[0].getService().generatePrinterId(PRINTER_NAME); in setUpPrinting() 223 makeDefaultPrinter(mAdapter, PRINTER_NAME); in setUpPrinting()
|
D | PrinterCapabilitiesTest.java | 58 private static final String PRINTER_NAME = "Test printer"; field in PrinterCapabilitiesTest 80 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in illegalPrinterCapabilityInfos() 328 .generatePrinterId(PRINTER_NAME); in testPrinterCapabilityInfo() 331 printers.add((new PrinterInfo.Builder(printerId, PRINTER_NAME, in testPrinterCapabilityInfo() 388 selectPrinter(PRINTER_NAME); in testPrinterCapabilityInfo()
|
D | PrintServicesTest.java | 82 private static final String PRINTER_NAME = "Test printer"; field in PrintServicesTest 124 infoIntent.putExtra("PRINTER_NAME", PRINTER_NAME); in createMockPrinterDiscoverySessionCallbacks() 267 createMockPrinterDiscoverySessionCallbacks(PRINTER_NAME); 289 selectPrinter(PRINTER_NAME); 375 createMockPrinterDiscoverySessionCallbacks(PRINTER_NAME); 439 createMockPrinterDiscoverySessionCallbacks(PRINTER_NAME);
|
D | PrintJobTest.java | 60 private static final String PRINTER_NAME = "TestPrinter"; field in PrintJobTest 89 sDiscoverySession.getService().generatePrinterId(PRINTER_NAME); in createFirstMockPrinterDiscoverySessionCallbacks() 91 sDiscoverySession.getService().generatePrinterId(PRINTER_NAME), in createFirstMockPrinterDiscoverySessionCallbacks() 92 PRINTER_NAME, PrinterInfo.STATUS_IDLE); in createFirstMockPrinterDiscoverySessionCallbacks() 238 makeDefaultPrinter(adapter, PRINTER_NAME);
|
D | CustomPrintOptionsTest.java | 67 private static final String PRINTER_NAME = "Test printer"; field in CustomPrintOptionsTest 134 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in setUpServicesAndAdapter() 149 printers.add(new PrinterInfo.Builder(printerId, PRINTER_NAME, in setUpServicesAndAdapter() 212 makeDefaultPrinter(mAdapter, PRINTER_NAME); in setUpServicesAndAdapter()
|
D | PrintAttributesTest.java | 59 private final String PRINTER_NAME = "Test printer"; field in PrintAttributesTest 157 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in createMockPrinterDiscoverySessionCallbacks() 196 PrinterInfo printer = new PrinterInfo.Builder(printerId, PRINTER_NAME, in createMockPrinterDiscoverySessionCallbacks() 336 makeDefaultPrinter(adapter, PRINTER_NAME);
|