/frameworks/base/core/java/android/print/ |
D | PrinterDiscoverySession.java | 131 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()
|
D | IPrinterDiscoveryObserver.aidl | 30 void onPrintersRemoved(in ParceledListSlice printerIds); in onPrintersRemoved() argument
|
D | IPrintManager.aidl | 128 void validatePrinters(in List<PrinterId> printerIds, int userId); in validatePrinters() argument
|
/frameworks/base/core/java/android/printservice/ |
D | PrinterDiscoverySession.java | 230 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()
|
D | PrintService.java | 411 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);
|
D | IPrintService.aidl | 36 void validatePrinters(in List<PrinterId> printerIds); in validatePrinters() argument
|
D | IPrintServiceClient.aidl | 65 void onPrintersRemoved(in ParceledListSlice printerIds); in onPrintersRemoved() argument
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | RemotePrintService.java | 101 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 …]
|
D | UserState.java | 481 @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 …]
|
D | PrintManagerService.java | 428 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/ |
D | StubbablePrinterDiscoverySession.java | 60 public void onValidatePrinters(@NonNull List<PrinterId> printerIds) { in onValidatePrinters() argument 62 mCallbacks.onValidatePrinters(printerIds); in onValidatePrinters()
|
D | PrinterDiscoverySessionCallbacks.java | 41 public abstract void onValidatePrinters(List<PrinterId> printerIds); in onValidatePrinters() argument
|
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/mockservice/ |
D | StubbablePrinterDiscoverySession.java | 60 public void onValidatePrinters(@NonNull List<PrinterId> printerIds) { in onValidatePrinters() argument 62 mCallbacks.onValidatePrinters(printerIds); in onValidatePrinters()
|
D | PrinterDiscoverySessionCallbacks.java | 41 public abstract void onValidatePrinters(List<PrinterId> printerIds); in onValidatePrinters() argument
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | FusedPrintersProvider.java | 324 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()
|