Home
last modified time | relevance | path

Searched refs:WPA_PSK (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiNetworkAgentSpecifierTest.java214 .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()
DWifiNetworkSpecifierTest.java97 .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()
DWifiNetworkSuggestionTest.java83 .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()
DWifiConfigurationTest.java424 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/
DWifiConfigurationUtil.java144 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()
DWifiBackupRestore.java597 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in createWifiConfiguration()
615 WifiConfiguration.KeyMgmt.WPA_PSK); in createWifiConfiguration()
DSupplicantStaNetworkHal.java722 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()
DDppManager.java212 } else if (selectedNetwork.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in startDppAsConfiguratorInitiator()
DHostapdHal.java539 case WifiConfiguration.KeyMgmt.WPA_PSK: in getEncryptionType()
DWifiConfigManager.java1051 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()
DSupplicantStaIfaceHal.java2985 newWifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in onDppSuccessConfigReceived()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java106 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/
DScanResultUtilTest.java110 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testNetworkCreationFromScanResult()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DDppManagerTest.java171 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()
DWifiNetworkFactoryTest.java705 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()
DConfigurationMapTest.java291 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testScanResultDoesNotMatchWithOtherNetworks()
DWifiConfigurationTestUtil.java141 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in generateWifiConfig()
488 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in getScanResultCapsForNetwork()
DWifiBackupRestoreTest.java919 expectedConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testSingleNetworkSupplicantBackupRestoreWithUnknownEAPKey()
1056 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in writeConfigurationToWpaSupplicantConf()
DSoftApManagerTest.java19 import static android.net.wifi.WifiConfiguration.KeyMgmt.WPA_PSK;
188 config.allowedKeyManagement.set(WPA_PSK); in startSoftApWithPassphraseInConfig()
DWifiApConfigStoreTest.java719 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testUnsupportedAuthTypeInValidateApWifiConfigurationCheck()
DWifiConfigurationUtilTest.java458 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testValidateNegativeCases_BadKeyMgmtOpenPsk()
DWifiConfigManagerTest.java1387 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()
DSupplicantStaIfaceHalTest.java2297 haveExistingNetwork, WifiConfiguration.KeyMgmt.WPA_PSK); in executeAndValidateConnectSequence()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java101 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in createPskConfig()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java1653 if (config.allowedKeyManagement.get(KeyMgmt.WPA_PSK)) { in getSecurity()

12