Home
last modified time | relevance | path

Searched refs:SECURITY_PSK (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSavedNetworkEvaluatorTest.java20 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
165 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in ignoreNetworksIfUseExternalScores()
221 int[] securities = {SECURITY_PSK, SECURITY_NONE, SECURITY_PSK}; in setCandidateScanResultsForAllSavedNetworks()
260 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in chooseStrongerRssi2GNetwork()
288 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in chooseStrongerRssi5GNetwork()
315 int[] securities = {SECURITY_NONE, SECURITY_PSK}; in chooseSecureNetworkOverOpenNetwork()
342 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in choose5GNetworkOver2GNetwork()
371 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in stickToCurrentNetwork()
404 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in stickToCurrentBSSID()
444 int[] securities = {SECURITY_PSK, SECURITY_PSK, SECURITY_PSK}; in currentBssidAwardForAllBssidsWithinTheSameNetworkWhenFirmwareRoamingSupported()
[all …]
DNetworkSuggestionEvaluatorTest.java22 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
125 int[] securities = {SECURITY_PSK}; in testSelectNetworkSuggestionForOneMatch()
170 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in testSelectNetworkSuggestionForMultipleMatch()
217 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in testSelectNetworkSuggestionForMultipleMatchHighPriorityWins()
267 int[] securities = {SECURITY_PSK, SECURITY_PSK, SECURITY_PSK}; in testSelectNetworkSuggestionForMultipleMatchWithMultipleSuggestions()
325 int[] securities = {SECURITY_PSK, SECURITY_PSK, SECURITY_PSK, SECURITY_PSK}; in testSelectNetworkSuggestionForMultipleMatchWithMultipleSuggestionsHighPriorityWins()
374 int[] securities = {SECURITY_PSK}; in testSelectNetworkSuggestionForOneMatchButFailToAddToWifiConfigManager()
425 int[] securities = {SECURITY_PSK}; in testSelectNetworkSuggestionForOneMatchForExistingNetwork()
477 int[] securities = {SECURITY_PSK}; in testSelectNetworkSuggestionForOneMatchButUserForgotTheNetwork()
527 int[] securities = {SECURITY_PSK}; in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled()
[all …]
DScoredNetworkEvaluatorTest.java21 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
125 int[] securities = {SECURITY_PSK}; in testUpdate_recommendationsDisabled()
149 int[] securities = {SECURITY_PSK}; in testUpdate_emptyScanList()
166 int[] securities = {SECURITY_PSK, SECURITY_NONE}; in testUpdate_allNetworksUnscored()
191 int[] securities = {SECURITY_PSK, SECURITY_NONE}; in testUpdate_oneScored_oneUnscored()
235 int[] securities = {SECURITY_PSK, SECURITY_NONE}; in testUpdate_externalScorerNotPermittedToSeeScanResults()
258 int[] securities = {SECURITY_PSK, SECURITY_NONE}; in testUpdate_externalScorerNotPermittedToSeeScanResultsWithException()
447 int[] securities = {SECURITY_PSK}; in testEvaluateNetworks_chooseSavedNetworkWithExternalScore()
483 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in testEvaluateNetworks_chooseSavedNetworkWithHigherExternalScore()
520 int[] securities = {SECURITY_PSK, SECURITY_NONE}; in testEvaluateNetworks_chooseExternallyScoredOverUntrustedNetworksWithSameScore()
[all …]
DWifiNetworkSelectorTest.java23 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
306 int[] securities = {SECURITY_PSK, SECURITY_EAP}; in verifyMinimumRssiThreshold()
336 int[] securities = {SECURITY_PSK, SECURITY_EAP}; in verifyMinimumTimeGapWhenConnected()
466 int[] securities = {SECURITY_PSK}; in lowRssi5GNetworkIsNotSufficient()
514 int[] securities = {SECURITY_PSK}; in noInternetAccessNetworkIsNotSufficient()
561 int[] securities = {SECURITY_EAP, SECURITY_PSK}; in updateConfiguredNetworks()
595 int[] securities = {SECURITY_PSK}; in filterOutBlacklistedBssid()
627 int[] securities = {SECURITY_EAP, SECURITY_PSK}; in noSelectionWhenCurrentNetworkNotInScanResults()
681 int[] securities = {SECURITY_PSK, SECURITY_EAP, SECURITY_PSK}; in setUserConnectChoice()
727 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in userConnectChoiceOverridesNetworkEvaluators()
[all …]
DWifiConfigurationTestUtil.java48 public static final int SECURITY_PSK = 1 << 1; field in WifiConfigurationTestUtil
141 if ((security & SECURITY_PSK) != 0) { in generateWifiConfig()
291 null, SECURITY_PSK); in createPskNetwork()
299 null, SECURITY_PSK); in createPskNetwork()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java191 public static final int SECURITY_PSK = 2; field in AccessPoint
738 } else if (otherApSecurity == SECURITY_PSK) { in matches()
742 if ((security == SECURITY_SAE || security == SECURITY_PSK) in matches()
778 } else if (configSecurity == SECURITY_PSK) { in matches()
825 if ((security == SECURITY_SAE || security == SECURITY_PSK) in matches()
933 if (security == SECURITY_PSK || security == SECURITY_SAE) { in updateBestRssiInfo()
1000 case SECURITY_PSK: in getSecurityString()
1720 return wifiManager.isWpa3SaeSupported() ? SECURITY_SAE : SECURITY_PSK; in getSecurity()
1733 return SECURITY_PSK; in getSecurity()
1749 return SECURITY_PSK; in getSecurity()
[all …]
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java1330 key.append(AccessPoint.SECURITY_PSK); in testGetKey_notSupportSaeTransitionMode_shouldGetPskKey()
1585 .setSecurity(AccessPoint.SECURITY_PSK) in testMatches1_transitionModeApMatchesNotTransitionModeAp_shouldMatchCorrectly()