Home
last modified time | relevance | path

Searched refs:mWifiP2pManager (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java70 private WifiP2pManager mWifiP2pManager; field in WifiP2pSettings
118 if (mWifiP2pManager == null) return;
146 if (mWifiP2pManager != null) {
147 mWifiP2pManager.requestPersistentGroupInfo(mChannel, WifiP2pSettings.this);
169 mWifiP2pManager = (WifiP2pManager) getSystemService(Context.WIFI_P2P_SERVICE); in onActivityCreated()
170 if (mWifiP2pManager != null) { in onActivityCreated()
171 mChannel = mWifiP2pManager.initialize(activity, getActivity().getMainLooper(), null); in onActivityCreated()
175 mWifiP2pManager = null; in onActivityCreated()
196 if (mWifiP2pManager != null) { in onActivityCreated()
210 mWifiP2pManager.setDeviceName(mChannel, in onActivityCreated()
[all …]
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java104 private WifiP2pManager mWifiP2pManager; field in WifiDisplaySettings
129 mWifiP2pManager = (WifiP2pManager)context.getSystemService(Context.WIFI_P2P_SERVICE); in onCreate()
130 mWifiP2pChannel = mWifiP2pManager.initialize(context, Looper.getMainLooper(), null); in onCreate()
471 mWifiP2pManager.createGroup(mWifiP2pChannel, new ActionListener() { in startAutoGO()
490 mWifiP2pManager.removeGroup(mWifiP2pChannel, new ActionListener() { in stopAutoGO()
509 mWifiP2pManager.listen(mWifiP2pChannel, enable, new ActionListener() { in setListenMode()
530 mWifiP2pManager.setWifiP2pChannels(mWifiP2pChannel, in setWifiP2pChannels()