Home
last modified time | relevance | path

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

/cts/tests/tests/print/src/android/print/cts/
DPrinterInfoTest.java264 PrinterInfo printer = b.build(); in createFirstMockPrinterDiscoverySessionCallbacks() local
272 if (printer.getId() != printerId in createFirstMockPrinterDiscoverySessionCallbacks()
273 || printer.getName() != name in createFirstMockPrinterDiscoverySessionCallbacks()
274 || printer.getStatus() != status in createFirstMockPrinterDiscoverySessionCallbacks()
275 || printer in createFirstMockPrinterDiscoverySessionCallbacks()
277 || printer.getCapabilities() in createFirstMockPrinterDiscoverySessionCallbacks()
282 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.java89 PrinterInfo.Builder printer = new PrinterInfo.Builder( in createFirstMockPrinterDiscoverySessionCallbacks() local
93 printer.setCapabilities(new PrinterCapabilitiesInfo.Builder(printerId) in createFirstMockPrinterDiscoverySessionCallbacks()
101 printers.add(printer.build()); in createFirstMockPrinterDiscoverySessionCallbacks()
337 (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.java244 PrinterInfo printer = (new PrinterInfo.Builder(printerId, in sanePrinterCapabilityInfos()
250 PrinterCapabilitiesInfo cap = printer.getCapabilities(); in sanePrinterCapabilityInfos()
277 printers.add(printer); in sanePrinterCapabilityInfos()
DPrintServicesTest.java353 final PrinterInfo printer) throws Throwable {
356 printers.add(printer);
361 sPrinter = printer;
DPrinterDiscoverySessionLifecycleTest.java86 PrinterInfo.Builder printer = new PrinterInfo.Builder(firstPrinterId, in addPrinter() local
90 printer.setCapabilities(new PrinterCapabilitiesInfo.Builder(firstPrinterId) in addPrinter()
99 sSession.addPrinters(Collections.singletonList(printer.build())); in addPrinter()
DPrintAttributesTest.java195 PrinterInfo printer = new PrinterInfo.Builder(printerId, PRINTER_NAME, in createMockPrinterDiscoverySessionCallbacks() local
197 printers.add(printer); in createMockPrinterDiscoverySessionCallbacks()
DCustomPrintOptionsTest.java286 (printJob, printer) -> { in testCase() argument
/cts/tests/tests/content/src/android/content/pm/cts/
DResolveInfoTest.java71 TestPrinter printer = new TestPrinter(); in testDump() local
73 resolveInfo.dump(printer, prefix); in testDump()
74 assertTrue(printer.isPrintlnCalled); in testDump()
DPackageItemInfoTest.java62 MockPrinter printer = new MockPrinter(); in testDump() local
64 pkgItemInfo.dumpBack(printer, ""); in testDump()
68 pkgItemInfo.dumpFront(printer, prefix); in testDump()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DEditorInfoTest.java91 Printer printer = mock(Printer.class); in testEditorInfo() local
93 info.dump(printer, prefix); in testEditorInfo()
94 verify(printer, atLeastOnce()).println(anyString()); in testEditorInfo()
DInputMethodInfoTest.java161 Printer printer = mock(Printer.class); in testDump() local
163 mInputMethodInfo.dump(printer, prefix); in testDump()
164 verify(printer, atLeastOnce()).println(anyString()); in testDump()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/
DCustomPrintOptionsActivity.java52 PrinterInfo printer); in executeCustomPrintOptionsActivity() argument
/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/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.java2227 StringBuilderPrinter printer = new StringBuilderPrinter(builder); in testDumpSpans() local
2232 TextUtils.dumpSpans(source, printer, prefix); in testDumpSpans()
2236 printer = new StringBuilderPrinter(builder); in testDumpSpans()
2240 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()
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...