Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/savedaccesspoints/
DSavedAccessPointsWifiSettings.java51 private AccessPoint mSelectedAccessPoint; field in SavedAccessPointsWifiSettings
98 mSelectedAccessPoint = accessPoint.getAccessPoint(); in showWifiDialog()
101 mSelectedAccessPoint = null; in showWifiDialog()
106 if (mSelectedAccessPoint == null) { in showWifiDialog()
107 mSelectedAccessPoint = new AccessPoint(getActivity(), mAccessPointSavedState); in showWifiDialog()
110 mSelectedAccessPoint.saveWifiState(savedState); in showWifiDialog()
113 .setTitleText(mSelectedAccessPoint.getTitle()) in showWifiDialog()
128 if (mSelectedAccessPoint == null) { in onCreateDialog()
130 mSelectedAccessPoint = new AccessPoint(getActivity(), mAccessPointSavedState); in onCreateDialog()
135 getActivity(), this, mSelectedAccessPoint, WifiConfigUiBase.MODE_VIEW); in onCreateDialog()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettings.java154 private AccessPoint mSelectedAccessPoint; field in WifiSettings
459 mSelectedAccessPoint = in onCreateContextMenu()
461 menu.setHeaderTitle(mSelectedAccessPoint.getTitle()); in onCreateContextMenu()
462 if (mSelectedAccessPoint.isConnectable()) { in onCreateContextMenu()
466 WifiConfiguration config = mSelectedAccessPoint.getConfig(); in onCreateContextMenu()
474 if (mSelectedAccessPoint.isSaved() || mSelectedAccessPoint.isEphemeral()) { in onCreateContextMenu()
475 final int stringId = mSelectedAccessPoint.isEphemeral() ? in onCreateContextMenu()
480 if (mSelectedAccessPoint.isSaved() && !mSelectedAccessPoint.isActive()) { in onCreateContextMenu()
488 if (mSelectedAccessPoint == null) { in onContextItemSelected()
493 boolean isSavedNetwork = mSelectedAccessPoint.isSaved(); in onContextItemSelected()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiSettings.java153 private AccessPoint mSelectedAccessPoint; field in WifiSettings
458 mSelectedAccessPoint = in onCreateContextMenu()
460 menu.setHeaderTitle(mSelectedAccessPoint.getTitle()); in onCreateContextMenu()
461 if (mSelectedAccessPoint.isConnectable()) { in onCreateContextMenu()
465 WifiConfiguration config = mSelectedAccessPoint.getConfig(); in onCreateContextMenu()
471 if (mSelectedAccessPoint.isSaved() || mSelectedAccessPoint.isEphemeral()) { in onCreateContextMenu()
477 if (mSelectedAccessPoint.isSaved()) { in onCreateContextMenu()
485 if (mSelectedAccessPoint == null) { in onContextItemSelected()
490 boolean isSavedNetwork = mSelectedAccessPoint.isSaved(); in onContextItemSelected()
492 connect(mSelectedAccessPoint.getConfig(), isSavedNetwork); in onContextItemSelected()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/savedaccesspoints/
DSavedAccessPointsWifiSettings.java49 private AccessPoint mSelectedAccessPoint; field in SavedAccessPointsWifiSettings
94 mSelectedAccessPoint = accessPoint.getAccessPoint(); in showWifiPage()
97 mSelectedAccessPoint = null; in showWifiPage()
101 if (mSelectedAccessPoint == null) { in showWifiPage()
102 mSelectedAccessPoint = new AccessPoint(getActivity(), mAccessPointSavedState); in showWifiPage()
105 mSelectedAccessPoint.saveWifiState(savedState); in showWifiPage()
108 .setTitleText(mSelectedAccessPoint.getTitle()) in showWifiPage()
120 if (mSelectedAccessPoint != null) { in onSaveInstanceState()
122 mSelectedAccessPoint.saveWifiState(mAccessPointSavedState); in onSaveInstanceState()