Home
last modified time | relevance | path

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

/cts/tests/tests/print/src/android/print/cts/
DPrinterDiscoverySessionLifecycleTest.java81 private void addPrinter(@NonNull String localId, boolean hasCapabilities) { in addPrinter() method in PrinterDiscoverySessionLifecycleTest
115 runOnMainThread(() -> addPrinter(localPrinterId, true)); in makeDefaultPrinter()
181 runOnMainThread(() -> addPrinter(FIRST_PRINTER_LOCAL_ID, true)); in defaultPrinterBecomesAvailableWhileInBackground()
222 runOnMainThread(() -> addPrinter(FIRST_PRINTER_LOCAL_ID, false)); in defaultPrinterBecomesUsableWhileInBackground()
230 runOnMainThread(() -> addPrinter(FIRST_PRINTER_LOCAL_ID, true)); in defaultPrinterBecomesUsableWhileInBackground()
666 addPrinter(FIRST_PRINTER_LOCAL_ID, false); in createFirstMockPrinterDiscoverySessionCallbacks()
667 addPrinter(SECOND_PRINTER_LOCAL_ID, false); in createFirstMockPrinterDiscoverySessionCallbacks()