Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettings.java139 private WifiEntry mSelectedWifiEntry; field in WifiSettings
501 mSelectedWifiEntry = ((LongPressWifiEntryPreference) preference).getWifiEntry(); in onCreateContextMenu()
503 menu.setHeaderTitle(mSelectedWifiEntry.getTitle()); in onCreateContextMenu()
504 if (mSelectedWifiEntry.canConnect()) { in onCreateContextMenu()
508 if (mSelectedWifiEntry.canDisconnect()) { in onCreateContextMenu()
520 WifiConfiguration config = mSelectedWifiEntry.getWifiConfiguration(); in onCreateContextMenu()
526 if (mSelectedWifiEntry.isSaved() && mSelectedWifiEntry.getConnectedState() in onCreateContextMenu()
533 return mSelectedWifiEntry.canForget() && !WifiUtils.isNetworkLockedDown(getActivity(), in canForgetNetwork()
534 mSelectedWifiEntry.getWifiConfiguration()); in canForgetNetwork()
541 connect(mSelectedWifiEntry, true /* editIfNoConfig */, false /* fullScreenEdit */); in onContextItemSelected()
[all …]
/packages/apps/Settings/src/com/android/settings/network/
DNetworkProviderSettings.java145 private WifiEntry mSelectedWifiEntry; field in NetworkProviderSettings
533 mSelectedWifiEntry = ((LongPressWifiEntryPreference) preference).getWifiEntry(); in onCreateContextMenu()
535 menu.setHeaderTitle(mSelectedWifiEntry.getTitle()); in onCreateContextMenu()
536 if (mSelectedWifiEntry.canConnect()) { in onCreateContextMenu()
540 if (mSelectedWifiEntry.canDisconnect()) { in onCreateContextMenu()
552 WifiConfiguration config = mSelectedWifiEntry.getWifiConfiguration(); in onCreateContextMenu()
558 if (mSelectedWifiEntry.isSaved() && mSelectedWifiEntry.getConnectedState() in onCreateContextMenu()
565 return mSelectedWifiEntry.canForget() && !WifiUtils.isNetworkLockedDown(getActivity(), in canForgetNetwork()
566 mSelectedWifiEntry.getWifiConfiguration()); in canForgetNetwork()
573 connect(mSelectedWifiEntry, true /* editIfNoConfig */, false /* fullScreenEdit */); in onContextItemSelected()
[all …]