Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java74 private WifiP2pManager mWifiP2pManager; field in WifiP2pSettings
123 if (mWifiP2pManager == null) return;
143 mWifiP2pManager.requestDeviceInfo(mChannel, WifiP2pSettings.this);
154 if (mWifiP2pManager != null) {
155 mWifiP2pManager.requestPersistentGroupInfo(mChannel, WifiP2pSettings.this);
198 mWifiP2pManager = (WifiP2pManager) getSystemService(Context.WIFI_P2P_SERVICE); in onActivityCreated()
199 if (mWifiP2pManager != null) { in onActivityCreated()
200 mChannel = mWifiP2pManager.initialize(activity.getApplicationContext(), in onActivityCreated()
205 mWifiP2pManager = null; in onActivityCreated()
226 if (mWifiP2pManager != null) { in onActivityCreated()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/p2p/
DWifiP2pSettings.java73 private WifiP2pManager mWifiP2pManager; field in WifiP2pSettings
122 if (mWifiP2pManager == null) return;
151 if (mWifiP2pManager != null) {
152 mWifiP2pManager.requestPersistentGroupInfo(mChannel, WifiP2pSettings.this);
195 mWifiP2pManager = (WifiP2pManager) getSystemService(Context.WIFI_P2P_SERVICE); in onActivityCreated()
196 if (mWifiP2pManager != null) { in onActivityCreated()
197 mChannel = mWifiP2pManager.initialize(activity.getApplicationContext(), in onActivityCreated()
202 mWifiP2pManager = null; in onActivityCreated()
223 if (mWifiP2pManager != null) { in onActivityCreated()
237 mWifiP2pManager.setDeviceName(mChannel, in onActivityCreated()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wfd/
DWifiDisplaySettings.java115 private WifiP2pManager mWifiP2pManager; field in WifiDisplaySettings
140 mWifiP2pManager = (WifiP2pManager) context.getSystemService(Context.WIFI_P2P_SERVICE); in onCreate()
141 mWifiP2pChannel = mWifiP2pManager.initialize(context, Looper.getMainLooper(), null); in onCreate()
488 mWifiP2pManager.createGroup(mWifiP2pChannel, new ActionListener() { in startAutoGO()
507 mWifiP2pManager.removeGroup(mWifiP2pChannel, new ActionListener() { in stopAutoGO()
526 mWifiP2pManager.listen(mWifiP2pChannel, enable, new ActionListener() { in setListenMode()
547 mWifiP2pManager.setWifiP2pChannels(mWifiP2pChannel, in setWifiP2pChannels()
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java115 private WifiP2pManager mWifiP2pManager; field in WifiDisplaySettings
141 mWifiP2pManager = (WifiP2pManager) context.getSystemService(Context.WIFI_P2P_SERVICE); in onCreate()
142 mWifiP2pChannel = mWifiP2pManager.initialize(context, Looper.getMainLooper(), null); in onCreate()
489 mWifiP2pManager.createGroup(mWifiP2pChannel, new ActionListener() { in startAutoGO()
508 mWifiP2pManager.removeGroup(mWifiP2pChannel, new ActionListener() { in stopAutoGO()
527 mWifiP2pManager.listen(mWifiP2pChannel, enable, new ActionListener() { in setListenMode()
548 mWifiP2pManager.setWifiP2pChannels(mWifiP2pChannel, in setWifiP2pChannels()