Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java83 @VisibleForTesting WifiP2pPeer mSelectedWifiPeer; field in WifiP2pSettings
220 mSelectedWifiPeer = new WifiP2pPeer(getPrefContext(), device); in onActivityCreated()
433 mSelectedWifiPeer = (WifiP2pPeer) preference; in onPreferenceTreeClick()
434 if (mSelectedWifiPeer.device.status == WifiP2pDevice.CONNECTED) { in onPreferenceTreeClick()
436 } else if (mSelectedWifiPeer.device.status == WifiP2pDevice.INVITED) { in onPreferenceTreeClick()
440 config.deviceAddress = mSelectedWifiPeer.device.deviceAddress; in onPreferenceTreeClick()
447 if (mSelectedWifiPeer.device.wpsPbcSupported()) { in onPreferenceTreeClick()
449 } else if (mSelectedWifiPeer.device.wpsKeypadSupported()) { in onPreferenceTreeClick()
480 String deviceName = TextUtils.isEmpty(mSelectedWifiPeer.device.deviceName) ? in onCreateDialog()
481 mSelectedWifiPeer.device.deviceAddress : in onCreateDialog()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/
DWifiP2pSettingsTest.java116 assertThat(mFragment.mSelectedWifiPeer).isNull(); in onActivityCreate_withNullBundle_canNotGetValue()
209 mFragment.mSelectedWifiPeer = mWifiP2pPeer; in clickCancel_withInvitedPeerDialog_shouldCallCancelConnection()
306 mFragment.mSelectedWifiPeer = mWifiP2pPeer; in pressDisconnectDialog_clickDisconnectDialog_shouldRemoveGroup()