Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/p2p/
DWifiP2pSettings.java79 private WifiP2pPeer mSelectedWifiPeer; field in WifiP2pSettings
210 mSelectedWifiPeer = new WifiP2pPeer(getPrefContext(), device); in onActivityCreated()
424 mSelectedWifiPeer = (WifiP2pPeer) preference; in onPreferenceTreeClick()
425 if (mSelectedWifiPeer.device.status == WifiP2pDevice.CONNECTED) { in onPreferenceTreeClick()
427 } else if (mSelectedWifiPeer.device.status == WifiP2pDevice.INVITED) { in onPreferenceTreeClick()
431 config.deviceAddress = mSelectedWifiPeer.device.deviceAddress; in onPreferenceTreeClick()
438 if (mSelectedWifiPeer.device.wpsPbcSupported()) { in onPreferenceTreeClick()
440 } else if (mSelectedWifiPeer.device.wpsKeypadSupported()) { in onPreferenceTreeClick()
470 String deviceName = TextUtils.isEmpty(mSelectedWifiPeer.device.deviceName) ? in onCreateDialog()
471 mSelectedWifiPeer.device.deviceAddress : in onCreateDialog()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java80 private WifiP2pPeer mSelectedWifiPeer; field in WifiP2pSettings
213 mSelectedWifiPeer = new WifiP2pPeer(getPrefContext(), device); in onActivityCreated()
421 mSelectedWifiPeer = (WifiP2pPeer) preference; in onPreferenceTreeClick()
422 if (mSelectedWifiPeer.device.status == WifiP2pDevice.CONNECTED) { in onPreferenceTreeClick()
424 } else if (mSelectedWifiPeer.device.status == WifiP2pDevice.INVITED) { in onPreferenceTreeClick()
428 config.deviceAddress = mSelectedWifiPeer.device.deviceAddress; in onPreferenceTreeClick()
435 if (mSelectedWifiPeer.device.wpsPbcSupported()) { in onPreferenceTreeClick()
437 } else if (mSelectedWifiPeer.device.wpsKeypadSupported()) { in onPreferenceTreeClick()
467 String deviceName = TextUtils.isEmpty(mSelectedWifiPeer.device.deviceName) ? in onCreateDialog()
468 mSelectedWifiPeer.device.deviceAddress : in onCreateDialog()
[all …]