Home
last modified time | relevance | path

Searched refs:SECURITY_PSK (Results 1 – 6 of 6) 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.java47 public static final int SECURITY_PSK = 1 << 1; field in WifiConfigurationTestUtil
140 if ((security & SECURITY_PSK) != 0) { in generateWifiConfig()
290 null, SECURITY_PSK); in createPskNetwork()
298 null, SECURITY_PSK); in createPskNetwork()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java188 public static final int SECURITY_PSK = 2; field in AccessPoint
726 return configSecurity == SECURITY_PSK in matches()
822 if (security == SECURITY_PSK || security == SECURITY_SAE in updateBestRssiInfo()
880 case SECURITY_PSK: in getSecurityString()
1273 private static final String sPskSuffix = "," + String.valueOf(SECURITY_PSK);
1636 return SECURITY_PSK; in getSecurity()
1654 return SECURITY_PSK; in getSecurity()
1672 } else if (security == SECURITY_PSK) { in securityToString()