Home
last modified time | relevance | path

Searched refs:print (Results 1 – 25 of 75) sorted by relevance

123

/cts/tests/tests/print/src/android/print/cts/
DInteractionBetweenPrintDocumentAndPrinterDiscovery.java17 package android.print.cts;
19 import static android.print.PrintAttributes.COLOR_MODE_COLOR;
20 import static android.print.PrintAttributes.MediaSize.ISO_A5;
21 import static android.print.PrinterInfo.STATUS_IDLE;
22 import static android.print.PrinterInfo.STATUS_UNAVAILABLE;
23 import static android.print.test.Utils.runOnMainThread;
27 import android.print.PageRange;
28 import android.print.PrintAttributes;
29 import android.print.PrintAttributes.Margins;
30 import android.print.PrintAttributes.Resolution;
[all …]
DPrintDocumentInfoTest.java17 package android.print.cts;
19 import static android.print.test.Utils.eventually;
25 import android.print.PageRange;
26 import android.print.PrintAttributes;
27 import android.print.PrintAttributes.Margins;
28 import android.print.PrintAttributes.MediaSize;
29 import android.print.PrintAttributes.Resolution;
30 import android.print.PrintDocumentAdapter;
31 import android.print.PrintDocumentAdapter.LayoutResultCallback;
32 import android.print.PrintDocumentAdapter.WriteResultCallback;
[all …]
DPrinterCapabilitiesChangeTest.java17 package android.print.cts;
19 import static android.print.test.Utils.runOnMainThread;
22 import android.print.PageRange;
23 import android.print.PrintAttributes;
24 import android.print.PrintAttributes.Margins;
25 import android.print.PrintAttributes.MediaSize;
26 import android.print.PrintAttributes.Resolution;
27 import android.print.PrintDocumentAdapter;
28 import android.print.PrintDocumentAdapter.LayoutResultCallback;
29 import android.print.PrintDocumentAdapter.WriteResultCallback;
[all …]
DPrinterInfoTest.java17 package android.print.cts;
22 import android.print.PrintAttributes;
23 import android.print.PrintAttributes.Margins;
24 import android.print.PrintAttributes.MediaSize;
25 import android.print.PrintAttributes.Resolution;
26 import android.print.PrintDocumentAdapter;
27 import android.print.PrinterCapabilitiesInfo;
28 import android.print.PrinterId;
29 import android.print.PrinterInfo;
30 import android.print.test.BasePrintTest;
[all …]
DInterfaceForAppsTest.java17 package android.print.cts;
19 import static android.print.test.Utils.eventually;
20 import static android.print.test.Utils.getPrintJob;
21 import static android.print.test.Utils.getPrintManager;
27 import android.print.PrintAttributes;
28 import android.print.PrintDocumentAdapter;
29 import android.print.PrintJob;
30 import android.print.PrintJobInfo;
31 import android.print.PrinterCapabilitiesInfo;
32 import android.print.PrinterId;
[all …]
DCustomPrintOptionsTest.java17 package android.print.cts;
19 import static android.print.test.Utils.eventually;
23 import android.print.PageRange;
24 import android.print.PrintAttributes;
25 import android.print.PrintAttributes.Margins;
26 import android.print.PrintAttributes.MediaSize;
27 import android.print.PrintAttributes.Resolution;
28 import android.print.PrintDocumentAdapter;
29 import android.print.PrintDocumentAdapter.LayoutResultCallback;
30 import android.print.PrintDocumentAdapter.WriteResultCallback;
[all …]
DPrintServicesTest.java17 package android.print.cts;
19 import static android.print.test.Utils.assertException;
20 import static android.print.test.Utils.eventually;
21 import static android.print.test.Utils.getPrintJob;
22 import static android.print.test.Utils.runOnMainThread;
42 import android.print.PrintAttributes;
43 import android.print.PrintAttributes.Margins;
44 import android.print.PrintAttributes.MediaSize;
45 import android.print.PrintAttributes.Resolution;
46 import android.print.PrintDocumentAdapter;
[all …]
DPrintJobStateTransitionsTest.java17 package android.print.cts;
19 import static android.print.test.Utils.eventually;
24 import android.print.PrintAttributes;
25 import android.print.PrintAttributes.Margins;
26 import android.print.PrintAttributes.MediaSize;
27 import android.print.PrintAttributes.Resolution;
28 import android.print.PrintDocumentAdapter;
29 import android.print.PrintJobInfo;
30 import android.print.PrinterCapabilitiesInfo;
31 import android.print.PrinterId;
[all …]
DPageRangeAdjustmentTest.java17 package android.print.cts;
26 import android.print.PageRange;
27 import android.print.PrintAttributes;
28 import android.print.PrintAttributes.Margins;
29 import android.print.PrintAttributes.MediaSize;
30 import android.print.PrintAttributes.Resolution;
31 import android.print.PrintDocumentAdapter;
32 import android.print.PrintDocumentAdapter.LayoutResultCallback;
33 import android.print.PrintDocumentAdapter.WriteResultCallback;
34 import android.print.PrintDocumentInfo;
[all …]
DPrinterCapabilitiesTest.java17 package android.print.cts;
19 import static android.print.test.Utils.assertException;
25 import android.print.PageRange;
26 import android.print.PrintAttributes;
27 import android.print.PrintAttributes.Margins;
28 import android.print.PrintAttributes.MediaSize;
29 import android.print.PrintAttributes.Resolution;
30 import android.print.PrintDocumentAdapter;
31 import android.print.PrintDocumentAdapter.LayoutResultCallback;
32 import android.print.PrintDocumentAdapter.WriteResultCallback;
[all …]
DPrintAttributesTest.java17 package android.print.cts;
22 import android.print.PageRange;
23 import android.print.PrintAttributes;
24 import android.print.PrintAttributes.Margins;
25 import android.print.PrintAttributes.MediaSize;
26 import android.print.PrintAttributes.Resolution;
27 import android.print.PrintDocumentAdapter;
28 import android.print.PrintDocumentAdapter.LayoutResultCallback;
29 import android.print.PrintDocumentAdapter.WriteResultCallback;
30 import android.print.PrintDocumentInfo;
[all …]
DPrintJobTest.java17 package android.print.cts;
19 import static android.print.test.Utils.eventually;
28 import android.print.PrintAttributes;
29 import android.print.PrintAttributes.Margins;
30 import android.print.PrintAttributes.MediaSize;
31 import android.print.PrintAttributes.Resolution;
32 import android.print.PrintDocumentAdapter;
33 import android.print.PrintJobInfo;
34 import android.print.PrintManager;
35 import android.print.PrinterCapabilitiesInfo;
[all …]
DPrinterDiscoverySessionLifecycleTest.java17 package android.print.cts;
19 import static android.print.test.Utils.eventually;
20 import static android.print.test.Utils.runOnMainThread;
28 import android.print.PrintAttributes;
29 import android.print.PrintAttributes.Margins;
30 import android.print.PrintAttributes.MediaSize;
31 import android.print.PrintAttributes.Resolution;
32 import android.print.PrintDocumentAdapter;
33 import android.print.PrinterCapabilitiesInfo;
34 import android.print.PrinterId;
[all …]
DPageRangeAdjustAndVerify.java17 package android.print.cts;
32 import android.print.PageRange;
33 import android.print.PrintAttributes;
34 import android.print.PrintDocumentAdapter;
35 import android.print.PrintDocumentInfo;
36 import android.print.PrinterCapabilitiesInfo;
37 import android.print.PrinterId;
38 import android.print.PrinterInfo;
39 import android.print.pdf.PrintedPdfDocument;
40 import android.print.test.BasePrintTest;
[all …]
DInstallBehavior.java17 package android.print.cts;
22 import android.print.PrintManager;
23 import android.print.test.BasePrintTest;
71 getActivity().getSystemService(PrintManager.class).print("printjob", in installedServiceIsEnabled()
DPrintDocumentAdapterContractTest.java17 package android.print.cts;
19 import static android.print.test.Utils.eventually;
29 import android.print.PageRange;
30 import android.print.PrintAttributes;
31 import android.print.PrintAttributes.Margins;
32 import android.print.PrintAttributes.MediaSize;
33 import android.print.PrintAttributes.Resolution;
34 import android.print.PrintDocumentAdapter;
35 import android.print.PrintDocumentAdapter.LayoutResultCallback;
36 import android.print.PrintDocumentAdapter.WriteResultCallback;
[all …]
/cts/tests/tests/print/ExternalPrintService/src/android/print/cts/externalservice/
DExternalService.java17 package android.print.cts.externalservice;
19 import static android.print.PrinterInfo.STATUS_IDLE;
23 import android.print.PrinterId;
24 import android.print.PrinterInfo;
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DUtils.java17 package android.print.test;
19 import static android.print.test.BasePrintTest.getUiAutomation;
25 import android.print.PrintJob;
26 import android.print.PrintManager;
27 import android.service.print.nano.PrintServiceDumpProto;
153 for (android.print.PrintJob job : pm.getPrintJobs()) { in getPrintJob()
DBasePrintTest.java17 package android.print.test;
21 import static android.print.test.Utils.eventually;
22 import static android.print.test.Utils.getPrintManager;
50 import android.print.PageRange;
51 import android.print.PrintAttributes;
52 import android.print.PrintDocumentAdapter;
53 import android.print.PrintDocumentAdapter.LayoutResultCallback;
54 import android.print.PrintDocumentAdapter.WriteResultCallback;
55 import android.print.PrintDocumentInfo;
56 import android.print.PrintManager;
[all …]
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPrintingTest.java28 import android.print.PageRange;
29 import android.print.PrintAttributes;
30 import android.print.PrintDocumentAdapter;
31 import android.print.PrintJob;
32 import android.print.PrintManager;
148 .print(PRINT_NAME, PRINT_DOCUMENT_ADAPTER, /* attributes= */ null)); in print_disallowPrintingIsSet_returnsNull()
160 .print(PRINT_NAME, PRINT_DOCUMENT_ADAPTER, /* attributes= */ null)); in print_disallowPrintingIsNotSet_doesNotReturnNull()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/
DCustomPrintOptionsActivity.java17 package android.print.test.services;
22 import android.print.PrintJobInfo;
23 import android.print.PrinterInfo;
DPrinterDiscoverySessionCallbacks.java17 package android.print.test.services;
20 import android.print.PrinterId;
DStubbablePrintService.java17 package android.print.test.services;
20 import android.print.PrinterId;
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/proxy/
DPassthroughTestHelper.java118 private void passthrough(PrintStream print, InputStream read) throws Exception { in passthrough() argument
121 print.println(testString); in passthrough()
122 print.flush(); in passthrough()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCtsContentCaptureService.java497 pw.print("sServiceWatcher: "); pw.println(getServiceWatcher()); in dump()
498 pw.print("sExceptions: "); pw.println(sExceptions); in dump()
499 pw.print("sIdCounter: "); pw.println(sIdCounter); in dump()
500 pw.print("mId: "); pw.println(mId); in dump()
501 pw.print("mConnectedLatch: "); pw.println(mConnectedLatch); in dump()
502 pw.print("mDisconnectedLatch: "); pw.println(mDisconnectedLatch); in dump()
503 pw.print("mAllSessions: "); pw.println(mAllSessions); in dump()
504 pw.print("mOpenSessions: "); pw.println(mOpenSessions); in dump()
505 pw.print("mFinishedSessions: "); pw.println(mFinishedSessions); in dump()
506 pw.print("mUnfinishedSessionLatches: "); pw.println(mUnfinishedSessionLatches); in dump()
[all …]

123