Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionNominatorTest.java24 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
140 int[] securities = {SECURITY_PSK}; in testSelectNetworkSuggestionForOneMatch()
222 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in testSelectNetworkSuggestionForMultipleMatch()
268 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in testSelectNetworkSuggestionForMultipleMatchHighPriorityWins()
315 int[] securities = {SECURITY_PSK, SECURITY_PSK, SECURITY_PSK}; in testSelectNetworkSuggestionForMultipleMatchWithMultipleSuggestions()
371 int[] securities = {SECURITY_PSK, SECURITY_PSK, SECURITY_PSK, SECURITY_PSK}; in testSelectNetworkSuggestionForMultipleMatchWithMultipleSuggestionsHighPriorityWins()
420 int[] securities = {SECURITY_PSK}; in testSelectNetworkSuggestionForOneMatchButFailToAddToWifiConfigManager()
473 int[] securities = {SECURITY_PSK}; in testSelectNetworkSuggestionForOneMatchForExistingNetwork()
530 int[] securities = {SECURITY_PSK}; in testSelectNetworkSuggestionForOneMatchButUserForgotTheNetwork()
582 int[] securities = {SECURITY_PSK}; in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled()
[all …]
DScoredNetworkNominatorTest.java21 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
126 int[] securities = {SECURITY_PSK}; in testUpdate_recommendationsDisabled()
150 int[] securities = {SECURITY_PSK}; in testUpdate_emptyScanList()
167 int[] securities = {SECURITY_PSK, SECURITY_NONE}; in testUpdate_allNetworksUnscored()
194 int[] securities = {SECURITY_PSK, SECURITY_NONE}; in testUpdate_oneScored_oneUnscored()
239 int[] securities = {SECURITY_PSK, SECURITY_NONE}; in testUpdate_externalScorerNotPermittedToSeeScanResults()
262 int[] securities = {SECURITY_PSK, SECURITY_NONE}; in testUpdate_externalScorerNotPermittedToSeeScanResultsWithException()
356 int[] securities = {SECURITY_PSK}; in testEvaluateNetworks_chooseSavedNetworkWithExternalScore()
388 int[] securities = {SECURITY_PSK, SECURITY_NONE}; in testEvaluateNetworks_nullScoredNetworks()
DWifiNetworkSelectorTest.java23 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
360 int[] securities = {SECURITY_PSK, SECURITY_EAP}; in verifyMinimumRssiThreshold()
391 int[] securities = {SECURITY_PSK, SECURITY_EAP}; in verifyMinimumTimeGapWhenConnected()
479 int[] securities = {SECURITY_PSK}; in lowRssi5GNetworkIsNotSufficient()
530 int[] securities = {SECURITY_PSK}; in noInternetAccessNetworkIsNotSufficient()
583 int[] securities = {SECURITY_EAP, SECURITY_PSK}; in updateConfiguredNetworks()
620 int[] securities = {SECURITY_PSK}; in filterOutBlacklistedBssid()
654 int[] securities = {SECURITY_EAP, SECURITY_PSK}; in noSelectionWhenCurrentNetworkNotInScanResults()
712 int[] securities = {SECURITY_PSK, SECURITY_EAP, SECURITY_PSK}; in setUserConnectChoice()
757 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in userConnectChoiceOverridesNetworkNominators()
[all …]
DSavedNetworkNominatorTest.java20 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
103 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in ignoreNetworksIfUseExternalScores()
DWifiNetworkSelectorTestUtil.java19 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
283 if (securities[index] == SECURITY_PSK || securities[index] == SECURITY_SAE in generateWifiConfigurations()
DWifiConfigurationTestUtil.java47 public static final int SECURITY_PSK = 1 << 1; field in WifiConfigurationTestUtil
150 if ((security & SECURITY_PSK) != 0) { in generateWifiConfig()
309 null, SECURITY_PSK); in createPskNetwork()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DUtils.java27 import static com.android.wifitrackerlib.WifiEntry.SECURITY_PSK;
108 securityTypes.add(SECURITY_PSK); in getSecurityTypesFromScanResult()
120 securityTypes.add(SECURITY_PSK); in getSecurityTypesFromScanResult()
138 return SECURITY_PSK; in getSecurityTypeFromWifiConfiguration()
186 ssidAndSecurityToStandardWifiEntryKey(ssid, SECURITY_PSK)); in mapScanResultsToKey()
200 if (securityTypes.contains(SECURITY_PSK)) { in mapScanResultsToKey()
229 && !securityTypes.contains(SECURITY_PSK); in mapScanResultsToKey()
230 final boolean isPsk = securityTypes.contains(SECURITY_PSK) in mapScanResultsToKey()
232 final boolean isPskSaeTransition = securityTypes.contains(SECURITY_PSK) in mapScanResultsToKey()
249 chosenSecurityTypes.add(SECURITY_PSK); in mapScanResultsToKey()
[all …]
DStandardWifiEntry.java466 case SECURITY_PSK: in canShare()
490 case SECURITY_PSK: in canEasyConnect()
603 case SECURITY_PSK: in getSecurityString()
740 if (mSecurity != SECURITY_PSK) { in updatePskType()
DWifiEntry.java72 SECURITY_PSK,
82 public static final int SECURITY_PSK = 2; field in WifiEntry
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java211 public static final int SECURITY_PSK = 2; field in AccessPoint
757 } else if (otherApSecurity == SECURITY_PSK) { in matches()
761 if ((security == SECURITY_SAE || security == SECURITY_PSK) in matches()
797 } else if (configSecurity == SECURITY_PSK) { in matches()
844 if ((security == SECURITY_SAE || security == SECURITY_PSK) in matches()
953 if (security == SECURITY_PSK || security == SECURITY_SAE) { in updateBestRssiInfo()
1020 case SECURITY_PSK: in getSecurityString()
1753 return wifiManager.isWpa3SaeSupported() ? SECURITY_SAE : SECURITY_PSK; in getSecurity()
1766 return SECURITY_PSK; in getSecurity()
1782 return SECURITY_PSK; in getSecurity()
[all …]
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardWifiEntryTest.java33 import static com.android.wifitrackerlib.WifiEntry.SECURITY_PSK;
421 ssidAndSecurityToStandardWifiEntryKey("ssid", SECURITY_PSK), in testConnect_unsavedSecureNetwork_returnsNoConfigFailure()
510 ssidAndSecurityToStandardWifiEntryKey(pskScanResult.SSID, SECURITY_PSK), in testCanEasyConnect_deviceNotSupported_shouldReturnFalse()
731 ssidAndSecurityToStandardWifiEntryKey("ssid", SECURITY_PSK), in testShouldEditBeforeConnect_securedNetwork_returnTrueIfNeverConnected()
752 ssidAndSecurityToStandardWifiEntryKey("ssid", SECURITY_PSK), in testShouldEditBeforeConnect_authenticationFailure_returnTrue()
DUtilsTest.java34 import static com.android.wifitrackerlib.WifiEntry.SECURITY_PSK;
188 ssidAndSecurityToStandardWifiEntryKey(wpa3TransitionScan.SSID, SECURITY_PSK), in testMapScanResultsToKey_convertsTransitionModeScansToSupportedSecurity()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java1266 key.append(AccessPoint.SECURITY_PSK); in testGetKey_notSupportSaeTransitionMode_shouldGetPskKey()
1549 .setSecurity(AccessPoint.SECURITY_PSK) in testMatches1_transitionModeApMatchesNotTransitionModeAp_shouldMatchCorrectly()