/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiNetworkSpecifierTest.java | 76 assertTrue(wifiNetworkSpecifier.wifiConfiguration.allowedKeyManagement in testWifiNetworkSpecifierBuilderForOpenNetworkWithSsidPattern() 102 assertTrue(wifiNetworkSpecifier.wifiConfiguration.allowedKeyManagement in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern() 105 wifiNetworkSpecifier.wifiConfiguration.preSharedKey); in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern() 135 assertTrue(wifiNetworkSpecifier.wifiConfiguration.allowedKeyManagement in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid() 137 assertTrue(wifiNetworkSpecifier.wifiConfiguration.allowedKeyManagement in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid() 139 assertTrue(wifiNetworkSpecifier.wifiConfiguration.hiddenSSID); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid() 141 wifiNetworkSpecifier.wifiConfiguration.enterpriseConfig.getEapMethod()); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid() 143 wifiNetworkSpecifier.wifiConfiguration.enterpriseConfig.getPhase2Method()); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid() 165 assertEquals("\"" + TEST_SSID + "\"", wifiNetworkSpecifier.wifiConfiguration.SSID); in testWifiNetworkSpecifierBuilderForWpa3EapNetwork() 166 assertTrue(wifiNetworkSpecifier.wifiConfiguration.allowedKeyManagement in testWifiNetworkSpecifierBuilderForWpa3EapNetwork() [all …]
|
D | WifiNetworkSuggestionTest.java | 69 assertEquals("\"" + TEST_SSID + "\"", suggestion.wifiConfiguration.SSID); in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction() 70 assertTrue(suggestion.wifiConfiguration.allowedKeyManagement in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction() 75 suggestion.wifiConfiguration.meteredOverride); in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction() 76 assertEquals(-1, suggestion.wifiConfiguration.priority); in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction() 98 assertEquals("\"" + TEST_SSID + "\"", suggestion.wifiConfiguration.SSID); in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction() 99 assertTrue(suggestion.wifiConfiguration.allowedKeyManagement in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction() 102 suggestion.wifiConfiguration.preSharedKey); in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction() 106 suggestion.wifiConfiguration.meteredOverride); in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction() 107 assertEquals(0, suggestion.wifiConfiguration.priority); in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction() 129 assertEquals("\"" + TEST_SSID + "\"", suggestion.wifiConfiguration.SSID); in testWifiNetworkSuggestionBuilderForWpa2PskNetworkWithMeteredAndReqUserInteraction() [all …]
|
D | WifiNetworkAgentSpecifierTest.java | 496 WifiConfiguration wifiConfiguration = new WifiConfiguration(); in createDefaultWifiConfiguration() local 497 wifiConfiguration.SSID = "\"" + TEST_SSID + "\""; in createDefaultWifiConfiguration() 498 wifiConfiguration.BSSID = TEST_BSSID; in createDefaultWifiConfiguration() 499 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in createDefaultWifiConfiguration() 500 wifiConfiguration.preSharedKey = TEST_PRESHARED_KEY; in createDefaultWifiConfiguration() 501 return wifiConfiguration; in createDefaultWifiConfiguration()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiNetworkSuggestion.java | 957 final WifiConfiguration wifiConfiguration = new WifiConfiguration(); in buildWifiConfiguration() local 959 wifiConfiguration.SSID = "\"" + mSsid + "\""; in buildWifiConfiguration() 961 wifiConfiguration.BSSID = mBssid.toString(); in buildWifiConfiguration() 964 setSecurityParamsInWifiConfiguration(wifiConfiguration); in buildWifiConfiguration() 966 wifiConfiguration.hiddenSSID = mIsHiddenSSID; in buildWifiConfiguration() 967 wifiConfiguration.priority = mPriority; in buildWifiConfiguration() 968 wifiConfiguration.meteredOverride = mMeteredOverride; in buildWifiConfiguration() 969 wifiConfiguration.carrierId = mCarrierId; in buildWifiConfiguration() 970 wifiConfiguration.trusted = !mIsNetworkUntrusted; in buildWifiConfiguration() 971 wifiConfiguration.oemPaid = mIsNetworkOemPaid; in buildWifiConfiguration() [all …]
|
D | WifiNetworkSpecifier.java | 474 final WifiConfiguration wifiConfiguration = new WifiConfiguration(); in buildWifiConfiguration() local 477 wifiConfiguration.SSID = "\"" + mSsidPatternMatcher.getPath() + "\""; in buildWifiConfiguration() 480 wifiConfiguration.BSSID = mBssidPatternMatcher.first.toString(); in buildWifiConfiguration() 482 setSecurityParamsInWifiConfiguration(wifiConfiguration); in buildWifiConfiguration() 483 wifiConfiguration.hiddenSSID = mIsHiddenSSID; in buildWifiConfiguration() 484 return wifiConfiguration; in buildWifiConfiguration() 659 public final WifiConfiguration wifiConfiguration; field in WifiNetworkSpecifier 670 @NonNull WifiConfiguration wifiConfiguration) { in WifiNetworkSpecifier() argument 673 checkNotNull(wifiConfiguration); in WifiNetworkSpecifier() 678 this.wifiConfiguration = wifiConfiguration; in WifiNetworkSpecifier() [all …]
|
D | WifiNetworkAgentSpecifier.java | 62 public WifiNetworkAgentSpecifier(@NonNull WifiConfiguration wifiConfiguration, in WifiNetworkAgentSpecifier() argument 64 checkNotNull(wifiConfiguration); in WifiNetworkAgentSpecifier() 66 mWifiConfiguration = wifiConfiguration; in WifiNetworkAgentSpecifier() 78 WifiConfiguration wifiConfiguration = in.readParcelable(null); 81 return new WifiNetworkAgentSpecifier(wifiConfiguration, band, 129 checkNotNull(ns.wifiConfiguration.allowedKeyManagement); in satisfiesNetworkSpecifier() 153 if (!ns.wifiConfiguration.allowedKeyManagement.equals( in satisfiesNetworkSpecifier()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManager.java | 307 this.wns.wifiConfiguration.fromWifiNetworkSuggestion = true; in ExtendedWifiNetworkSuggestion() 308 this.wns.wifiConfiguration.ephemeral = true; in ExtendedWifiNetworkSuggestion() 309 this.wns.wifiConfiguration.creatorName = perAppInfo.packageName; in ExtendedWifiNetworkSuggestion() 310 this.wns.wifiConfiguration.creatorUid = perAppInfo.uid; in ExtendedWifiNetworkSuggestion() 315 this.wns.wifiConfiguration.carrierId = perAppInfo.carrierId; in ExtendedWifiNetworkSuggestion() 507 ewns.wns.wifiConfiguration.isMostRecentlyConnected = mLruConnectionTracker in toSerialize() 536 if (ewns.wns.wifiConfiguration.isMostRecentlyConnected) { in fromDeserialized() 707 extNetworkSuggestion.wns.wifiConfiguration); in addToScanResultMatchInfoMap() 709 if (!TextUtils.isEmpty(extNetworkSuggestion.wns.wifiConfiguration.BSSID)) { in addToScanResultMatchInfoMap() 713 extNetworkSuggestion.wns.wifiConfiguration.BSSID)); in addToScanResultMatchInfoMap() [all …]
|
D | NetworkSuggestionStoreData.java | 223 out, suggestion.wifiConfiguration, encryptionUtil); in serializeNetworkSuggestion() 226 if (suggestion.wifiConfiguration.enterpriseConfig != null in serializeNetworkSuggestion() 227 && suggestion.wifiConfiguration.enterpriseConfig.getEapMethod() in serializeNetworkSuggestion() 232 out, suggestion.wifiConfiguration.enterpriseConfig, encryptionUtil); in serializeNetworkSuggestion() 475 WifiConfiguration wifiConfiguration = parsedConfig.second; in parseNetworkSuggestion() local 477 wifiConfiguration.setPasspointUniqueId(passpointConfiguration.getUniqueId()); in parseNetworkSuggestion() 480 wifiConfiguration.enterpriseConfig = enterpriseConfig; in parseNetworkSuggestion() 483 .fromWns(new WifiNetworkSuggestion(wifiConfiguration, passpointConfiguration, in parseNetworkSuggestion()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiNetworkConfig.java | 260 final WifiConfiguration wifiConfiguration = getBasicWifiConfiguration(); in getWifiConfigurations() local 262 wifiConfiguration.setSecurityParams(WifiConfiguration.SECURITY_TYPE_WEP); in getWifiConfigurations() 268 wifiConfiguration.wepKeys[0] = mPreSharedKey; in getWifiConfigurations() 270 wifiConfiguration.wepKeys[0] = addQuotationIfNeeded(mPreSharedKey); in getWifiConfigurations() 273 wifiConfiguration.setSecurityParams(WifiConfiguration.SECURITY_TYPE_PSK); in getWifiConfigurations() 276 wifiConfiguration.preSharedKey = mPreSharedKey; in getWifiConfigurations() 278 wifiConfiguration.preSharedKey = addQuotationIfNeeded(mPreSharedKey); in getWifiConfigurations() 281 wifiConfiguration.setSecurityParams(WifiConfiguration.SECURITY_TYPE_SAE); in getWifiConfigurations() 283 wifiConfiguration.preSharedKey = addQuotationIfNeeded(mPreSharedKey); in getWifiConfigurations() 290 wifiConfigurations.add(wifiConfiguration); in getWifiConfigurations() [all …]
|
D | WifiDppUtils.java | 127 WifiConfiguration wifiConfiguration) { in getPresharedKey() argument 132 if (privilegedWifiConfiguration.networkId == wifiConfiguration.networkId) { in getPresharedKey() 135 if (wifiConfiguration.allowedKeyManagement.get(KeyMgmt.NONE) in getPresharedKey() 136 && wifiConfiguration.allowedAuthAlgorithms.get( in getPresharedKey() 145 return wifiConfiguration.preSharedKey; in getPresharedKey() 216 final WifiConfiguration wifiConfiguration = accessPoint.getConfig(); in getConfiguratorQrCodeGeneratorIntentOrNull() local 217 setConfiguratorIntentExtra(intent, wifiManager, wifiConfiguration); in getConfiguratorQrCodeGeneratorIntentOrNull() 248 final WifiConfiguration wifiConfiguration = wifiEntry.getWifiConfiguration(); in getConfiguratorQrCodeGeneratorIntentOrNull() local 249 setConfiguratorIntentExtra(intent, wifiManager, wifiConfiguration); in getConfiguratorQrCodeGeneratorIntentOrNull() 272 final WifiConfiguration wifiConfiguration = wifiEntry.getWifiConfiguration(); in getConfiguratorQrCodeScannerIntentOrNull() local [all …]
|
D | WifiDppConfiguratorActivity.java | 373 for (WifiConfiguration wifiConfiguration : configs) { in getConnectedWifiNetworkConfigOrNull() 374 if (wifiConfiguration.networkId == connectionNetworkId) { in getConnectedWifiNetworkConfigOrNull() 376 WifiDppUtils.getSecurityString(wifiConfiguration), in getConnectedWifiNetworkConfigOrNull() 377 wifiConfiguration.getPrintableSsid(), in getConnectedWifiNetworkConfigOrNull() 378 wifiConfiguration.preSharedKey, in getConnectedWifiNetworkConfigOrNull() 379 wifiConfiguration.hiddenSSID, in getConnectedWifiNetworkConfigOrNull() 380 wifiConfiguration.networkId, in getConnectedWifiNetworkConfigOrNull()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowWifiManager.java | 64 protected void connect(WifiConfiguration wifiConfiguration, in connect() argument 68 makeCopy(wifiConfiguration, wifiConfiguration.networkId)); in connect() 69 mLastEnabledNetwork = new Pair<>(wifiConfiguration.networkId, true); in connect() 73 String ssid = isQuoted(wifiConfiguration.SSID) in connect() 74 ? stripQuotes(wifiConfiguration.SSID) in connect() 75 : wifiConfiguration.SSID; in connect() 79 shadowWifiInfo.setBSSID(wifiConfiguration.BSSID); in connect() 80 shadowWifiInfo.setNetworkId(wifiConfiguration.networkId); in connect() 124 WifiConfiguration wifiConfiguration = getMostRecentNetwork(); in reconnect() local 125 if (wifiConfiguration == null) { in reconnect() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiConfigController2Test.java | 577 WifiConfiguration wifiConfiguration; in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition() local 582 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition() 584 assertThat(wifiConfiguration.enterpriseConfig.getEapMethod()).isEqualTo(Eap.PEAP); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition() 585 assertThat(wifiConfiguration.enterpriseConfig.getPhase2Method()).isEqualTo( in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition() 591 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition() 593 assertThat(wifiConfiguration.enterpriseConfig.getEapMethod()).isEqualTo(Eap.TTLS); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition() 594 assertThat(wifiConfiguration.enterpriseConfig.getPhase2Method()).isEqualTo( in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition() 622 WifiConfiguration wifiConfiguration = mController.getConfig(); in getWepConfig_withNumberAndCharacterKey_shouldContainTheSameKey() local 624 assertThat(wifiConfiguration.wepKeys[0]).isEqualTo(NUMBER_AND_CHARACTER_KEY); in getWepConfig_withNumberAndCharacterKey_shouldContainTheSameKey() 633 WifiConfiguration wifiConfiguration = mController.getConfig(); in getWepConfig_withPartialNumberAndCharacterKey_shouldContainDifferentKey() local [all …]
|
D | WifiConfigControllerTest.java | 537 WifiConfiguration wifiConfiguration; in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition() local 542 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition() 544 assertThat(wifiConfiguration.enterpriseConfig.getEapMethod()).isEqualTo(Eap.PEAP); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition() 545 assertThat(wifiConfiguration.enterpriseConfig.getPhase2Method()).isEqualTo( in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition() 551 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition() 553 assertThat(wifiConfiguration.enterpriseConfig.getEapMethod()).isEqualTo(Eap.TTLS); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition() 554 assertThat(wifiConfiguration.enterpriseConfig.getPhase2Method()).isEqualTo( in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition() 597 final WifiConfiguration wifiConfiguration = mController.getConfig(); in loadSims_noSim_simSpinnerDefaultNoSim() local 598 assertThat(wifiConfiguration.carrierId).isEqualTo(TelephonyManager.UNKNOWN_CARRIER_ID); in loadSims_noSim_simSpinnerDefaultNoSim() 621 final WifiConfiguration wifiConfiguration = mController.getConfig(); in loadSims_oneSim_simSpinnerDefaultSubscription() local [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManagerTest.java | 469 when(mWifiKeyStore.updateNetworkKeys(eq(networkSuggestion1.wifiConfiguration), any())) in testAddRemoveEnterpriseNetworkSuggestion() 471 when(mWifiKeyStore.updateNetworkKeys(eq(networkSuggestion2.wifiConfiguration), any())) in testAddRemoveEnterpriseNetworkSuggestion() 483 removingSuggestion.wifiConfiguration.SSID = networkSuggestion1.wifiConfiguration.SSID; in testAddRemoveEnterpriseNetworkSuggestion() 490 verify(mWifiKeyStore).removeKeys(networkSuggestion1.wifiConfiguration.enterpriseConfig); in testAddRemoveEnterpriseNetworkSuggestion() 506 when(mWifiKeyStore.updateNetworkKeys(eq(networkSuggestion1.wifiConfiguration), any())) in testAddNetworkSuggestionWithInvalidKeyChainKeyAlias() 527 when(mWifiKeyStore.updateNetworkKeys(eq(networkSuggestion1.wifiConfiguration), any())) in testAddNetworkSuggestionWithValidKeyChainKeyAlias() 541 networkSuggestion.wifiConfiguration.enterpriseConfig.setCaPath(null); in testAddInsecureEnterpriseNetworkSuggestion() 550 networkSuggestion.wifiConfiguration.enterpriseConfig.setDomainSuffixMatch(""); in testAddInsecureEnterpriseNetworkSuggestion() 564 networkSuggestion.wifiConfiguration.oemPaid = true; in testAddOemPaidNetworkSuggestionOnPreSDevices() 579 networkSuggestion.wifiConfiguration.oemPrivate = true; in testAddOemPrivateNetworkSuggestionOnPreSDevices() [all …]
|
D | NetworkSuggestionNominatorTest.java | 200 WifiConfiguration config = suggestions[0].wns.wifiConfiguration; in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion() 541 suggestions[0].wns.wifiConfiguration.fromWifiNetworkSuggestion = true; in testSelectNetworkSuggestionForOneMatchForExistingNetwork() 542 suggestions[0].wns.wifiConfiguration.ephemeral = true; in testSelectNetworkSuggestionForOneMatchForExistingNetwork() 547 .thenReturn(suggestions[0].wns.wifiConfiguration); in testSelectNetworkSuggestionForOneMatchForExistingNetwork() 573 suggestions[0].wns.wifiConfiguration.getKey()); in testSelectNetworkSuggestionForOneMatchForExistingNetwork() 661 suggestions[0].wns.wifiConfiguration.getNetworkSelectionStatus().setNetworkSelectionStatus( in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled() 669 .thenReturn(suggestions[0].wns.wifiConfiguration); in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled() 680 suggestions[0].wns.wifiConfiguration.getProfileKey())); in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled() 682 suggestions[0].wns.wifiConfiguration.networkId)); in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled() 685 suggestions[0].wns.wifiConfiguration.getKey())); in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled() [all …]
|
D | WifiNetworkFactoryTest.java | 902 WifiConfiguration wifiConfiguration = new WifiConfiguration(); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch() local 903 wifiConfiguration.setSecurityParams(WifiConfiguration.SECURITY_TYPE_PSK); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch() 904 wifiConfiguration.preSharedKey = TEST_WPA_PRESHARED_KEY; in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch() 906 ssidPatternMatch, bssidPatternMatch, wifiConfiguration, TEST_UID_1, in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch() 943 WifiConfiguration wifiConfiguration = new WifiConfiguration(); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchForSaeTransitionScanResult() local 944 wifiConfiguration.setSecurityParams(WifiConfiguration.SECURITY_TYPE_PSK); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchForSaeTransitionScanResult() 945 wifiConfiguration.preSharedKey = TEST_WPA_PRESHARED_KEY; in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchForSaeTransitionScanResult() 947 ssidPatternMatch, bssidPatternMatch, wifiConfiguration, TEST_UID_1, in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchForSaeTransitionScanResult() 984 WifiConfiguration wifiConfiguration = new WifiConfiguration(); in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch() local 985 wifiConfiguration.setSecurityParams(WifiConfiguration.SECURITY_TYPE_OPEN); in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch() [all …]
|
D | ScanResultMatchInfoTest.java | 165 WifiConfiguration wifiConfiguration = in testEqualityRulesForTransitionMode() local 167 ScanDetail scanDetail = createScanDetailForWpa2Wpa3TransitionModeNetwork(wifiConfiguration, in testEqualityRulesForTransitionMode() 170 ScanResultMatchInfo key1 = ScanResultMatchInfo.fromWifiConfiguration(wifiConfiguration); in testEqualityRulesForTransitionMode() 172 ScanResultMatchInfo key3 = ScanResultMatchInfo.fromWifiConfiguration(wifiConfiguration); in testEqualityRulesForTransitionMode() 198 WifiConfiguration wifiConfiguration = in testEqualityRulesForPsk() local 200 ScanDetail scanDetail = createScanDetailForNetwork(wifiConfiguration, in testEqualityRulesForPsk() 203 ScanResultMatchInfo key1 = ScanResultMatchInfo.fromWifiConfiguration(wifiConfiguration); in testEqualityRulesForPsk() 205 ScanResultMatchInfo key3 = ScanResultMatchInfo.fromWifiConfiguration(wifiConfiguration); in testEqualityRulesForPsk() 232 WifiConfiguration wifiConfiguration = in testEqualityRulesForSae() local 234 ScanDetail scanDetail = createScanDetailForNetwork(wifiConfiguration, in testEqualityRulesForSae() [all …]
|
D | SavedNetworkNominatorTest.java | 133 for (WifiConfiguration wifiConfiguration : savedConfigs) { in ignoreNetworksIfUseExternalScores() 134 wifiConfiguration.useExternalScores = true; in ignoreNetworksIfUseExternalScores() 186 for (WifiConfiguration wifiConfiguration : savedConfigs) { in ignoreEphemeralNetworks() 187 wifiConfiguration.ephemeral = true; in ignoreEphemeralNetworks() 246 for (WifiConfiguration wifiConfiguration : savedConfigs) { in returnNoCandidateIfNoNetworksAllowAutojoin() 247 wifiConfiguration.allowAutojoin = false; in returnNoCandidateIfNoNetworksAllowAutojoin()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 308 WifiConfiguration wifiConfiguration = wifiConfigurationCaptor.getValue(); in verifyWifiConfigurationForOsuNetwork() local 309 assertTrue(wifiConfiguration.isNoInternetAccessExpected()); in verifyWifiConfigurationForOsuNetwork() 310 assertTrue(wifiConfiguration.isEphemeral()); in verifyWifiConfigurationForOsuNetwork() 311 assertTrue(wifiConfiguration.osu); in verifyWifiConfigurationForOsuNetwork() 336 WifiConfiguration wifiConfiguration = wifiConfigurationCaptor.getValue(); in verifyWifiConfigurationForOsenOsuNetwork() local 337 assertTrue(wifiConfiguration.isNoInternetAccessExpected()); in verifyWifiConfigurationForOsenOsuNetwork() 338 assertTrue(wifiConfiguration.isEphemeral()); in verifyWifiConfigurationForOsenOsuNetwork() 339 assertTrue(wifiConfiguration.osu); in verifyWifiConfigurationForOsenOsuNetwork() 340 assertTrue(wifiConfiguration.allowedProtocols.get(WifiConfiguration.Protocol.OSEN)); in verifyWifiConfigurationForOsenOsuNetwork() 341 assertTrue(wifiConfiguration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.OSEN)); in verifyWifiConfigurationForOsenOsuNetwork() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiDetailsFragment.java | 171 WifiConfiguration wifiConfiguration = mAccessPoint.getConfig(); in update() local 172 if (wifiConfiguration != null) { in update() 173 final int networkId = wifiConfiguration.networkId; in update() 174 ProxySettings proxySettings = wifiConfiguration.getIpConfiguration().getProxySettings(); in update() 180 IpAssignment ipAssignment = wifiConfiguration.getIpConfiguration().getIpAssignment(); in update() 189 mProxySettingsPref.setVisible(wifiConfiguration != null); in update() 195 mIpSettingsPref.setVisible(wifiConfiguration != null); in update() 201 mForgetNetworkPref.setVisible(wifiConfiguration != null); in update() 209 getContext(), wifiConfiguration); in update()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/service/network/ |
D | WifiDetailsState.java | 216 WifiConfiguration wifiConfiguration = mAccessPoint.getConfig(); in update() local 217 if (wifiConfiguration != null) { in update() 218 final int networkId = wifiConfiguration.networkId; in update() 220 wifiConfiguration.getIpConfiguration().getProxySettings(); in update() 228 wifiConfiguration.getIpConfiguration().getIpAssignment(); in update() 241 mProxySettingsPref.setVisible(wifiConfiguration != null); in update() 242 mIpSettingsPref.setVisible(wifiConfiguration != null); in update() 243 mForgetNetworkPref.setVisible(wifiConfiguration != null); in update()
|
/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 | 86 WifiConfiguration wifiConfiguration = new WifiConfiguration(); in testForward_clearPassword_ssidNotMatch() local 87 wifiConfiguration.SSID = "atv02"; in testForward_clearPassword_ssidNotMatch() 88 mUserChoiceInfo.setWifiConfiguration(wifiConfiguration); in testForward_clearPassword_ssidNotMatch() 89 WifiConfigHelper.saveConfiguration(mActivity, wifiConfiguration); in testForward_clearPassword_ssidNotMatch()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | AddPageBasedOnNetworkState.java | 63 WifiConfiguration wifiConfiguration = WifiConfigHelper.getConfiguration( in processForward() local 68 mUserChoiceInfo.setWifiConfiguration(wifiConfiguration); in processForward() 69 if (WifiConfigHelper.isNetworkSaved(wifiConfiguration)) { in processForward()
|