Home
last modified time | relevance | path

Searched refs:printer (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/print/src/android/print/cts/
DPrinterInfoTest.java265 PrinterInfo printer = b.build(); in createFirstMockPrinterDiscoverySessionCallbacks() local
273 if (printer.getId() != printerId in createFirstMockPrinterDiscoverySessionCallbacks()
274 || printer.getName() != name in createFirstMockPrinterDiscoverySessionCallbacks()
275 || printer.getStatus() != status in createFirstMockPrinterDiscoverySessionCallbacks()
276 || printer in createFirstMockPrinterDiscoverySessionCallbacks()
278 || printer.getCapabilities() in createFirstMockPrinterDiscoverySessionCallbacks()
283 printers.add(printer); in createFirstMockPrinterDiscoverySessionCallbacks()
DPrintJobStateTransitionsTest.java91 PrinterInfo.Builder printer = new PrinterInfo.Builder( in createFirstMockPrinterDiscoverySessionCallbacks() local
95 printer.setCapabilities(new PrinterCapabilitiesInfo.Builder(printerId) in createFirstMockPrinterDiscoverySessionCallbacks()
103 printers.add(printer.build()); in createFirstMockPrinterDiscoverySessionCallbacks()
DPrintJobTest.java90 PrinterInfo.Builder printer = new PrinterInfo.Builder( in createFirstMockPrinterDiscoverySessionCallbacks() local
94 printer.setCapabilities(new PrinterCapabilitiesInfo.Builder(printerId) in createFirstMockPrinterDiscoverySessionCallbacks()
102 printers.add(printer.build()); in createFirstMockPrinterDiscoverySessionCallbacks()
344 (printJob, printer) -> {
DInterfaceForAppsTest.java75 PrinterInfo.Builder printer = new PrinterInfo.Builder( in createFirstMockPrinterDiscoverySessionCallbacks() local
79 printer.setCapabilities(new PrinterCapabilitiesInfo.Builder(printerId) in createFirstMockPrinterDiscoverySessionCallbacks()
92 printers.add(printer.build()); in createFirstMockPrinterDiscoverySessionCallbacks()
DPrinterCapabilitiesTest.java245 PrinterInfo printer = (new PrinterInfo.Builder(printerId, in sanePrinterCapabilityInfos()
251 PrinterCapabilitiesInfo cap = printer.getCapabilities(); in sanePrinterCapabilityInfos()
278 printers.add(printer); in sanePrinterCapabilityInfos()
DPrintServicesTest.java342 final PrinterInfo printer) throws Throwable {
345 printers.add(printer);
350 sPrinter = printer;
DPrinterDiscoverySessionLifecycleTest.java87 PrinterInfo.Builder printer = new PrinterInfo.Builder(firstPrinterId, in addPrinter() local
91 printer.setCapabilities(new PrinterCapabilitiesInfo.Builder(firstPrinterId) in addPrinter()
100 sSession.addPrinters(Collections.singletonList(printer.build())); in addPrinter()
DPrintAttributesTest.java196 PrinterInfo printer = new PrinterInfo.Builder(printerId, PRINTER_NAME, in createMockPrinterDiscoverySessionCallbacks() local
198 printers.add(printer); in createMockPrinterDiscoverySessionCallbacks()
DCustomPrintOptionsTest.java287 (printJob, printer) -> { in testCase() argument
/cts/tests/tests/content/src/android/content/pm/cts/
DResolveInfoTest.java73 TestPrinter printer = new TestPrinter(); in testDump() local
75 resolveInfo.dump(printer, prefix); in testDump()
76 assertTrue(printer.isPrintlnCalled); in testDump()
DPackageItemInfoTest.java64 MockPrinter printer = new MockPrinter(); in testDump() local
66 pkgItemInfo.dumpBack(printer, ""); in testDump()
70 pkgItemInfo.dumpFront(printer, prefix); in testDump()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DEditorInfoTest.java92 Printer printer = mock(Printer.class); in testEditorInfo() local
94 info.dump(printer, prefix); in testEditorInfo()
95 verify(printer, atLeastOnce()).println(anyString()); in testEditorInfo()
DInputMethodInfoTest.java162 Printer printer = mock(Printer.class); in testDump() local
164 mInputMethodInfo.dump(printer, prefix); in testDump()
165 verify(printer, atLeastOnce()).println(anyString()); in testDump()
/cts/tests/tests/os/src/android/os/cts/
DLooperTest.java41 StringBuilderPrinter printer = new StringBuilderPrinter(new StringBuilder()); in testDump() local
43 Looper.getMainLooper().dump(printer, prefix); in testDump()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/
DCustomPrintOptionsActivity.java52 PrinterInfo printer); in executeCustomPrintOptionsActivity() argument
/cts/tests/tests/location/src/android/location/cts/
DLocationTest.java75 StringBuilderPrinter printer = new StringBuilderPrinter(sb); in testDump() local
77 location.dump(printer, ""); in testDump()
/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java2239 StringBuilderPrinter printer = new StringBuilderPrinter(builder); in testDumpSpans() local
2244 TextUtils.dumpSpans(source, printer, prefix); in testDumpSpans()
2248 printer = new StringBuilderPrinter(builder); in testDumpSpans()
2252 TextUtils.dumpSpans(spanned, printer, prefix); in testDumpSpans()
/cts/tests/tests/content/src/android/content/cts/
DIntentFilterTest.java1180 TestPrinter printer = new TestPrinter(); in testDump() local
1183 filter.dump(printer, prefix); in testDump()
1184 assertTrue(printer.isPrintlnCalled); in testDump()