Home
last modified time | relevance | path

Searched refs:mDiscoverySession (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/printservice/
DPrintService.java279 private PrinterDiscoverySession mDiscoverySession; field in PrintService
488 mDiscoverySession = session;
498 if (mDiscoverySession != null) {
499 mDiscoverySession.destroy();
500 mDiscoverySession = null;
509 if (mDiscoverySession != null) {
511 mDiscoverySession.startPrinterDiscovery(priorityList);
520 if (mDiscoverySession != null) {
521 mDiscoverySession.stopPrinterDiscovery();
530 if (mDiscoverySession != null) {
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DFusedPrintersProvider.java110 private PrinterDiscoverySession mDiscoverySession; field in FusedPrintersProvider
300 if (mDiscoverySession == null) { in loadInternal()
303 mDiscoverySession = printManager.createPrinterDiscoverySession(); in loadInternal()
309 && !mDiscoverySession.isPrinterDiscoveryStarted()) { in loadInternal()
310 mDiscoverySession.setOnPrintersChangeListener(new OnPrintersChangeListener() { in loadInternal()
315 + mDiscoverySession.getPrinters().size() in loadInternal()
319 updatePrinters(mDiscoverySession.getPrinters(), mFavoritePrinters, in loadInternal()
328 mDiscoverySession.startPrinterDiscovery(printerIds); in loadInternal()
329 List<PrinterInfo> printers = mDiscoverySession.getPrinters(); in loadInternal()
371 if (mDiscoverySession != null in cancelInternal()
[all …]
/frameworks/base/wifi/java/android/net/wifi/aware/
DWifiAwareNetworkSpecifier.java305 private DiscoverySession mDiscoverySession; field in WifiAwareNetworkSpecifier.Builder
332 mDiscoverySession = discoverySession; in Builder()
438 if (mDiscoverySession == null) { in build()
449 int role = mDiscoverySession instanceof SubscribeDiscoverySession in build()
467 mDiscoverySession.mClientId, mDiscoverySession.mSessionId, mPeerHandle.peerId, in build()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt59370 Landroid/printservice/PrintService;->mDiscoverySession:Landroid/printservice/PrinterDiscoverySessio…