/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | SecurityParamsTest.java | 44 private void verifySecurityParams(SecurityParams params, in verifySecurityParams() 91 SecurityParams.createSecurityParamsBySecurityType(type).getSecurityType()); in testSecurityTypeCreator() 105 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testEapCreator() 123 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testEapPasspointR1R2Creator() 141 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testEapPasspointR3Creator() 161 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testEnhancedOpenCreator() 179 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testOpenCreator() 197 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testOsenCreator() 215 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testWapiCertCreator() 233 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testWapiPskCreator() [all …]
|
D | WifiConfigurationTest.java | 940 List<SecurityParams> paramsList = config.getSecurityParamsList(); in testAddSecurityTypes() 1065 SecurityParams saeParams = config.getSecurityParams(WifiConfiguration.SECURITY_TYPE_SAE); in testSaeTypeMethods() 1192 List<SecurityParams> list = new ArrayList<>(); in testSetSecurityParamsBySecurityParamsList() 1193 list.add(SecurityParams.createSecurityParamsBySecurityType(SECURITY_TYPE_PSK)); in testSetSecurityParamsBySecurityParamsList() 1194 list.add(SecurityParams.createSecurityParamsBySecurityType(SECURITY_TYPE_SAE)); in testSetSecurityParamsBySecurityParamsList() 1206 List<SecurityParams> list = new ArrayList<>(); in testSetSecurityParamsByEmptySecurityParamsList() 1214 List<SecurityParams> list = null; in testSetSecurityParamsByNullSecurityParamsList()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | SecurityParams.java | 40 public class SecurityParams { class 134 private SecurityParams() { in SecurityParams() method in SecurityParams 138 public SecurityParams(@NonNull SecurityParams source) { in SecurityParams() method in SecurityParams 161 if (!(thatObject instanceof SecurityParams)) { in equals() 164 SecurityParams that = (SecurityParams) thatObject; in equals() 219 public boolean isSameSecurityType(SecurityParams params) { in isSameSecurityType() 565 public static final @NonNull SecurityParams createFromParcel(Parcel in) { in createFromParcel() 566 SecurityParams params = new SecurityParams(); in createFromParcel() 601 public static @NonNull SecurityParams createSecurityParamsBySecurityType( in createSecurityParamsBySecurityType() 630 return SecurityParams.createPasspointParams(PASSPOINT_R2); in createSecurityParamsBySecurityType() [all …]
|
D | WifiConfiguration.java | 558 private List<SecurityParams> mSecurityParamsList = new ArrayList<>(); 612 public void setSecurityParams(SecurityParams params) { in setSecurityParams() 626 public void setSecurityParams(@NonNull List<SecurityParams> securityParamsList) { in setSecurityParams() 631 .map(p -> new SecurityParams(p)).collect(Collectors.toList()); in setSecurityParams() 658 addSecurityParams(SecurityParams.createSecurityParamsBySecurityType(securityType)); in addSecurityParams() 662 public void addSecurityParams(@NonNull SecurityParams newParams) { in addSecurityParams() 688 mSecurityParamsList.add(new SecurityParams(newParams)); in addSecurityParams() 800 public @Nullable SecurityParams getSecurityParams(@SecurityType int securityType) { in getSecurityParams() 801 SecurityParams p = mSecurityParamsList.stream() in getSecurityParams() 805 return (p != null) ? new SecurityParams(p) : null; in getSecurityParams() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ScanResultMatchInfo.java | 21 import android.net.wifi.SecurityParams; 41 public List<SecurityParams> securityParamsList = new ArrayList<>(); 81 private static boolean isAutoUpgradeSecurityParamsAllowed(SecurityParams securityParams) { in isAutoUpgradeSecurityParamsAllowed() 111 private static @Nullable SecurityParams findBestMatchingSecurityParams( in findBestMatchingSecurityParams() 112 List<SecurityParams> allowedParamsList, in findBestMatchingSecurityParams() 113 List<SecurityParams> scanResultParamsList) { in findBestMatchingSecurityParams() 117 SecurityParams allowedParams = allowedParamsList.get(i); in findBestMatchingSecurityParams() 122 for (SecurityParams scanResultParams: scanResultParamsList) { in findBestMatchingSecurityParams() 135 public static @Nullable SecurityParams getBestMatchingSecurityParams( in getBestMatchingSecurityParams() 148 public static @Nullable SecurityParams getBestMatchingSecurityParams( in getBestMatchingSecurityParams() [all …]
|
D | WakeupConfigStoreData.java | 20 import android.net.wifi.SecurityParams; 139 for (SecurityParams params: scanResultMatchInfo.securityParamsList) { in writeSecurityParamsList() 248 private SecurityParams parseSecurityParams(XmlPullParser in, int outerTagDepth) in parseSecurityParams() 250 SecurityParams params = null; in parseSecurityParams() 260 params = SecurityParams.createSecurityParamsBySecurityType((int) value); in parseSecurityParams() 291 SecurityParams params = parseSecurityParams(in, outerTagDepth + 1); in parseSecurityParamsList() 339 SecurityParams.createSecurityParamsBySecurityType((int) value)); in parseNetwork()
|
D | WifiConfigurationUtil.java | 30 import android.net.wifi.SecurityParams; 919 SecurityParams oweParams = SecurityParams.createSecurityParamsBySecurityType( in addOpenUpgradableSecurityTypeIfNecessary() 930 SecurityParams saeParams = SecurityParams.createSecurityParamsBySecurityType( in addPskUpgradableSecurityTypeIfNecessary() 941 SecurityParams wpa3EnterpriseParams = SecurityParams.createSecurityParamsBySecurityType( in addEapUpgradableSecurityTypeIfNecessary() 968 private static boolean shouldOmitAutoUpgradeParams(SecurityParams params) { in shouldOmitAutoUpgradeParams() 982 private static boolean isSecurityParamsSupported(SecurityParams params) { in isSecurityParamsSupported() 1000 public static boolean isSecurityParamsValid(SecurityParams params) { in isSecurityParamsValid() 1068 for (SecurityParams params: config.getSecurityParamsList()) { in convertMultiTypeConfigsToLegacyConfigs()
|
D | WifiNetworkSelector.java | 27 import android.net.wifi.SecurityParams; 847 SecurityParams params = currentNetwork.getNetworkSelectionStatus() in getCandidatesFromScan() 922 List<SecurityParams> scanResultParamsList, in removeAutoUpgradeSecurityParamsIfNecessary() 940 SecurityParams upgradableParams = config.getSecurityParams(upgradableSecurityType); in removeAutoUpgradeSecurityParamsIfNecessary() 950 List<SecurityParams> scanResultParamsList) { in removeSecurityParamsIfNecessary() 979 ScanResult scanResult, SecurityParams params) { in updateSecurityParamsForTransitionModeIfNecessary() 1014 List<SecurityParams> scanResultParamsList = ScanResultUtil in selectNetwork() 1020 SecurityParams params = ScanResultMatchInfo.getBestMatchingSecurityParams( in selectNetwork() 1294 List<SecurityParams> scanResultParamsList = ScanResultUtil in updateCandidatesSecurityParams() 1298 SecurityParams params = ScanResultMatchInfo.getBestMatchingSecurityParams(network, in updateCandidatesSecurityParams()
|
D | WifiBackupDataV1Parser.java | 29 import android.net.wifi.SecurityParams; 453 private static SecurityParams parseSecurityParamsFromXml( in parseSecurityParamsFromXml() 455 SecurityParams params = null; in parseSecurityParamsFromXml() 465 params = SecurityParams.createSecurityParamsBySecurityType((int) value); in parseSecurityParamsFromXml() 494 List<SecurityParams> paramsList = new ArrayList<>(); in parseSecurityParamsListFromXml() 498 SecurityParams params = parseSecurityParamsFromXml(in, outerTagDepth + 1); in parseSecurityParamsListFromXml()
|
D | ScoredNetworkNominator.java | 27 import android.net.wifi.SecurityParams; 274 SecurityParams params = ScanResultMatchInfo.getBestMatchingSecurityParams( in trackUntrustedCandidate() 298 SecurityParams params = ScanResultMatchInfo.getBestMatchingSecurityParams( in trackExternallyScoredCandidate() 360 SecurityParams params = ScanResultMatchInfo.getBestMatchingSecurityParams( in getCandidateConfiguration()
|
D | WifiCandidates.java | 24 import android.net.wifi.SecurityParams; 511 SecurityParams params = ScanResultMatchInfo.fromScanResult(scanResult) in keyFromScanDetailAndConfig()
|
D | SupplicantStaIfaceCallbackImpl.java | 32 import android.net.wifi.SecurityParams; 317 SecurityParams params = curConfiguration.getNetworkSelectionStatus() in handleAssocRejectEvent()
|
D | WifiNetworkFactory.java | 47 import android.net.wifi.SecurityParams; 1661 SecurityParams params = fromScanResult.matchForNetworkSelection(fromWifiConfiguration); in addNetworkToUserApprovedAccessPointMap() 1703 SecurityParams params = in triggerConnectIfUserApprovedMatchFound()
|
D | SupplicantStaNetworkHal.java | 23 import android.net.wifi.SecurityParams; 230 SecurityParams securityParams = config.getDefaultSecurityParams(); in loadWifiConfiguration() 301 SecurityParams securityParams = config.getNetworkSelectionStatus() in saveWifiConfiguration() 620 SecurityParams securityParams = config.getNetworkSelectionStatus() in saveSuiteBConfig()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | ScanResultUtil.java | 22 import android.net.wifi.SecurityParams; 299 List<SecurityParams> list = generateSecurityParamsListFromScanResult(scanResult); in createNetworkFromScanResult() 312 public static @NonNull List<SecurityParams> generateSecurityParamsListFromScanResult( in generateSecurityParamsListFromScanResult() 314 List<SecurityParams> list = new ArrayList<>(); in generateSecurityParamsListFromScanResult() 318 list.add(SecurityParams.createSecurityParamsBySecurityType( in generateSecurityParamsListFromScanResult() 320 list.add(SecurityParams.createSecurityParamsBySecurityType( in generateSecurityParamsListFromScanResult() 324 list.add(SecurityParams.createSecurityParamsBySecurityType( in generateSecurityParamsListFromScanResult() 328 list.add(SecurityParams.createSecurityParamsBySecurityType( in generateSecurityParamsListFromScanResult() 335 list.add(SecurityParams.createSecurityParamsBySecurityType( in generateSecurityParamsListFromScanResult() 342 list.add(SecurityParams.createSecurityParamsBySecurityType( in generateSecurityParamsListFromScanResult() [all …]
|
D | XmlUtil.java | 31 import android.net.wifi.SecurityParams; 436 for (SecurityParams params: configuration.getSecurityParamsList()) { in writeSecurityParamsListToXml() 602 private static SecurityParams parseSecurityParamsFromXml( in parseSecurityParamsFromXml() 604 SecurityParams params = null; in parseSecurityParamsFromXml() 614 params = SecurityParams.createSecurityParamsBySecurityType((int) value); in parseSecurityParamsFromXml() 643 List<SecurityParams> paramsList = new ArrayList<>(); in parseSecurityParamsListFromXml() 647 SecurityParams params = parseSecurityParamsFromXml(in, outerTagDepth + 1); in parseSecurityParamsListFromXml()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ScanResultMatchInfoTest.java | 31 import android.net.wifi.SecurityParams; 483 SecurityParams params = SecurityParams.createSecurityParamsBySecurityType( in testMatchBehaviorWithWpa3AutoUpgradeFlagStates() 485 List<SecurityParams> securityParamsList = new ArrayList<>(); in testMatchBehaviorWithWpa3AutoUpgradeFlagStates() 521 SecurityParams params = SecurityParams.createSecurityParamsBySecurityType( in testMatchBehaviorWithOweAutoUpgradeFlagStates() 523 List<SecurityParams> securityParamsList = new ArrayList<>(); in testMatchBehaviorWithOweAutoUpgradeFlagStates()
|
D | WakeupConfigStoreDataTest.java | 27 import android.net.wifi.SecurityParams; 132 SecurityParams.createSecurityParamsBySecurityType( in deserializeSerializedData() 138 SecurityParams.createSecurityParamsBySecurityType( in deserializeSerializedData() 144 SecurityParams.createSecurityParamsBySecurityType( in deserializeSerializedData()
|
D | WakeupLockTest.java | 24 import android.net.wifi.SecurityParams; 68 SecurityParams.createSecurityParamsBySecurityType( in setUp() 74 SecurityParams.createSecurityParamsBySecurityType( in setUp()
|
D | WifiConfigurationTestUtil.java | 27 import android.net.wifi.SecurityParams; 313 SecurityParams params = SecurityParams in createOpenOweNetwork() 358 SecurityParams params = SecurityParams in createPskSaeNetwork() 459 SecurityParams params = SecurityParams in createWpa2Wpa3EnterpriseNetwork()
|
D | WifiNetworkSelectorTestUtil.java | 33 import android.net.wifi.SecurityParams; 373 SecurityParams params) { in prepareConfigStore() 501 SecurityParams params) { in setupEphemeralNetwork()
|
D | WifiConfigurationUtilTest.java | 34 import android.net.wifi.SecurityParams; 915 SecurityParams.createSecurityParamsBySecurityType( in testIsSameNetworkReturnsTrueOnSameNetworkWithSameCandidateSecurityParams() 919 SecurityParams.createSecurityParamsBySecurityType( in testIsSameNetworkReturnsTrueOnSameNetworkWithSameCandidateSecurityParams() 932 SecurityParams.createSecurityParamsBySecurityType( in testIsSameNetworkReturnsTrueOnSameNetworkWithDifferentCandidateSecurityParams() 936 SecurityParams.createSecurityParamsBySecurityType( in testIsSameNetworkReturnsTrueOnSameNetworkWithDifferentCandidateSecurityParams()
|
D | WifiServiceImplTest.java | 134 import android.net.wifi.SecurityParams; 8160 private boolean isSecurityParamsSupported(SecurityParams params, long wifiFeatures) { in isSecurityParamsSupported() 8177 SecurityParams.createSecurityParamsBySecurityType( in generateExpectedConfigs() 8183 SecurityParams.createSecurityParamsBySecurityType( in generateExpectedConfigs() 8189 SecurityParams.createSecurityParamsBySecurityType( in generateExpectedConfigs() 8195 SecurityParams.createSecurityParamsBySecurityType( in generateExpectedConfigs() 8201 SecurityParams.createSecurityParamsBySecurityType( in generateExpectedConfigs() 8209 SecurityParams.createSecurityParamsBySecurityType( in generateExpectedConfigs()
|
D | WifiConfigManagerTest.java | 56 import android.net.wifi.SecurityParams; 3976 notPreferredNetId, mock(ScanResult.class), 54, mock(SecurityParams.class))); in verifySetUserConnectChoice() 4227 SecurityParams.createSecurityParamsBySecurityType( in testRetrieveHiddenList() 5464 for (SecurityParams p: retrievedConfig.getSecurityParamsList()) { in isNetworkInConfigStoreData() 6041 SecurityParams.createSecurityParamsBySecurityType( in testScanComparator()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvider.java | 26 import android.net.wifi.SecurityParams; 501 List<SecurityParams> paramsList = Arrays.asList( in getWifiConfig() 502 SecurityParams.createSecurityParamsBySecurityType( in getWifiConfig() 504 SecurityParams.createSecurityParamsBySecurityType( in getWifiConfig()
|