/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 | 388 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);
|
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 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 …]
|
D | UserState.java | 471 @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 …]
|
D | PrintManagerService.java | 429 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/ |
D | StubbablePrinterDiscoverySession.java | 59 public void onValidatePrinters(List<PrinterId> printerIds) { in onValidatePrinters() argument 61 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()
|