/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/ |
D | PrinterDiscoverySessionCallbacks.java | 20 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()
|
D | StubbablePrinterDiscoverySession.java | 20 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()
|
D | StubbablePrintService.java | 20 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/ |
D | TestPrintService.java | 30 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()
|
D | DeviceTest.java | 45 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/ |
D | ExternalService.java | 23 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/ |
D | PrinterDiscoverySessionLifecycleTest.java | 34 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 …]
|
D | PrinterCapabilitiesChangeTest.java | 32 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()
|
D | PrintServicesTest.java | 49 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());
|
D | PrinterCapabilitiesTest.java | 35 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()
|
D | InteractionBetweenPrintDocumentAndPrinterDiscovery.java | 36 import android.print.PrinterId; 74 PrinterId testId = session.getService().generatePrinterId(PRINTER_NAME); in addPrinter()
|
D | PrinterInfoTest.java | 28 import android.print.PrinterId; 138 PrinterId printerId = null; in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | PrintDocumentInfoTest.java | 35 import android.print.PrinterId; 294 PrinterId firstPrinterId = service.generatePrinterId("first_printer"); in createFirstMockDiscoverySessionCallbacks()
|
D | PrintJobStateTransitionsTest.java | 31 import android.print.PrinterId; 89 PrinterId printerId = in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | PageRangeAdjustAndVerify.java | 37 import android.print.PrinterId; 381 PrinterId firstPrinterId = service.generatePrinterId("first_printer"); in createMockFirstPrinterDiscoverySessionCallbacks()
|
D | InterfaceForAppsTest.java | 32 import android.print.PrinterId; 74 PrinterId printerId = session.getService().generatePrinterId(TEST_PRINTER); in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | CustomPrintOptionsTest.java | 34 import android.print.PrinterId; 121 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in setUpServicesAndAdapter()
|
D | PrintAttributesTest.java | 32 import android.print.PrinterId; 157 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in createMockPrinterDiscoverySessionCallbacks()
|
D | PageRangeAdjustmentTest.java | 37 import android.print.PrinterId; 517 PrinterId firstPrinterId = service.generatePrinterId("first_printer"); in createMockFirstPrinterDiscoverySessionCallbacks()
|
D | PrintJobTest.java | 36 import android.print.PrinterId; 88 PrinterId printerId = in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | PrintDocumentAdapterContractTest.java | 39 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/ |
D | BasePrintTest.java | 57 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/ |
D | current.txt | 35194 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 …]
|