Home
last modified time | relevance | path

Searched refs:printerIds (Results 1 – 11 of 11) 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.java107 public void onPrintersRemoved(List<PrinterId> printerIds); in onPrintersRemoved() argument
391 public void validatePrinters(List<PrinterId> printerIds) { in validatePrinters() argument
393 RemotePrintService::handleValidatePrinters, this, printerIds)); in validatePrinters()
396 private void handleValidatePrinters(final List<PrinterId> printerIds) { in handleValidatePrinters() argument
402 handleValidatePrinters(printerIds); in handleValidatePrinters()
410 mPrintService.validatePrinters(printerIds); in handleValidatePrinters()
815 public void onPrintersRemoved(ParceledListSlice printerIds) { in onPrintersRemoved() argument
818 List<PrinterId> removedPrinterIds = (List<PrinterId>) printerIds.getList(); in onPrintersRemoved()
839 List<PrinterId> printerIds) { in throwIfPrinterIdsTampered() argument
840 final int printerIdCount = printerIds.size(); in throwIfPrinterIdsTampered()
[all …]
DUserState.java482 @Nullable List<PrinterId> printerIds) { in startPrinterDiscovery() argument
492 printerIds); in startPrinterDiscovery()
509 public void validatePrinters(@NonNull List<PrinterId> printerIds) { in validatePrinters() argument
521 mPrinterDiscoverySession.validatePrintersLocked(printerIds); in validatePrinters()
735 public void onPrintersRemoved(List<PrinterId> printerIds) { in onPrintersRemoved() argument
746 mPrinterDiscoverySession.onPrintersRemovedLocked(printerIds); in onPrintersRemoved()
1352 public void validatePrintersLocked(@NonNull List<PrinterId> printerIds) { in validatePrintersLocked() argument
1358 List<PrinterId> remainingList = new ArrayList<PrinterId>(printerIds); in validatePrintersLocked()
1491 public void onPrintersRemovedLocked(List<PrinterId> printerIds) { in onPrintersRemovedLocked() argument
1500 final int removedPrinterCount = printerIds.size(); in onPrintersRemovedLocked()
[all …]
DPrintManagerService.java483 public void validatePrinters(List<PrinterId> printerIds, int userId) { in validatePrinters() argument
484 printerIds = Preconditions.checkCollectionElementsNotNull(printerIds, "PrinterId"); in validatePrinters()
497 userState.validatePrinters(printerIds); in validatePrinters()
/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()