Searched refs:addPrinter (Results 1 – 1 of 1) sorted by relevance
81 private void addPrinter(@NonNull String localId, boolean hasCapabilities) { in addPrinter() method in PrinterDiscoverySessionLifecycleTest115 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()