Searched refs:mPeerDiscovery (Results 1 – 1 of 1) sorted by relevance
36 private P2pDiscoveryProcedure mPeerDiscovery; field in P2pMonitor81 if (mPeerDiscovery == null) { in discover()82 mPeerDiscovery = new P2pDiscoveryProcedure(mService, mP2pManager, listener); in discover()84 mPeerDiscovery.addListener(listener); in discover()94 if (mPeerDiscovery != null) { in stopDiscover()95 mPeerDiscovery.removeListener(listener); in stopDiscover()96 if (mPeerDiscovery.getListeners().isEmpty()) { in stopDiscover()97 mPeerDiscovery.cancel(); in stopDiscover()98 mPeerDiscovery = null; in stopDiscover()190 if (mPeerDiscovery != null) { in stopAll()[all …]