/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiNetworkAgentSpecifierTest.java | 214 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidPattern() 243 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern() 272 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern() 305 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidPattern() 339 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithBssidPattern() 373 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidAndBssidPattern() 430 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithDifferentUid() 445 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 | 424 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in testGetSsidAndSecurityTypeString() 425 assertEquals(mSsid + KeyMgmt.strings[KeyMgmt.WPA_PSK], in testGetSsidAndSecurityTypeString()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigurationUtil.java | 144 return config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK); in isConfigForPskNetwork() 634 && !keyMgmnt.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in validateKeyMgmt() 706 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK) in validate() 858 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK) in validateNetworkSpecifier() 931 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 | 722 case WifiConfiguration.KeyMgmt.WPA_PSK: in wifiConfigurationToSupplicantKeyMgmtMask() 723 mask |= ISupplicantStaNetwork.KeyMgmtMask.WPA_PSK; in wifiConfigurationToSupplicantKeyMgmtMask() 961 mask, ISupplicantStaNetwork.KeyMgmtMask.WPA_PSK, bitset, in supplicantToWifiConfigurationKeyMgmtMask() 962 WifiConfiguration.KeyMgmt.WPA_PSK); in supplicantToWifiConfigurationKeyMgmtMask() 2987 if (keyManagementFlags.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in addFastTransitionFlags() 3023 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 | 539 case WifiConfiguration.KeyMgmt.WPA_PSK: in getEncryptionType()
|
D | WifiConfigManager.java | 1051 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in setDefaultsInWifiConfiguration() 2473 if (!config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in attemptNetworkLinking() 2491 if (!linkConfig.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in attemptNetworkLinking()
|
D | SupplicantStaIfaceHal.java | 2985 newWifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in onDppSuccessConfigReceived()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 106 public static final int WPA_PSK = 1; field in WifiConfiguration.KeyMgmt 402 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in setSecurityParams() 2164 if (allowedKeyManagement.get(KeyMgmt.WPA_PSK)) { in getAuthType() 2165 return KeyMgmt.WPA_PSK; in getAuthType() 2216 if (allowedKeyManagement.get(KeyMgmt.WPA_PSK)) { in getSsidAndSecurityTypeString() 2217 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 | 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 | WifiNetworkFactoryTest.java | 705 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch() 792 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchSuccessUsingLiteralBssidMatch() 881 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchWithMultipleBssidMatches() 928 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchFailUsingLiteralSsidMatchWhenSsidNotFound() 973 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchFailUsingLiteralSsidMatchWhenKeyMgmtDiffers() 1148 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierHandleUserSelectionConnectToNetworkUsingLiteralSsidAndBssidMatch() 1204 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierHandleUserSelectionConnectToNetworkMultipleBssidMatches()
|
D | ConfigurationMapTest.java | 291 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testScanResultDoesNotMatchWithOtherNetworks()
|
D | WifiConfigurationTestUtil.java | 141 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in generateWifiConfig() 488 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; 188 config.allowedKeyManagement.set(WPA_PSK); in startSoftApWithPassphraseInConfig()
|
D | WifiApConfigStoreTest.java | 719 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testUnsupportedAuthTypeInValidateApWifiConfigurationCheck()
|
D | WifiConfigurationUtilTest.java | 458 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testValidateNegativeCases_BadKeyMgmtOpenPsk()
|
D | WifiConfigManagerTest.java | 1387 network.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testMultipleUpdatesSingleNetwork() 3889 network1.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testAddMultipleNetworksWithSameSSIDAndDifferentKeyMgmt() 4628 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in setDefaults()
|
D | SupplicantStaIfaceHalTest.java | 2297 haveExistingNetwork, WifiConfiguration.KeyMgmt.WPA_PSK); in executeAndValidateConnectSequence()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | WifiConfigurationHelper.java | 101 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in createPskConfig()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPoint.java | 1653 if (config.allowedKeyManagement.get(KeyMgmt.WPA_PSK)) { in getSecurity()
|