Home
last modified time | relevance | path

Searched refs:PRINTER_NAME (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/print/ExternalPrintService/src/android/print/cts/externalservice/
DExternalService.java33 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/
DInteractionBetweenPrintDocumentAndPrinterDiscovery.java58 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()
DPrintJobStateTransitionsTest.java55 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);
DPrinterCapabilitiesChangeTest.java58 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()
DPrinterCapabilitiesTest.java58 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()
DPrintServicesTest.java82 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);
DPrintJobTest.java60 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);
DCustomPrintOptionsTest.java67 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()
DPrintAttributesTest.java59 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);