Searched refs:mP2pManager (Results 1 – 3 of 3) sorted by relevance
/packages/services/BuiltInPrintService/src/com/android/bips/p2p/ |
D | P2pDiscoveryProcedure.java | 49 private final WifiP2pManager mP2pManager; field in P2pDiscoveryProcedure 57 mP2pManager = p2pManager; in P2pDiscoveryProcedure() 59 mChannel = mP2pManager.initialize(service, Looper.getMainLooper(), null); in P2pDiscoveryProcedure() 71 mP2pManager.stopPeerDiscovery(mChannel, null); in P2pDiscoveryProcedure() 72 mP2pManager.discoverPeers(mChannel, null); in P2pDiscoveryProcedure() 82 mP2pManager.stopPeerDiscovery(mChannel, null); in P2pDiscoveryProcedure() 83 mP2pManager.discoverPeers(mChannel, null); in P2pDiscoveryProcedure() 92 mP2pManager.discoverPeers(mChannel, null); in P2pDiscoveryProcedure() 162 mP2pManager.stopPeerDiscovery(mChannel, null); in cancel()
|
D | P2pMonitor.java | 35 private final WifiP2pManager mP2pManager; field in P2pMonitor 42 mP2pManager = (WifiP2pManager) mService.getSystemService(Context.WIFI_P2P_SERVICE); in P2pMonitor() 78 if (mP2pManager == null) { in discover() 82 mPeerDiscovery = new P2pDiscoveryProcedure(mService, mP2pManager, listener); in discover() 110 if (mP2pManager == null) { in connect() 133 mConnection = new P2pConnectionProcedure(mService, mP2pManager, peer, in connect()
|
D | P2pConnectionProcedure.java | 50 private final WifiP2pManager mP2pManager; field in P2pConnectionProcedure 64 mP2pManager = p2pManager; in P2pConnectionProcedure() 70 mChannel = mP2pManager.initialize(service, Looper.getMainLooper(), null); in P2pConnectionProcedure() 72 mP2pManager.connect(mChannel, configForPeer(peer), null); in P2pConnectionProcedure() 122 mP2pManager.cancelConnect(mChannel, null); in close() 123 mP2pManager.removeGroup(mChannel, null); in close()
|