Home
last modified time | relevance | path

Searched refs:mDiscoverySession (Results 1 – 5 of 5) 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.java297 private DiscoverySession mDiscoverySession; field in WifiAwareNetworkSpecifier.Builder
324 mDiscoverySession = discoverySession; in Builder()
430 if (mDiscoverySession == null) { in build()
441 int role = mDiscoverySession instanceof SubscribeDiscoverySession in build()
459 mDiscoverySession.mClientId, mDiscoverySession.mSessionId, mPeerHandle.peerId, in build()
/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java87 private DiscoverySession mDiscoverySession = Mockito.mock(DiscoverySession.class); field in NetworkCapabilitiesTest
726 mDiscoverySession, mPeerHandle).build(); in testWifiAwareNetworkSpecifier()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt55275 Landroid/printservice/PrintService;->mDiscoverySession:Landroid/printservice/PrinterDiscoverySessio…