/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiNetworkAgentSpecifierTest.java | 203 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidPattern() 232 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern() 261 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern() 294 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidPattern() 328 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithBssidPattern() 362 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidAndBssidPattern() 419 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithDifferentUid() 434 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in createDefaultWifiConfiguration()
|
D | WifiNetworkSpecifierTest.java | 97 .get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern() 361 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierParcel() 393 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierSatisfiesNullAndAllMatch() 415 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierSatisfiesSame() 444 wifiConfiguration1.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierDoesNotSatisfyWhenKeyMgmtDifferent() 475 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierDoesNotSatisfyWhenSsidDifferent() 504 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierDoesNotSatisfyWhenBssidDifferent() 532 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierDoesNotSatisfyWhenPackageNameDifferent()
|
D | WifiNetworkSuggestionTest.java | 83 .get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction() 110 .get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testWifiNetworkSuggestionBuilderForWpa2PskNetworkWithMeteredAndReqUserInteraction() 355 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSuggestionEqualsSame() 363 configuration1.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSuggestionEqualsSame() 433 configuration1.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSuggestionEqualsFailsWhenKeyMgmtIsDifferent()
|
D | WifiConfigurationTest.java | 426 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in testGetSsidAndSecurityTypeString() 427 assertEquals(mSsid + KeyMgmt.strings[KeyMgmt.WPA_PSK], in testGetSsidAndSecurityTypeString()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigurationUtil.java | 123 return config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK); in isConfigForPskNetwork() 526 && !keyMgmnt.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in validateKeyMgmt() 598 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK) in validate() 753 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK) in validateNetworkSpecifier() 826 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in createPnoNetwork()
|
D | WifiBackupRestore.java | 597 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in createWifiConfiguration() 615 WifiConfiguration.KeyMgmt.WPA_PSK); in createWifiConfiguration()
|
D | SupplicantStaNetworkHal.java | 714 case WifiConfiguration.KeyMgmt.WPA_PSK: in wifiConfigurationToSupplicantKeyMgmtMask() 715 mask |= ISupplicantStaNetwork.KeyMgmtMask.WPA_PSK; in wifiConfigurationToSupplicantKeyMgmtMask() 953 mask, ISupplicantStaNetwork.KeyMgmtMask.WPA_PSK, bitset, in supplicantToWifiConfigurationKeyMgmtMask() 954 WifiConfiguration.KeyMgmt.WPA_PSK); in supplicantToWifiConfigurationKeyMgmtMask() 2979 if (keyManagementFlags.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in addFastTransitionFlags() 3015 if (keyManagementFlags.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in addSha256KeyMgmtFlags()
|
D | DppManager.java | 212 } else if (selectedNetwork.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in startDppAsConfiguratorInitiator()
|
D | HostapdHal.java | 589 case WifiConfiguration.KeyMgmt.WPA_PSK: in getEncryptionType()
|
D | WifiConfigManager.java | 1071 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in setDefaultsInWifiConfiguration() 2512 if (!config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in attemptNetworkLinking() 2530 if (!linkConfig.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in attemptNetworkLinking()
|
D | SupplicantStaIfaceHal.java | 3009 newWifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in onDppSuccessConfigReceived()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 107 public static final int WPA_PSK = 1; field in WifiConfiguration.KeyMgmt 403 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in setSecurityParams() 2165 if (allowedKeyManagement.get(KeyMgmt.WPA_PSK)) { in getAuthType() 2166 return KeyMgmt.WPA_PSK; in getAuthType() 2217 if (allowedKeyManagement.get(KeyMgmt.WPA_PSK)) { in getSsidAndSecurityTypeString() 2218 key = SSID + KeyMgmt.strings[KeyMgmt.WPA_PSK]; in getSsidAndSecurityTypeString()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ScanResultUtilTest.java | 110 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testNetworkCreationFromScanResult()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkFactoryTest.java | 716 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch() 803 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchSuccessUsingLiteralBssidMatch() 892 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchWithMultipleBssidMatches() 939 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchFailUsingLiteralSsidMatchWhenSsidNotFound() 979 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchFailUsingLiteralSsidMatchWhenKeyMgmtDiffers() 1216 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierHandleUserSelectionConnectToNetworkUsingLiteralSsidAndBssidMatch() 1272 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierHandleUserSelectionConnectToNetworkMultipleBssidMatches() 2555 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchCallbackRegistrationDelayed()
|
D | DppManagerTest.java | 171 selectedNetwork.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testStartDppAsConfiguratorInitiatorFailAddPeer() 217 selectedNetwork.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testStartDppAsConfiguratorInitiatorFailStart() 261 selectedNetwork.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testStartDppAsConfiguratorInitiatorStartCorrectlyWpa2Psk()
|
D | ConfigurationMapTest.java | 291 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testScanResultDoesNotMatchWithOtherNetworks()
|
D | WifiConfigurationTestUtil.java | 142 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in generateWifiConfig() 489 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in getScanResultCapsForNetwork()
|
D | WifiBackupRestoreTest.java | 919 expectedConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testSingleNetworkSupplicantBackupRestoreWithUnknownEAPKey() 1056 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in writeConfigurationToWpaSupplicantConf()
|
D | SoftApManagerTest.java | 19 import static android.net.wifi.WifiConfiguration.KeyMgmt.WPA_PSK; 217 config.allowedKeyManagement.set(WPA_PSK); in startSoftApWithPassphraseInConfig()
|
D | WifiApConfigStoreTest.java | 719 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testUnsupportedAuthTypeInValidateApWifiConfigurationCheck()
|
D | WifiConfigurationUtilTest.java | 453 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testValidateNegativeCases_BadKeyMgmtOpenPsk()
|
D | WifiConfigManagerTest.java | 1402 network.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testMultipleUpdatesSingleNetwork() 3942 network1.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testAddMultipleNetworksWithSameSSIDAndDifferentKeyMgmt() 4681 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in setDefaults()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | WifiConfigurationHelper.java | 102 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in createPskConfig()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPoint.java | 1748 if (config.allowedKeyManagement.get(KeyMgmt.WPA_PSK)) { in getSecurity()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 1621 pskConfig.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in testMatches2_transitionModeApMatchesNotTransitionModeAp_shouldMatchCorrectly()
|