/packages/apps/Settings/src/com/android/settings/wifi/details/ |
D | WifiPrivacyPreferenceController.java | 42 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 …]
|
D | WifiMeteredPreferenceController.java | 40 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/ |
D | WifiConfig.java | 29 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/ |
D | WifiPrivacyPreferenceController.java | 41 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()
|
D | WifiMeteredPreferenceController.java | 38 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/ |
D | ConnectState.java | 103 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()
|
D | UserChoiceInfo.java | 51 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/ |
D | ConnectStateTest.java | 52 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/ |
D | FakeCarProjectionService.java | 54 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/ |
D | WifiTetherPreferenceControllerTest.java | 71 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/ |
D | CarProjectionManagerTest.java | 112 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/ |
D | WifiMeteredPreferenceControllerTest.java | 45 private WifiConfiguration mWifiConfiguration; field in WifiMeteredPreferenceControllerTest 56 new WifiMeteredPreferenceController(mContext, mWifiConfiguration)); in setUp()
|
D | WifiPrivacyPreferenceControllerTest.java | 45 private WifiConfiguration mWifiConfiguration; field in WifiPrivacyPreferenceControllerTest 58 preferenceController.setWifiConfiguration(mWifiConfiguration); in setUp()
|