/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | StandardWifiEntryTest.java | 30 import static com.android.wifitrackerlib.WifiEntry.SECURITY_EAP; 189 ssidAndSecurityToStandardWifiEntryKey("ssid", SECURITY_EAP), in testConstructor_scanResults_setsSecurity() 194 assertThat(secureEntry.getSecurity()).isEqualTo(WifiEntry.SECURITY_EAP); in testConstructor_scanResults_setsSecurity() 203 ssidAndSecurityToStandardWifiEntryKey("ssid0", SECURITY_EAP), in testUpdateScanResultInfo_mismatchedSsids_throwsException() 256 ssidAndSecurityToStandardWifiEntryKey("ssid", SECURITY_EAP), in testConstructor_wifiConfig_setsTitle() 268 ssidAndSecurityToStandardWifiEntryKey("ssid", SECURITY_EAP), in testConstructor_wifiConfig_setsSecurity() 271 assertThat(entry.getSecurity()).isEqualTo(WifiEntry.SECURITY_EAP); in testConstructor_wifiConfig_setsSecurity() 280 ssidAndSecurityToStandardWifiEntryKey("ssid", SECURITY_EAP), in testUpdateConfig_mismatchedSsids_throwsException() 317 ssidAndSecurityToStandardWifiEntryKey("ssid", SECURITY_EAP), in testUpdateConfig_unsavedToSaved() 339 ssidAndSecurityToStandardWifiEntryKey("ssid", SECURITY_EAP), in testUpdateConfig_savedToUnsaved() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSelectorTest.java | 21 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_EAP; 360 int[] securities = {SECURITY_PSK, SECURITY_EAP}; in verifyMinimumRssiThreshold() 391 int[] securities = {SECURITY_PSK, SECURITY_EAP}; in verifyMinimumTimeGapWhenConnected() 434 int[] securities = {SECURITY_EAP, SECURITY_EAP}; in verifyNoMinimumTimeGapWhenDisconnected() 583 int[] securities = {SECURITY_EAP, SECURITY_PSK}; in updateConfiguredNetworks() 654 int[] securities = {SECURITY_EAP, SECURITY_PSK}; in noSelectionWhenCurrentNetworkNotInScanResults() 712 int[] securities = {SECURITY_PSK, SECURITY_EAP, SECURITY_PSK}; in setUserConnectChoice() 1422 int[] securities = {SECURITY_EAP, SECURITY_EAP}; in testPasspointCandidateUpdateWithLatestScanDetail() 1452 int[] securities = {SECURITY_EAP, SECURITY_EAP}; in testIsFromCarrierOrPrivilegedApp() 1534 int[] securities = {SECURITY_PSK, SECURITY_EAP}; in meteredStickyness()
|
D | WifiConfigurationTestUtil.java | 48 public static final int SECURITY_EAP = 1 << 2; field in WifiConfigurationTestUtil 164 if ((security & SECURITY_EAP) != 0) { in generateWifiConfig() 359 null, null, SECURITY_EAP); in createEapNetwork() 366 null, null, SECURITY_EAP); in createEapNetwork() 374 null, null, SECURITY_EAP); in createEapNetwork() 410 TEST_FQDN, TEST_PROVIDER_FRIENDLY_NAME, SECURITY_EAP); in createPasspointNetwork()
|
D | NetworkSuggestionNominatorTest.java | 23 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_EAP; 178 int[] securities = {SECURITY_EAP}; in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion() 796 int[] securities = {SECURITY_EAP}; in testSelectNetworkSuggestionForOneMatchSimBasedWithNoSim() 842 int[] securities = {SECURITY_EAP}; in testSelectNetworkSuggestionForOneMatchSimBasedWithEncryptionInfoNotAvailabele()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | WifiEntry.java | 74 SECURITY_EAP, 83 public static final int SECURITY_EAP = 3; field in WifiEntry
|
D | Utils.java | 23 import static com.android.wifitrackerlib.WifiEntry.SECURITY_EAP; 124 securityTypes.add(SECURITY_EAP); in getSecurityTypesFromScanResult() 145 return SECURITY_EAP; in getSecurityTypeFromWifiConfiguration()
|
D | PasspointWifiEntry.java | 82 private @Security int mSecurity = SECURITY_EAP;
|
D | StandardWifiEntry.java | 586 case SECURITY_EAP: in getSecurityString()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPoint.java | 212 public static final int SECURITY_EAP = 3; field in AccessPoint 956 if (security == SECURITY_EAP) { in updateBestRssiInfo() 1002 case SECURITY_EAP: in getSecurityString() 1770 return SECURITY_EAP; in getSecurity() 1789 return SECURITY_EAP; in getSecurity() 1812 } else if (security == SECURITY_EAP) { in securityToString()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointManagerTest.java | 24 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_EAP; 262 config.getHomeSp().getFqdn(), TEST_FRIENDLY_NAME, SECURITY_EAP); in createMockProvider() 351 fqdn, friendlyName, SECURITY_EAP); in addTestProvider() 1158 TEST_FQDN + 2, TEST_FRIENDLY_NAME, SECURITY_EAP); in getAllMatchingFqdnsForScanResults() 2179 TEST_FQDN + 2, TEST_FRIENDLY_NAME, SECURITY_EAP); in matchHomeProviderWhenHomeProviderNotExpired() 2229 TEST_FQDN + 2, TEST_FRIENDLY_NAME, SECURITY_EAP); in matchRoamingProviderUnsetWhenHomeProviderExpired() 2281 TEST_FQDN + 2, TEST_FRIENDLY_NAME, SECURITY_EAP); in matchRoamingProviderNonExpiredWhenHomeProviderExpired()
|
D | PasspointNetworkNominateHelperTest.java | 19 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_EAP; 105 fqdn, fqdn, SECURITY_EAP); in generateWifiConfig()
|