Home
last modified time | relevance | path

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

/cts/tests/tests/print/src/android/print/cts/
DPrintServicesTest.java78 private static final String PRINTER_NAME = "Test printer"; field in PrintServicesTest
120 infoIntent.putExtra("PRINTER_NAME", PRINTER_NAME); in createMockPrinterDiscoverySessionCallbacks()
280 = createMockPrinterDiscoverySessionCallbacks(PRINTER_NAME, null);
302 selectPrinter(PRINTER_NAME);
386 = createMockPrinterDiscoverySessionCallbacks(PRINTER_NAME, null);
450 = createMockPrinterDiscoverySessionCallbacks(PRINTER_NAME, null);
591 = createMockPrinterDiscoverySessionCallbacks(PRINTER_NAME, trackedPrinters);
612 assertFalse(trackedPrinters.contains(PRINTER_NAME));
617 assertEquals(PRINTER_NAME, intent.getStringExtra("PRINTER_NAME"));
632 eventually(() -> assertTrue(trackedPrinters.contains(PRINTER_NAME)));
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.java57 private static final String PRINTER_NAME = "Test printer"; field in PrinterCapabilitiesTest
79 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in illegalPrinterCapabilityInfos()
327 .generatePrinterId(PRINTER_NAME); in testPrinterCapabilityInfo()
330 printers.add((new PrinterInfo.Builder(printerId, PRINTER_NAME, in testPrinterCapabilityInfo()
387 selectPrinter(PRINTER_NAME); in testPrinterCapabilityInfo()
DCustomPrintOptionsTest.java66 private static final String PRINTER_NAME = "Test printer"; field in CustomPrintOptionsTest
133 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in setUpServicesAndAdapter()
148 printers.add(new PrinterInfo.Builder(printerId, PRINTER_NAME, in setUpServicesAndAdapter()
211 makeDefaultPrinter(mAdapter, PRINTER_NAME); in setUpServicesAndAdapter()
DPrintJobTest.java59 private static final String PRINTER_NAME = "TestPrinter"; field in PrintJobTest
88 sDiscoverySession.getService().generatePrinterId(PRINTER_NAME); in createFirstMockPrinterDiscoverySessionCallbacks()
90 sDiscoverySession.getService().generatePrinterId(PRINTER_NAME), in createFirstMockPrinterDiscoverySessionCallbacks()
91 PRINTER_NAME, PrinterInfo.STATUS_IDLE); in createFirstMockPrinterDiscoverySessionCallbacks()
233 makeDefaultPrinter(adapter, PRINTER_NAME);
DPrintAttributesTest.java58 private final String PRINTER_NAME = "Test printer"; field in PrintAttributesTest
156 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in createMockPrinterDiscoverySessionCallbacks()
195 PrinterInfo printer = new PrinterInfo.Builder(printerId, PRINTER_NAME, in createMockPrinterDiscoverySessionCallbacks()
335 makeDefaultPrinter(adapter, PRINTER_NAME);