Home
last modified time | relevance | path

Searched refs:mWifiConfiguration (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiPrivacyPreferenceController.java42 private WifiConfiguration mWifiConfiguration; field in WifiPrivacyPreferenceController
50 mWifiConfiguration = null; in WifiPrivacyPreferenceController()
55 mWifiConfiguration = wifiConfiguration; in setWifiConfiguration()
95 if (mWifiConfiguration != null) { in onPreferenceChange()
96 mWifiConfiguration.macRandomizationSetting = Integer.parseInt((String) newValue); in onPreferenceChange()
97 mWifiManager.updateNetwork(mWifiConfiguration); in onPreferenceChange()
102 if (wifiInfo != null && wifiInfo.getNetworkId() == mWifiConfiguration.networkId) { in onPreferenceChange()
112 if (mWifiConfiguration != null) { in getRandomizationValue()
113 return mWifiConfiguration.macRandomizationSetting; in getRandomizationValue()
153 if (newConfig == null || mWifiConfiguration == null) { in onSubmit()
[all …]
DWifiMeteredPreferenceController.java40 private WifiConfiguration mWifiConfiguration; field in WifiMeteredPreferenceController
46 mWifiConfiguration = wifiConfiguration; in WifiMeteredPreferenceController()
65 if (mWifiConfiguration != null) { in onPreferenceChange()
66 mWifiConfiguration.meteredOverride = Integer.parseInt((String) newValue); in onPreferenceChange()
68 mWifiManager.updateNetwork(mWifiConfiguration); in onPreferenceChange()
77 if (mWifiConfiguration != null) { in getMeteredOverride()
79 return mWifiConfiguration.meteredOverride; in getMeteredOverride()
98 if (newConfig == null || mWifiConfiguration == null) { in onSubmit()
102 if (newConfig.meteredOverride != mWifiConfiguration.meteredOverride) { in onSubmit()
103 mWifiConfiguration = newConfig; in onSubmit()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConfig.java29 private WifiConfiguration mWifiConfiguration; field in WifiConfig
33 mWifiConfiguration = new WifiConfiguration(); in WifiConfig()
38 mWifiConfiguration.setIpConfiguration(configuration); in setIpConfiguration()
43 return mWifiConfiguration.getIpConfiguration(); in getIpConfiguration()
48 mWifiManager.save(mWifiConfiguration, listener); in save()
55 mWifiConfiguration = WifiConfigHelper.getWifiConfiguration(mWifiManager, networkId); in load()
60 return mWifiConfiguration.getPrintableSsid(); in getPrintableName()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/
DWifiPrivacyPreferenceController.java41 private WifiConfiguration mWifiConfiguration; field in WifiPrivacyPreferenceController
48 mWifiConfiguration = null; in WifiPrivacyPreferenceController()
53 mWifiConfiguration = wifiConfiguration; in setWifiConfiguration()
87 if (mWifiConfiguration != null) { in onPreferenceChange()
88 mWifiConfiguration.macRandomizationSetting = Integer.parseInt((String) newValue); in onPreferenceChange()
89 mWifiManager.updateNetwork(mWifiConfiguration); in onPreferenceChange()
100 if (mWifiConfiguration != null) { in getRandomizationValue()
101 return mWifiConfiguration.macRandomizationSetting; in getRandomizationValue()
DWifiMeteredPreferenceController.java38 private WifiConfiguration mWifiConfiguration; field in WifiMeteredPreferenceController
43 mWifiConfiguration = wifiConfiguration; in WifiMeteredPreferenceController()
62 if (mWifiConfiguration != null) { in onPreferenceChange()
63 mWifiConfiguration.meteredOverride = Integer.parseInt((String) newValue); in onPreferenceChange()
65 mWifiManager.updateNetwork(mWifiConfiguration); in onPreferenceChange()
74 if (mWifiConfiguration != null) { in getMeteredOverride()
76 return mWifiConfiguration.meteredOverride; in getMeteredOverride()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DConnectState.java103 WifiConfiguration mWifiConfiguration; field in ConnectState.ConnectToWifiFragment
133 mWifiConfiguration = userChoiceInfo.getWifiConfiguration(); in onCreate()
155 mWifiManager.addNetwork(mWifiConfiguration); in proceedDependOnNetworkState()
156 mWifiManager.connect(mWifiConfiguration, null); in proceedDependOnNetworkState()
177 accessPoint.getSsidStr()).equals(mWifiConfiguration.SSID)) { in onWifiListChanged()
235 && currentConnection.getSSID().equals(mWifiConfiguration.SSID)) { in isNetworkConnected()
DUserChoiceInfo.java51 private WifiConfiguration mWifiConfiguration = new WifiConfiguration(); field in UserChoiceInfo
121 return mWifiConfiguration; in getWifiConfiguration()
128 this.mWifiConfiguration = wifiConfiguration; in setWifiConfiguration()
190 mWifiConfiguration = new WifiConfiguration(); in init()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/setup/
DConnectStateTest.java52 private WifiConfiguration mWifiConfiguration; field in ConnectStateTest
74 mWifiConfiguration.networkId = -1; in testProcessForward_networkNotSaved()
75 mUserChoiceInfo.setWifiConfiguration(mWifiConfiguration); in testProcessForward_networkNotSaved()
77 verify(mWifiConfiguration).setIpConfiguration(any()); in testProcessForward_networkNotSaved()
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeCarProjectionService.java54 private WifiConfiguration mWifiConfiguration; field in FakeCarProjectionService
118 if (mWifiConfiguration != null) { in startProjectionAccessPoint()
120 message.obj = mWifiConfiguration; in startProjectionAccessPoint()
183 mWifiConfiguration = wifiConfiguration; in setWifiConfiguration()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherPreferenceControllerTest.java71 private WifiConfiguration mWifiConfiguration; field in WifiTetherPreferenceControllerTest
91 when(mWifiManager.getWifiApConfiguration()).thenReturn(mWifiConfiguration); in setUp()
92 mWifiConfiguration.SSID = SSID; in setUp()
/packages/services/Car/tests/CarLibTests/src/android/car/
DCarProjectionManagerTest.java112 assertThat(mApCallback.mWifiConfiguration).isEqualTo(wifiConfiguration); in startAp_success()
259 WifiConfiguration mWifiConfiguration; field in CarProjectionManagerTest.ApCallback
263 mWifiConfiguration = wifiConfiguration; in onStarted()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiMeteredPreferenceControllerTest.java45 private WifiConfiguration mWifiConfiguration; field in WifiMeteredPreferenceControllerTest
56 new WifiMeteredPreferenceController(mContext, mWifiConfiguration)); in setUp()
DWifiPrivacyPreferenceControllerTest.java45 private WifiConfiguration mWifiConfiguration; field in WifiPrivacyPreferenceControllerTest
58 preferenceController.setWifiConfiguration(mWifiConfiguration); in setUp()