Home
last modified time | relevance | path

Searched refs:printerIds (Results 1 – 15 of 15) 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.java411 public void validatePrinters(List<PrinterId> printerIds) { in onBind() argument
413 printerIds).sendToTarget(); in onBind()
531 List<PrinterId> printerIds = (List<PrinterId>) message.obj;
532 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
380 public void validatePrinters(List<PrinterId> printerIds) { in validatePrinters() argument
382 printerIds).sendToTarget(); in validatePrinters()
385 private void handleValidatePrinters(final List<PrinterId> printerIds) { in handleValidatePrinters() argument
391 handleValidatePrinters(printerIds); in handleValidatePrinters()
399 mPrintService.validatePrinters(printerIds); in handleValidatePrinters()
693 List<PrinterId> printerIds = (List<PrinterId>) message.obj; in handleMessage() local
694 handleValidatePrinters(printerIds); in handleMessage()
874 public void onPrintersRemoved(ParceledListSlice printerIds) { in onPrintersRemoved() argument
877 List<PrinterId> removedPrinterIds = (List<PrinterId>) printerIds.getList(); in onPrintersRemoved()
[all …]
DUserState.java481 @Nullable List<PrinterId> printerIds) { in startPrinterDiscovery() argument
491 printerIds); in startPrinterDiscovery()
508 public void validatePrinters(@NonNull List<PrinterId> printerIds) { in validatePrinters() argument
520 mPrinterDiscoverySession.validatePrintersLocked(printerIds); in validatePrinters()
727 public void onPrintersRemoved(List<PrinterId> printerIds) { in onPrintersRemoved() argument
738 mPrinterDiscoverySession.onPrintersRemovedLocked(printerIds); in onPrintersRemoved()
1362 public void validatePrintersLocked(@NonNull List<PrinterId> printerIds) { in validatePrintersLocked() argument
1368 List<PrinterId> remainingList = new ArrayList<PrinterId>(printerIds); in validatePrintersLocked()
1513 public void onPrintersRemovedLocked(List<PrinterId> printerIds) { in onPrintersRemovedLocked() argument
1522 final int removedPrinterCount = printerIds.size(); in onPrintersRemovedLocked()
[all …]
DPrintManagerService.java428 public void validatePrinters(List<PrinterId> printerIds, int userId) { in validatePrinters() argument
429 printerIds = Preconditions.checkCollectionElementsNotNull(printerIds, "PrinterId"); in validatePrinters()
442 userState.validatePrinters(printerIds); in validatePrinters()
/frameworks/base/core/tests/coretests/src/android/print/mockservice/
DStubbablePrinterDiscoverySession.java60 public void onValidatePrinters(@NonNull List<PrinterId> printerIds) { in onValidatePrinters() argument
62 mCallbacks.onValidatePrinters(printerIds); in onValidatePrinters()
DPrinterDiscoverySessionCallbacks.java41 public abstract void onValidatePrinters(List<PrinterId> printerIds); in onValidatePrinters() argument
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/mockservice/
DStubbablePrinterDiscoverySession.java60 public void onValidatePrinters(@NonNull List<PrinterId> printerIds) { in onValidatePrinters() argument
62 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()