/cts/tests/tests/print/src/android/print/cts/ |
D | PrinterInfoTest.java | 265 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()
|
D | PrintJobStateTransitionsTest.java | 91 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()
|
D | PrintJobTest.java | 90 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) -> {
|
D | InterfaceForAppsTest.java | 75 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()
|
D | PrinterCapabilitiesTest.java | 245 PrinterInfo printer = (new PrinterInfo.Builder(printerId, in sanePrinterCapabilityInfos() 251 PrinterCapabilitiesInfo cap = printer.getCapabilities(); in sanePrinterCapabilityInfos() 278 printers.add(printer); in sanePrinterCapabilityInfos()
|
D | PrintServicesTest.java | 342 final PrinterInfo printer) throws Throwable { 345 printers.add(printer); 350 sPrinter = printer;
|
D | PrinterDiscoverySessionLifecycleTest.java | 87 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()
|
D | PrintAttributesTest.java | 196 PrinterInfo printer = new PrinterInfo.Builder(printerId, PRINTER_NAME, in createMockPrinterDiscoverySessionCallbacks() local 198 printers.add(printer); in createMockPrinterDiscoverySessionCallbacks()
|
D | CustomPrintOptionsTest.java | 287 (printJob, printer) -> { in testCase() argument
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ResolveInfoTest.java | 73 TestPrinter printer = new TestPrinter(); in testDump() local 75 resolveInfo.dump(printer, prefix); in testDump() 76 assertTrue(printer.isPrintlnCalled); in testDump()
|
D | PackageItemInfoTest.java | 64 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/ |
D | EditorInfoTest.java | 92 Printer printer = mock(Printer.class); in testEditorInfo() local 94 info.dump(printer, prefix); in testEditorInfo() 95 verify(printer, atLeastOnce()).println(anyString()); in testEditorInfo()
|
D | InputMethodInfoTest.java | 162 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/ |
D | LooperTest.java | 41 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/ |
D | CustomPrintOptionsActivity.java | 52 PrinterInfo printer); in executeCustomPrintOptionsActivity() argument
|
/cts/tests/tests/location/src/android/location/cts/ |
D | LocationTest.java | 75 StringBuilderPrinter printer = new StringBuilderPrinter(sb); in testDump() local 77 location.dump(printer, ""); in testDump()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | TextUtilsTest.java | 2239 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/ |
D | IntentFilterTest.java | 1180 TestPrinter printer = new TestPrinter(); in testDump() local 1183 filter.dump(printer, prefix); in testDump() 1184 assertTrue(printer.isPrintlnCalled); in testDump()
|