Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/print/
DPrinterDiscoverySession.java131 public final void validatePrinters(List<PrinterId> printerIds) { in validatePrinters() argument
137 mPrintManager.validatePrinters(printerIds, mUserId); in validatePrinters()
238 private void handlePrintersRemoved(List<PrinterId> printerIds) { in handlePrintersRemoved() argument
243 final int removedPrinterIdCount = printerIds.size(); in handlePrintersRemoved()
245 PrinterId removedPrinterId = printerIds.get(i); in handlePrintersRemoved()
283 List<PrinterId> printerIds = (List<PrinterId>) message.obj; in handleMessage() local
284 handlePrintersRemoved(printerIds); in handleMessage()
310 public void onPrintersRemoved(ParceledListSlice printerIds) { in onPrintersRemoved() argument
314 printerIds.getList()).sendToTarget(); in onPrintersRemoved()
DIPrinterDiscoveryObserver.aidl30 void onPrintersRemoved(in ParceledListSlice printerIds); in onPrintersRemoved() argument
DIPrintManager.aidl128 void validatePrinters(in List<PrinterId> printerIds, int userId); in validatePrinters() argument
/frameworks/base/core/java/android/printservice/
DPrinterDiscoverySession.java230 public final void removePrinters(@NonNull List<PrinterId> printerIds) { in removePrinters() argument
242 final int removedPrinterIdCount = printerIds.size(); in removePrinters()
244 PrinterId removedPrinterId = printerIds.get(i); in removePrinters()
266 final int removedPrinterIdCount = printerIds.size(); in removePrinters()
268 PrinterId removedPrinterId = printerIds.get(i); in removePrinters()
380 public abstract void onValidatePrinters(@NonNull List<PrinterId> printerIds); in onValidatePrinters() argument
515 void validatePrinters(@NonNull List<PrinterId> printerIds) { in validatePrinters() argument
517 onValidatePrinters(printerIds); in validatePrinters()
DPrintService.java388 public void validatePrinters(List<PrinterId> printerIds) { in onBind() argument
390 printerIds).sendToTarget(); in onBind()
508 List<PrinterId> printerIds = (List<PrinterId>) message.obj;
509 mDiscoverySession.validatePrinters(printerIds);
DIPrintService.aidl36 void validatePrinters(in List<PrinterId> printerIds); in validatePrinters() argument
DIPrintServiceClient.aidl65 void onPrintersRemoved(in ParceledListSlice printerIds); in onPrintersRemoved() argument
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintService.java101 public void onPrintersRemoved(List<PrinterId> printerIds); in onPrintersRemoved() argument
386 public void validatePrinters(List<PrinterId> printerIds) { in validatePrinters() argument
388 printerIds).sendToTarget(); in validatePrinters()
391 private void handleValidatePrinters(final List<PrinterId> printerIds) { in handleValidatePrinters() argument
398 handleValidatePrinters(printerIds); in handleValidatePrinters()
406 mPrintService.validatePrinters(printerIds); in handleValidatePrinters()
672 List<PrinterId> printerIds = (List<PrinterId>) message.obj; in handleMessage() local
673 handleValidatePrinters(printerIds); in handleMessage()
848 public void onPrintersRemoved(ParceledListSlice printerIds) { in onPrintersRemoved() argument
851 List<PrinterId> removedPrinterIds = (List<PrinterId>) printerIds.getList(); in onPrintersRemoved()
[all …]
DUserState.java471 @Nullable List<PrinterId> printerIds) { in startPrinterDiscovery() argument
481 printerIds); in startPrinterDiscovery()
498 public void validatePrinters(@NonNull List<PrinterId> printerIds) { in validatePrinters() argument
510 mPrinterDiscoverySession.validatePrintersLocked(printerIds); in validatePrinters()
717 public void onPrintersRemoved(List<PrinterId> printerIds) { in onPrintersRemoved() argument
728 mPrinterDiscoverySession.onPrintersRemovedLocked(printerIds); in onPrintersRemoved()
1371 public void validatePrintersLocked(@NonNull List<PrinterId> printerIds) { in validatePrintersLocked() argument
1377 List<PrinterId> remainingList = new ArrayList<PrinterId>(printerIds); in validatePrintersLocked()
1522 public void onPrintersRemovedLocked(List<PrinterId> printerIds) { in onPrintersRemovedLocked() argument
1531 final int removedPrinterCount = printerIds.size(); in onPrintersRemovedLocked()
[all …]
DPrintManagerService.java429 public void validatePrinters(List<PrinterId> printerIds, int userId) { in validatePrinters() argument
430 printerIds = Preconditions.checkCollectionElementsNotNull(printerIds, "PrinterId"); in validatePrinters()
443 userState.validatePrinters(printerIds); in validatePrinters()
/frameworks/base/core/tests/coretests/src/android/print/mockservice/
DStubbablePrinterDiscoverySession.java59 public void onValidatePrinters(List<PrinterId> printerIds) { in onValidatePrinters() argument
61 mCallbacks.onValidatePrinters(printerIds); in onValidatePrinters()
DPrinterDiscoverySessionCallbacks.java41 public abstract void onValidatePrinters(List<PrinterId> printerIds); in onValidatePrinters() argument
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DFusedPrintersProvider.java324 List<PrinterId> printerIds = new ArrayList<>(favoriteCount); in loadInternal() local
326 printerIds.add(mFavoritePrinters.get(i).first.getId()); in loadInternal()
328 mDiscoverySession.startPrinterDiscovery(printerIds); in loadInternal()