/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() 107 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testEapCreator() 126 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testEapPasspointR1R2Creator() 145 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testEapPasspointR3Creator() 165 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testEnhancedOpenCreator() 183 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testOpenCreator() 201 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testOsenCreator() 219 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testWapiCertCreator() 237 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testWapiPskCreator() [all …]
|
D | WifiUriParserTest.java | 48 List<SecurityParams> expectedSecurityParamsList, in verifyZxParsing() 60 List<SecurityParams> configSecurityParamsList = config.getSecurityParamsList(); in verifyZxParsing() 70 List<SecurityParams> expectedSecurityParamsList = in testZxParsing() 72 SecurityParams.createSecurityParamsBySecurityType( in testZxParsing() 74 SecurityParams.createSecurityParamsBySecurityType( in testZxParsing() 95 SecurityParams.createSecurityParamsBySecurityType( in testZxParsing() 116 SecurityParams.createSecurityParamsBySecurityType( in testZxParsing() 137 SecurityParams.createSecurityParamsBySecurityType( in testZxParsing() 165 SecurityParams.createSecurityParamsBySecurityType( in testZxParsing() 175 SecurityParams pskButDisableed = SecurityParams.createSecurityParamsBySecurityType( in testZxParsing() [all …]
|
D | WifiConfigurationTest.java | 160 SecurityParams.createSecurityParamsBySecurityType( in testWifiConfigurationParcel() 642 SecurityParams params = SecurityParams.createSecurityParamsBySecurityType( in testCandidateSecurityParams() 656 SecurityParams params = SecurityParams.createSecurityParamsBySecurityType( in testLastUsedSecurityParams() 1072 List<SecurityParams> paramsList = config.getSecurityParamsList(); in testAddSecurityTypes() 1197 SecurityParams saeParams = config.getSecurityParams(WifiConfiguration.SECURITY_TYPE_SAE); in testSaeTypeMethods() 1333 List<SecurityParams> list = new ArrayList<>(); in testSetSecurityParamsBySecurityParamsList() 1334 list.add(SecurityParams.createSecurityParamsBySecurityType(SECURITY_TYPE_PSK)); in testSetSecurityParamsBySecurityParamsList() 1335 list.add(SecurityParams.createSecurityParamsBySecurityType(SECURITY_TYPE_SAE)); in testSetSecurityParamsBySecurityParamsList() 1347 List<SecurityParams> list = new ArrayList<>(); in testSetSecurityParamsByEmptySecurityParamsList() 1355 List<SecurityParams> list = null; in testSetSecurityParamsByNullSecurityParamsList()
|
D | ScanResultTest.java | 353 List<SecurityParams> securityParamsList = wifiConfigSecurityTypes.stream() in verifyGetSecurityTypesDerivedFromSecurityParams() 354 .map(SecurityParams::createSecurityParamsBySecurityType) in verifyGetSecurityTypesDerivedFromSecurityParams()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | SecurityParams.java | 41 public final class SecurityParams implements Parcelable { class 135 private SecurityParams() { in SecurityParams() method in SecurityParams 139 public SecurityParams(@NonNull SecurityParams source) { in SecurityParams() method in SecurityParams 162 if (!(thatObject instanceof SecurityParams)) { in equals() 165 SecurityParams that = (SecurityParams) thatObject; in equals() 220 public boolean isSameSecurityType(SecurityParams params) { in isSameSecurityType() 573 public static final @NonNull Parcelable.Creator<SecurityParams> CREATOR = 574 new Creator<SecurityParams>() { 575 public SecurityParams createFromParcel(Parcel in) { 576 SecurityParams params = new SecurityParams(); [all …]
|
D | WifiConfiguration.java | 567 private List<SecurityParams> mSecurityParamsList = new ArrayList<>(); 625 public void setSecurityParams(SecurityParams params) { in setSecurityParams() 639 public void setSecurityParams(@NonNull List<SecurityParams> securityParamsList) { in setSecurityParams() 644 securityParamsList.forEach(p -> mSecurityParamsList.add(new SecurityParams(p))); in setSecurityParams() 669 for (SecurityParams params : mSecurityParamsList) { in addSecurityParams() 674 addSecurityParams(SecurityParams.createSecurityParamsBySecurityType(securityType)); in addSecurityParams() 678 public void addSecurityParams(@NonNull SecurityParams newParams) { in addSecurityParams() 680 for (SecurityParams params : mSecurityParamsList) { in addSecurityParams() 707 mSecurityParamsList.add(new SecurityParams(newParams)); in addSecurityParams() 807 for (SecurityParams p : mSecurityParamsList) { in setSecurityParamsEnabled() [all …]
|
D | WifiUriParser.java | 250 SecurityParams.createSecurityParamsBySecurityType( in generatetWifiConfiguration() 252 SecurityParams.createSecurityParamsBySecurityType( in generatetWifiConfiguration() 269 List<SecurityParams> securityParamsList = new ArrayList<>(); in generatetWifiConfiguration() 270 SecurityParams scannedSecurityParam = SecurityParams.createSecurityParamsBySecurityType( in generatetWifiConfiguration() 276 SecurityParams.createSecurityParamsBySecurityType( in generatetWifiConfiguration()
|
/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<>(); 82 private static boolean isAutoUpgradeSecurityParamsAllowed(SecurityParams securityParams) { in isAutoUpgradeSecurityParamsAllowed() 112 private static @Nullable SecurityParams findBestMatchingSecurityParams( in findBestMatchingSecurityParams() 113 List<SecurityParams> allowedParamsList, in findBestMatchingSecurityParams() 114 List<SecurityParams> scanResultParamsList) { in findBestMatchingSecurityParams() 118 SecurityParams allowedParams = allowedParamsList.get(i); in findBestMatchingSecurityParams() 123 for (SecurityParams scanResultParams: scanResultParamsList) { in findBestMatchingSecurityParams() 136 public static @Nullable SecurityParams getBestMatchingSecurityParams( in getBestMatchingSecurityParams() 149 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 | 27 import android.net.wifi.SecurityParams; 1017 SecurityParams oweParams = SecurityParams.createSecurityParamsBySecurityType( in addOpenUpgradableSecurityTypeIfNecessary() 1028 SecurityParams saeParams = SecurityParams.createSecurityParamsBySecurityType( in addPskUpgradableSecurityTypeIfNecessary() 1039 SecurityParams wpa3EnterpriseParams = SecurityParams.createSecurityParamsBySecurityType( in addEapUpgradableSecurityTypeIfNecessary() 1066 private static boolean shouldOmitAutoUpgradeParams(SecurityParams params) { in shouldOmitAutoUpgradeParams() 1080 private static boolean isSecurityParamsSupported(SecurityParams params) { in isSecurityParamsSupported() 1098 public static boolean isSecurityParamsValid(SecurityParams params) { in isSecurityParamsValid() 1171 for (SecurityParams params: config.getSecurityParamsList()) { in convertMultiTypeConfigsToLegacyConfigs()
|
D | WifiBackupDataV1Parser.java | 29 import android.net.wifi.SecurityParams; 498 private static SecurityParams parseSecurityParamsFromXml( in parseSecurityParamsFromXml() 500 SecurityParams params = null; in parseSecurityParamsFromXml() 510 params = SecurityParams.createSecurityParamsBySecurityType((int) value); in parseSecurityParamsFromXml() 539 List<SecurityParams> paramsList = new ArrayList<>(); in parseSecurityParamsListFromXml() 543 SecurityParams params = parseSecurityParamsFromXml(in, outerTagDepth + 1); in parseSecurityParamsListFromXml()
|
D | WifiNetworkSelector.java | 35 import android.net.wifi.SecurityParams; 1139 SecurityParams params = currentNetwork.getNetworkSelectionStatus() in getCandidatesFromScan() 1377 List<SecurityParams> scanResultParamsList, in removeAutoUpgradeSecurityParamsIfNecessary() 1394 SecurityParams baseParams = config.getSecurityParams(baseSecurityType); in removeAutoUpgradeSecurityParamsIfNecessary() 1401 SecurityParams upgradableParams = config.getSecurityParams(upgradableSecurityType); in removeAutoUpgradeSecurityParamsIfNecessary() 1411 List<SecurityParams> scanResultParamsList) { in removeSecurityParamsIfNecessary() 1460 ScanResult scanResult, SecurityParams params) { in updateSecurityParamsForTransitionModeIfNecessary() 1484 List<SecurityParams> scanResultParamsList = ScanResultUtil in updateNetworkCandidateSecurityParams() 1490 SecurityParams params = ScanResultMatchInfo.getBestMatchingSecurityParams( in updateNetworkCandidateSecurityParams()
|
D | ISupplicantStaIfaceHal.java | 24 import android.net.wifi.SecurityParams; 724 SecurityParams getCurrentNetworkSecurityParams(@NonNull String ifaceName); in getCurrentNetworkSecurityParams()
|
D | SupplicantStaIfaceCallbackHidlV1_3Impl.java | 24 import android.net.wifi.SecurityParams; 189 SecurityParams params = curConfig.getNetworkSelectionStatus().getCandidateSecurityParams(); in onPmkCacheAdded()
|
D | WifiCandidates.java | 24 import android.net.wifi.SecurityParams; 675 SecurityParams params = ScanResultMatchInfo.fromScanResult(scanResult) in keyFromScanDetailAndConfig()
|
/packages/modules/Wifi/framework/java/android/net/wifi/util/ |
D | ScanResultUtil.java | 25 import android.net.wifi.SecurityParams; 321 List<SecurityParams> list = generateSecurityParamsListFromScanResult(scanResult); in createNetworkFromScanResult() 334 public static @NonNull List<SecurityParams> generateSecurityParamsListFromScanResult( in generateSecurityParamsListFromScanResult() 336 List<SecurityParams> list = new ArrayList<>(); in generateSecurityParamsListFromScanResult() 340 list.add(SecurityParams.createSecurityParamsBySecurityType( in generateSecurityParamsListFromScanResult() 342 list.add(SecurityParams.createSecurityParamsBySecurityType( in generateSecurityParamsListFromScanResult() 346 list.add(SecurityParams.createSecurityParamsBySecurityType( in generateSecurityParamsListFromScanResult() 350 list.add(SecurityParams.createSecurityParamsBySecurityType( in generateSecurityParamsListFromScanResult() 357 list.add(SecurityParams.createSecurityParamsBySecurityType( in generateSecurityParamsListFromScanResult() 364 list.add(SecurityParams.createSecurityParamsBySecurityType( in generateSecurityParamsListFromScanResult() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | NativeUtilTest.java | 24 import android.net.wifi.SecurityParams; 273 SecurityParams saeParams = SecurityParams.createSecurityParamsBySecurityType( in testPairwiseCiphersMergedForSaeAutoUpgradeOffloadSupported() 309 SecurityParams saeParams = SecurityParams.createSecurityParamsBySecurityType( in testPairwiseCiphersNotMergedForSaeAutoUpgradeOffloadNotSupported()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
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 | ScanResultMatchInfoTest.java | 31 import android.net.wifi.SecurityParams; 488 SecurityParams params = SecurityParams.createSecurityParamsBySecurityType( in testMatchBehaviorWithWpa3AutoUpgradeFlagStates() 490 List<SecurityParams> securityParamsList = new ArrayList<>(); in testMatchBehaviorWithWpa3AutoUpgradeFlagStates() 526 SecurityParams params = SecurityParams.createSecurityParamsBySecurityType( in testMatchBehaviorWithOweAutoUpgradeFlagStates() 528 List<SecurityParams> securityParamsList = new ArrayList<>(); in testMatchBehaviorWithOweAutoUpgradeFlagStates()
|
D | WakeupLockTest.java | 25 import android.net.wifi.SecurityParams; 69 SecurityParams.createSecurityParamsBySecurityType( in setUp() 75 SecurityParams.createSecurityParamsBySecurityType( in setUp()
|
D | WifiConfigurationTestUtil.java | 27 import android.net.wifi.SecurityParams; 318 SecurityParams params = SecurityParams in createOpenOweNetwork() 363 SecurityParams params = SecurityParams in createPskSaeNetwork() 473 SecurityParams params = SecurityParams in createWpa2Wpa3EnterpriseNetwork()
|
D | WifiNetworkSelectorTestUtil.java | 37 import android.net.wifi.SecurityParams; 389 SecurityParams params) { in prepareConfigStore() 476 SecurityParams params) { in setupEphemeralNetwork()
|
D | SupplicantStaNetworkHalAidlImplTest.java | 53 import android.net.wifi.SecurityParams; 729 SecurityParams.createSecurityParamsBySecurityType( in testPmfDisabledWhenAutoUpgradeOffloadIsSupportedAndSaeSelected() 748 SecurityParams.createSecurityParamsBySecurityType( in testPmfEnabledWhenAutoUpgradeOffloadNotSupportedAndSaeSelected() 791 SecurityParams.createSecurityParamsBySecurityType( in testCiphersMergedWhenAutoUpgradeOffloadIsSupportedAndPskSelected() 815 SecurityParams.createSecurityParamsBySecurityType( in testCiphersNotChangedWhenAutoUpgradeOffloadNotSupportedAndPskSelected() 837 SecurityParams.createSecurityParamsBySecurityType( in testCiphersMergedWhenAutoUpgradeOffloadIsSupportedAndSaeSelected() 861 SecurityParams.createSecurityParamsBySecurityType( in testCiphersNotChangedWhenAutoUpgradeOffloadNotSupportedAndSaeSelected()
|
D | WifiConfigurationUtilTest.java | 33 import android.net.wifi.SecurityParams; 1052 SecurityParams.createSecurityParamsBySecurityType( in testIsSameNetworkReturnsTrueOnSameNetworkWithSameCandidateSecurityParams() 1056 SecurityParams.createSecurityParamsBySecurityType( in testIsSameNetworkReturnsTrueOnSameNetworkWithSameCandidateSecurityParams() 1069 SecurityParams.createSecurityParamsBySecurityType( in testIsSameNetworkReturnsTrueOnSameNetworkWithDifferentCandidateSecurityParams() 1073 SecurityParams.createSecurityParamsBySecurityType( in testIsSameNetworkReturnsTrueOnSameNetworkWithDifferentCandidateSecurityParams()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvider.java | 26 import android.net.wifi.SecurityParams; 548 List<SecurityParams> paramsList = Arrays.asList( in getWifiConfig() 549 SecurityParams.createSecurityParamsBySecurityType( in getWifiConfig() 551 SecurityParams.createSecurityParamsBySecurityType( in getWifiConfig()
|