Home
last modified time | relevance | path

Searched refs:PrinterId (Results 1 – 23 of 23) sorted by relevance

/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/
DPrinterDiscoverySessionCallbacks.java20 import android.print.PrinterId;
37 public abstract void onStartPrinterDiscovery(List<PrinterId> priorityList); in onStartPrinterDiscovery()
41 public abstract void onValidatePrinters(List<PrinterId> printerIds); in onValidatePrinters()
43 public abstract void onStartPrinterStateTracking(PrinterId printerId); in onStartPrinterStateTracking()
45 public abstract void onRequestCustomPrinterIcon(PrinterId printerId, in onRequestCustomPrinterIcon()
48 public abstract void onStopPrinterStateTracking(PrinterId printerId); in onStopPrinterStateTracking()
DStubbablePrinterDiscoverySession.java20 import android.print.PrinterId;
46 public void onStartPrinterDiscovery(@NonNull List<PrinterId> priorityList) { in onStartPrinterDiscovery()
60 public void onValidatePrinters(@NonNull List<PrinterId> printerIds) { in onValidatePrinters()
67 public void onStartPrinterStateTracking(@NonNull PrinterId printerId) { in onStartPrinterStateTracking()
74 public void onRequestCustomPrinterIcon(@NonNull PrinterId printerId, in onRequestCustomPrinterIcon()
83 public void onStopPrinterStateTracking(@NonNull PrinterId printerId) { in onStopPrinterStateTracking()
DStubbablePrintService.java20 import android.print.PrinterId;
42 public void onStartPrinterDiscovery(List<PrinterId> priorityList) { in onCreatePrinterDiscoverySession()
52 public void onValidatePrinters(List<PrinterId> printerIds) { in onCreatePrinterDiscoverySession()
57 public void onStartPrinterStateTracking(PrinterId printerId) { in onCreatePrinterDiscoverySession()
62 public void onStopPrinterStateTracking(PrinterId printerId) { in onCreatePrinterDiscoverySession()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-0053/src/android/security/cts/CVE_2024_0053/
DTestPrintService.java30 import android.print.PrinterId;
55 PrinterId printerId = generatePrinterId(getString(R.string.localPrinterId)); in onCreatePrinterDiscoverySession()
60 PrinterId mPrinterId;
62 public TestDiscoverySession(PrinterId id) { in TestDiscoverySession()
67 public void onStartPrinterStateTracking(@NonNull PrinterId printerId) {} in onStartPrinterStateTracking()
70 public void onStopPrinterStateTracking(@NonNull PrinterId printerId) {} in onStopPrinterStateTracking()
73 public void onStartPrinterDiscovery(@NonNull List<PrinterId> priorityList) { in onStartPrinterDiscovery()
90 @NonNull PrinterId printerId, in onRequestCustomPrinterIcon()
132 public void onValidatePrinters(@NonNull List<PrinterId> printerIds) {} in onValidatePrinters()
DDeviceTest.java45 import android.print.PrinterId;
181 PrinterId printerId = in testPocCVE_2024_0053()
182 new PrinterId( in testPocCVE_2024_0053()
/cts/tests/tests/print/ExternalPrintService/src/android/print/cts/externalservice/
DExternalService.java23 import android.print.PrinterId;
39 public void onStartPrinterDiscovery(List<PrinterId> priorityList) { in onCreatePrinterDiscoverySession()
51 public void onValidatePrinters(List<PrinterId> printerIds) { in onCreatePrinterDiscoverySession()
56 public void onStartPrinterStateTracking(PrinterId printerId) { in onCreatePrinterDiscoverySession()
61 public void onStopPrinterStateTracking(PrinterId printerId) { in onCreatePrinterDiscoverySession()
/cts/tests/tests/print/src/android/print/cts/
DPrinterDiscoverySessionLifecycleTest.java34 import android.print.PrinterId;
82 PrinterId firstPrinterId = sSession.getService().generatePrinterId( in addPrinter()
304 PrinterId firstPrinterId = getAddedPrinterIdForLocalId( in normalLifecycle()
306 PrinterId secondPrinterId = getAddedPrinterIdForLocalId( in normalLifecycle()
330 List<PrinterId> emptyPrinterIdList = Collections.emptyList(); in normalLifecycle()
406 PrinterId firstPrinterId = getAddedPrinterIdForLocalId( in cancelPrintServicesAlertDialog()
433 List<PrinterId> emptyPrinterIdList = Collections.emptyList(); in cancelPrintServicesAlertDialog()
505 PrinterId firstPrinterId = getAddedPrinterIdForLocalId( in startPrinterDiscoveryWithHistoricalPrinters()
553 List<PrinterId> priorityList = new ArrayList<>(); in startPrinterDiscoveryWithHistoricalPrinters()
618 PrinterId[] printerIds = new PrinterId[3]; in addRemovePrinters()
[all …]
DPrinterCapabilitiesChangeTest.java32 import android.print.PrinterId;
70 private final PrinterId[] mPrinterId = new PrinterId[1];
86 private List<PrinterInfo> generatePrinters(PrinterId printerId, MediaSize mediaSize, in generatePrinters()
149 final PrinterId printerId, final MediaSize mediaSize, final boolean isAvailable) in changeCapabilities()
DPrintServicesTest.java49 import android.print.PrinterId;
89 @NonNull PrinterId printerId) { in getDefaultOptionPrinterCapabilites()
115 PrinterId printerId = session.getService() in createMockPrinterDiscoverySessionCallbacks()
582 PrinterId printer1Id = session.getService().generatePrinterId("Printer1");
588 PrinterId printer2Id = session.getService().generatePrinterId("Printer2");
613 ((PrinterId) invocation.getArguments()[0]).getLocalId());
621 ((PrinterId) invocation.getArguments()[0]).getLocalId());
DPrinterCapabilitiesTest.java35 import android.print.PrinterId;
80 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in illegalPrinterCapabilityInfos()
212 PrinterId printerId = session.getService() in sanePrinterCapabilityInfos()
319 private void testPrinterCapabilityInfo(final Function<PrinterId, PrinterCapabilitiesInfo> in testPrinterCapabilityInfo() argument
327 PrinterId printerId = session.getService() in testPrinterCapabilityInfo()
DInteractionBetweenPrintDocumentAndPrinterDiscovery.java36 import android.print.PrinterId;
74 PrinterId testId = session.getService().generatePrinterId(PRINTER_NAME); in addPrinter()
DPrinterInfoTest.java28 import android.print.PrinterId;
138 PrinterId printerId = null; in createFirstMockPrinterDiscoverySessionCallbacks()
DPrintDocumentInfoTest.java35 import android.print.PrinterId;
294 PrinterId firstPrinterId = service.generatePrinterId("first_printer"); in createFirstMockDiscoverySessionCallbacks()
DPrintJobStateTransitionsTest.java31 import android.print.PrinterId;
89 PrinterId printerId = in createFirstMockPrinterDiscoverySessionCallbacks()
DPageRangeAdjustAndVerify.java37 import android.print.PrinterId;
381 PrinterId firstPrinterId = service.generatePrinterId("first_printer"); in createMockFirstPrinterDiscoverySessionCallbacks()
DInterfaceForAppsTest.java32 import android.print.PrinterId;
74 PrinterId printerId = session.getService().generatePrinterId(TEST_PRINTER); in createFirstMockPrinterDiscoverySessionCallbacks()
DCustomPrintOptionsTest.java34 import android.print.PrinterId;
121 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in setUpServicesAndAdapter()
DPrintAttributesTest.java32 import android.print.PrinterId;
157 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in createMockPrinterDiscoverySessionCallbacks()
DPageRangeAdjustmentTest.java37 import android.print.PrinterId;
517 PrinterId firstPrinterId = service.generatePrinterId("first_printer"); in createMockFirstPrinterDiscoverySessionCallbacks()
DPrintJobTest.java36 import android.print.PrinterId;
88 PrinterId printerId = in createFirstMockPrinterDiscoverySessionCallbacks()
DPrintDocumentAdapterContractTest.java39 import android.print.PrinterId;
1954 PrinterId firstPrinterId = service.generatePrinterId("first_printer"); in createFirstMockDiscoverySessionCallbacks()
1971 PrinterId secondPrinterId = service.generatePrinterId("second_printer"); in createFirstMockDiscoverySessionCallbacks()
1995 PrinterId thirdPrinterId = service.generatePrinterId("third_printer"); in createFirstMockDiscoverySessionCallbacks()
2017 PrinterId forthPrinterId = service.generatePrinterId("forth_printer"); in createFirstMockDiscoverySessionCallbacks()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DBasePrintTest.java57 import android.print.PrinterId;
775 any(PrinterId.class)); in createMockPrinterDiscoverySessionCallbacks()
779 any(PrinterId.class), any(CancellationSignal.class), in createMockPrinterDiscoverySessionCallbacks()
784 any(PrinterId.class)); in createMockPrinterDiscoverySessionCallbacks()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt35194 method @Nullable public android.print.PrinterId getPrinterId();
35237 ctor public PrinterCapabilitiesInfo.Builder(@NonNull android.print.PrinterId);
35246 public final class PrinterId implements android.os.Parcelable {
35250 … field @NonNull public static final android.os.Parcelable.Creator<android.print.PrinterId> CREATOR;
35257 method @NonNull public android.print.PrinterId getId();
35268 ctor public PrinterInfo.Builder(@NonNull android.print.PrinterId, @NonNull String, int);
35333 method @NonNull public final android.print.PrinterId generatePrinterId(String);
35354 method @NonNull public final java.util.List<android.print.PrinterId> getTrackedPrinters();
35358 …method public void onRequestCustomPrinterIcon(@NonNull android.print.PrinterId, @NonNull android.o…
35359 …hod public abstract void onStartPrinterDiscovery(@NonNull java.util.List<android.print.PrinterId>);
[all …]