/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppUtils.java | 132 WifiConfiguration wifiConfiguration) { in getPresharedKey() argument 137 if (privilegedWifiConfiguration.networkId == wifiConfiguration.networkId) { in getPresharedKey() 140 if (wifiConfiguration.allowedKeyManagement.get(KeyMgmt.NONE) in getPresharedKey() 141 && wifiConfiguration.allowedAuthAlgorithms.get( in getPresharedKey() 150 return wifiConfiguration.preSharedKey; in getPresharedKey() 205 final WifiConfiguration wifiConfiguration = accessPoint.getConfig(); in getConfiguratorQrCodeGeneratorIntentOrNull() local 206 setConfiguratorIntentExtra(intent, wifiManager, wifiConfiguration); in getConfiguratorQrCodeGeneratorIntentOrNull() 234 final WifiConfiguration wifiConfiguration = accessPoint.getConfig(); in getConfiguratorQrCodeScannerIntentOrNull() local 235 setConfiguratorIntentExtra(intent, wifiManager, wifiConfiguration); in getConfiguratorQrCodeScannerIntentOrNull() 237 if (wifiConfiguration.networkId == WifiConfiguration.INVALID_NETWORK_ID) { in getConfiguratorQrCodeScannerIntentOrNull() [all …]
|
D | WifiNetworkConfig.java | 265 final WifiConfiguration wifiConfiguration = getBasicWifiConfiguration(); in getWifiConfigurations() local 267 wifiConfiguration.allowedKeyManagement.set(KeyMgmt.NONE); in getWifiConfigurations() 268 wifiConfiguration.allowedAuthAlgorithms.set(AuthAlgorithm.OPEN); in getWifiConfigurations() 269 wifiConfiguration.allowedAuthAlgorithms.set(AuthAlgorithm.SHARED); in getWifiConfigurations() 275 wifiConfiguration.wepKeys[0] = mPreSharedKey; in getWifiConfigurations() 277 wifiConfiguration.wepKeys[0] = addQuotationIfNeeded(mPreSharedKey); in getWifiConfigurations() 280 wifiConfiguration.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in getWifiConfigurations() 283 wifiConfiguration.preSharedKey = mPreSharedKey; in getWifiConfigurations() 285 wifiConfiguration.preSharedKey = addQuotationIfNeeded(mPreSharedKey); in getWifiConfigurations() 288 wifiConfiguration.allowedKeyManagement.set(KeyMgmt.SAE); in getWifiConfigurations() [all …]
|
D | WifiDppConfiguratorActivity.java | 387 for (WifiConfiguration wifiConfiguration : configs) { in getConnectedWifiNetworkConfigOrNull() 388 if (wifiConfiguration.networkId == connectionNetworkId) { in getConnectedWifiNetworkConfigOrNull() 390 WifiDppUtils.getSecurityString(wifiConfiguration), in getConnectedWifiNetworkConfigOrNull() 391 wifiConfiguration.getPrintableSsid(), in getConnectedWifiNetworkConfigOrNull() 392 wifiConfiguration.preSharedKey, in getConnectedWifiNetworkConfigOrNull() 393 wifiConfiguration.hiddenSSID, in getConnectedWifiNetworkConfigOrNull() 394 wifiConfiguration.networkId, in getConnectedWifiNetworkConfigOrNull()
|
D | WifiNetworkListFragment.java | 248 final WifiConfiguration wifiConfiguration = data.getParcelableExtra(WIFI_CONFIG_KEY); in handleAddNetworkSubmitEvent() local 249 if (wifiConfiguration != null) { in handleAddNetworkSubmitEvent() 250 mWifiManager.save(wifiConfiguration, mSaveListener); in handleAddNetworkSubmitEvent()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/ |
D | WifiNetworkConfig.java | 265 final WifiConfiguration wifiConfiguration = getBasicWifiConfiguration(); in getWifiConfigurations() local 267 wifiConfiguration.allowedKeyManagement.set(KeyMgmt.NONE); in getWifiConfigurations() 268 wifiConfiguration.allowedAuthAlgorithms.set(AuthAlgorithm.OPEN); in getWifiConfigurations() 269 wifiConfiguration.allowedAuthAlgorithms.set(AuthAlgorithm.SHARED); in getWifiConfigurations() 275 wifiConfiguration.wepKeys[0] = mPreSharedKey; in getWifiConfigurations() 277 wifiConfiguration.wepKeys[0] = addQuotationIfNeeded(mPreSharedKey); in getWifiConfigurations() 280 wifiConfiguration.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in getWifiConfigurations() 283 wifiConfiguration.preSharedKey = mPreSharedKey; in getWifiConfigurations() 285 wifiConfiguration.preSharedKey = addQuotationIfNeeded(mPreSharedKey); in getWifiConfigurations() 288 wifiConfiguration.allowedKeyManagement.set(KeyMgmt.SAE); in getWifiConfigurations() [all …]
|
D | WifiDppUtils.java | 197 final WifiConfiguration wifiConfiguration = accessPoint.getConfig(); in getConfiguratorQrCodeGeneratorIntentOrNull() local 198 setConfiguratorIntentExtra(intent, wifiManager, wifiConfiguration); in getConfiguratorQrCodeGeneratorIntentOrNull() 221 final WifiConfiguration wifiConfiguration = accessPoint.getConfig(); in getConfiguratorQrCodeScannerIntentOrNull() local 222 setConfiguratorIntentExtra(intent, wifiManager, wifiConfiguration); in getConfiguratorQrCodeScannerIntentOrNull() 224 if (wifiConfiguration.networkId == WifiConfiguration.INVALID_NETWORK_ID) { in getConfiguratorQrCodeScannerIntentOrNull() 227 intent.putExtra(EXTRA_WIFI_NETWORK_ID, wifiConfiguration.networkId); in getConfiguratorQrCodeScannerIntentOrNull() 243 WifiManager wifiManager, WifiConfiguration wifiConfiguration) { in getHotspotConfiguratorIntentOrNull() argument 245 if (isSupportHotspotConfiguratorQrCodeGenerator(wifiConfiguration)) { in getHotspotConfiguratorIntentOrNull() 251 setConfiguratorIntentExtra(intent, wifiManager, wifiConfiguration); in getHotspotConfiguratorIntentOrNull() 268 WifiConfiguration wifiConfiguration) { in setConfiguratorIntentExtra() argument [all …]
|
D | WifiDppConfiguratorActivity.java | 392 for (WifiConfiguration wifiConfiguration : configs) { in getConnectedWifiNetworkConfigOrNull() 393 if (wifiConfiguration.networkId == connectionNetworkId) { in getConnectedWifiNetworkConfigOrNull() 395 WifiDppUtils.getSecurityString(wifiConfiguration), in getConnectedWifiNetworkConfigOrNull() 396 wifiConfiguration.getPrintableSsid(), in getConnectedWifiNetworkConfigOrNull() 397 wifiConfiguration.preSharedKey, in getConnectedWifiNetworkConfigOrNull() 399 wifiConfiguration.networkId, in getConnectedWifiNetworkConfigOrNull()
|
D | WifiNetworkListFragment.java | 248 final WifiConfiguration wifiConfiguration = data.getParcelableExtra(WIFI_CONFIG_KEY); in handleAddNetworkSubmitEvent() local 249 if (wifiConfiguration != null) { in handleAddNetworkSubmitEvent() 250 mWifiManager.save(wifiConfiguration, mSaveListener); in handleAddNetworkSubmitEvent()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiDetailsFragment.java | 156 WifiConfiguration wifiConfiguration = mAccessPoint.getConfig(); in update() local 157 if (wifiConfiguration != null) { in update() 158 final int networkId = wifiConfiguration.networkId; in update() 160 wifiConfiguration.getProxySettings() == IpConfiguration.ProxySettings.NONE in update() 166 wifiConfiguration.getIpAssignment() == IpConfiguration.IpAssignment.STATIC in update() 174 mProxySettingsPref.setVisible(wifiConfiguration != null); in update() 175 mIpSettingsPref.setVisible(wifiConfiguration != null); in update() 176 mForgetNetworkPref.setVisible(wifiConfiguration != null); in update()
|
/packages/services/Car/tests/CarLibTests/src/android/car/ |
D | CarProjectionManagerTest.java | 103 WifiConfiguration wifiConfiguration = new WifiConfiguration(); in startAp_success() local 104 wifiConfiguration.SSID = "Hello"; in startAp_success() 105 wifiConfiguration.BSSID = "AA:BB:CC:CC:DD:EE"; in startAp_success() 106 wifiConfiguration.preSharedKey = "password"; in startAp_success() 108 mController.setWifiConfiguration(wifiConfiguration); in startAp_success() 112 assertThat(mApCallback.mWifiConfiguration).isEqualTo(wifiConfiguration); in startAp_success() 262 public void onStarted(WifiConfiguration wifiConfiguration) { in onStarted() argument 263 mWifiConfiguration = wifiConfiguration; in onStarted()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | EnterPasswordState.java | 184 WifiConfiguration wifiConfiguration = mUserChoiceInfo.getWifiConfiguration(); in setWifiConfigurationPassword() local 190 wifiConfiguration.wepKeys[0] = password; in setWifiConfigurationPassword() 192 wifiConfiguration.wepKeys[0] = '"' + password + '"'; in setWifiConfigurationPassword() 200 wifiConfiguration.preSharedKey = password; in setWifiConfigurationPassword() 202 wifiConfiguration.preSharedKey = '"' + password + '"'; in setWifiConfigurationPassword()
|
D | AddPageBasedOnNetworkState.java | 64 WifiConfiguration wifiConfiguration = WifiConfigHelper.getConfiguration( in processForward() local 69 mUserChoiceInfo.setWifiConfiguration(wifiConfiguration); in processForward() 70 if (WifiConfigHelper.isNetworkSaved(wifiConfiguration)) { in processForward()
|
D | UserChoiceInfo.java | 127 public void setWifiConfiguration(WifiConfiguration wifiConfiguration) { in setWifiConfiguration() argument 128 this.mWifiConfiguration = wifiConfiguration; in setWifiConfiguration()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcWifiProtectedSetup.java | 74 final WifiConfiguration wifiConfiguration; in tryNfcWifiSetup() local 76 wifiConfiguration = parse(cachedNdefMessage); in tryNfcWifiSetup() 82 if (wifiConfiguration != null &&!UserManager.get(context).hasUserRestriction( in tryNfcWifiSetup() 87 .putExtra(EXTRA_WIFI_CONFIG, wifiConfiguration) in tryNfcWifiSetup()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/setup/ |
D | AddPageBasedOnNetworkStateTest.java | 87 WifiConfiguration wifiConfiguration = new WifiConfiguration(); in testForward_clearPassword_ssidNotMatch() local 88 wifiConfiguration.SSID = "atv02"; in testForward_clearPassword_ssidNotMatch() 89 mUserChoiceInfo.setWifiConfiguration(wifiConfiguration); in testForward_clearPassword_ssidNotMatch() 90 WifiConfigHelper.saveConfiguration(mActivity, wifiConfiguration); in testForward_clearPassword_ssidNotMatch()
|
D | ConnectTimeoutStateTest.java | 55 WifiConfiguration wifiConfiguration = new WifiConfiguration(); in testProcessForward() local 56 wifiConfiguration.SSID = ssid; in testProcessForward() 57 userInfo.setWifiConfiguration(wifiConfiguration); in testProcessForward()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiConfigControllerTest.java | 503 WifiConfiguration wifiConfiguration; in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition() local 508 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition() 510 assertThat(wifiConfiguration.enterpriseConfig.getEapMethod()).isEqualTo(Eap.PEAP); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition() 511 assertThat(wifiConfiguration.enterpriseConfig.getPhase2Method()).isEqualTo( in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition() 517 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition() 519 assertThat(wifiConfiguration.enterpriseConfig.getEapMethod()).isEqualTo(Eap.TTLS); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition() 520 assertThat(wifiConfiguration.enterpriseConfig.getPhase2Method()).isEqualTo( in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiInfoProviderImpl.java | 81 WifiConfiguration wifiConfiguration = intent 83 if (mAccessPoint.matches(wifiConfiguration)) { 84 mWifiConfig = wifiConfiguration;
|
D | WifiInfoProvider.java | 54 void onWifiConfigurationChanged(WifiConfiguration wifiConfiguration, in onWifiConfigurationChanged() argument
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/ |
D | WifiMeteredPreferenceController.java | 41 public WifiMeteredPreferenceController(Context context, WifiConfiguration wifiConfiguration) { in WifiMeteredPreferenceController() argument 43 mWifiConfiguration = wifiConfiguration; in WifiMeteredPreferenceController()
|
D | WifiPrivacyPreferenceController.java | 52 public void setWifiConfiguration(WifiConfiguration wifiConfiguration) { in setWifiConfiguration() argument 53 mWifiConfiguration = wifiConfiguration; in setWifiConfiguration()
|
/packages/apps/Settings/src/com/android/settings/wifi/details/ |
D | WifiMeteredPreferenceController.java | 44 public WifiMeteredPreferenceController(Context context, WifiConfiguration wifiConfiguration) { in WifiMeteredPreferenceController() argument 46 mWifiConfiguration = wifiConfiguration; in WifiMeteredPreferenceController()
|
D | WifiPrivacyPreferenceController.java | 54 public void setWifiConfiguration(WifiConfiguration wifiConfiguration) { in setWifiConfiguration() argument 55 mWifiConfiguration = wifiConfiguration; in setWifiConfiguration()
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeCarProjectionService.java | 182 public void setWifiConfiguration(WifiConfiguration wifiConfiguration) { in setWifiConfiguration() argument 183 mWifiConfiguration = wifiConfiguration; in setWifiConfiguration()
|
D | CarProjectionController.java | 26 void setWifiConfiguration(WifiConfiguration wifiConfiguration); in setWifiConfiguration() argument
|