Home
last modified time | relevance | path

Searched refs:priorityList (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/printservice/
DPrinterDiscoverySession.java355 public abstract void onStartPrinterDiscovery(@NonNull List<PrinterId> priorityList); in onStartPrinterDiscovery() argument
497 void startPrinterDiscovery(@NonNull List<PrinterId> priorityList) { in startPrinterDiscovery() argument
501 if (priorityList == null) { in startPrinterDiscovery()
502 priorityList = Collections.emptyList(); in startPrinterDiscovery()
504 onStartPrinterDiscovery(priorityList); in startPrinterDiscovery()
DPrintService.java400 public void startPrinterDiscovery(List<PrinterId> priorityList) { in onBind() argument
402 priorityList).sendToTarget(); in onBind()
510 List<PrinterId> priorityList = (ArrayList<PrinterId>) message.obj;
511 mDiscoverySession.startPrinterDiscovery(priorityList);
DIPrintService.aidl34 void startPrinterDiscovery(in List<PrinterId> priorityList); in startPrinterDiscovery() argument
/frameworks/base/core/tests/coretests/src/android/print/mockservice/
DStubbablePrinterDiscoverySession.java46 public void onStartPrinterDiscovery(@NonNull List<PrinterId> priorityList) { in onStartPrinterDiscovery() argument
48 mCallbacks.onStartPrinterDiscovery(priorityList); in onStartPrinterDiscovery()
DPrinterDiscoverySessionCallbacks.java37 public abstract void onStartPrinterDiscovery(List<PrinterId> priorityList); in onStartPrinterDiscovery() argument
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/mockservice/
DStubbablePrinterDiscoverySession.java46 public void onStartPrinterDiscovery(@NonNull List<PrinterId> priorityList) { in onStartPrinterDiscovery() argument
48 mCallbacks.onStartPrinterDiscovery(priorityList); in onStartPrinterDiscovery()
DPrinterDiscoverySessionCallbacks.java37 public abstract void onStartPrinterDiscovery(List<PrinterId> priorityList); in onStartPrinterDiscovery() argument
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintService.java318 public void startPrinterDiscovery(List<PrinterId> priorityList) { in startPrinterDiscovery() argument
320 priorityList).sendToTarget(); in startPrinterDiscovery()
323 private void handleStartPrinterDiscovery(final List<PrinterId> priorityList) { in handleStartPrinterDiscovery() argument
326 if (priorityList != null) { in handleStartPrinterDiscovery()
327 mDiscoveryPriorityList.addAll(priorityList); in handleStartPrinterDiscovery()
334 handleStartPrinterDiscovery(priorityList); in handleStartPrinterDiscovery()
342 mPrintService.startPrinterDiscovery(priorityList); in handleStartPrinterDiscovery()
684 List<PrinterId> priorityList = (ArrayList<PrinterId>) message.obj; in handleMessage() local
685 handleStartPrinterDiscovery(priorityList); in handleMessage()
DPrintManagerService.java386 List<PrinterId> priorityList, int userId) { in startPrinterDiscovery() argument
388 if (priorityList != null) { in startPrinterDiscovery()
389 priorityList = Preconditions.checkCollectionElementsNotNull(priorityList, in startPrinterDiscovery()
404 userState.startPrinterDiscovery(observer, priorityList); in startPrinterDiscovery()
DUserState.java1309 @Nullable List<PrinterId> priorityList) { in startPrinterDiscoveryLocked() argument
1322 if (discoveryStarted && priorityList != null && !priorityList.isEmpty()) { in startPrinterDiscoveryLocked()
1323 validatePrinters(priorityList); in startPrinterDiscoveryLocked()
1336 args.arg2 = priorityList; in startPrinterDiscoveryLocked()
/frameworks/base/core/java/android/print/
DPrinterDiscoverySession.java77 public final void startPrinterDiscovery(@Nullable List<PrinterId> priorityList) { in startPrinterDiscovery() argument
85 mPrintManager.startPrinterDiscovery(mObserver, priorityList, mUserId); in startPrinterDiscovery()
DIPrintManager.aidl126 in List<PrinterId> priorityList, int userId); in startPrinterDiscovery() argument