Home
last modified time | relevance | path

Searched refs:SecurityParams (Results 1 – 25 of 52) sorted by relevance

123

/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DSecurityParamsTest.java44 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 …]
DWifiUriParserTest.java48 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 …]
DWifiConfigurationTest.java160 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()
DScanResultTest.java353 List<SecurityParams> securityParamsList = wifiConfigSecurityTypes.stream() in verifyGetSecurityTypesDerivedFromSecurityParams()
354 .map(SecurityParams::createSecurityParamsBySecurityType) in verifyGetSecurityTypesDerivedFromSecurityParams()
/packages/modules/Wifi/framework/java/android/net/wifi/
DSecurityParams.java41 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 …]
DWifiConfiguration.java567 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 …]
DWifiUriParser.java250 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/
DScanResultMatchInfo.java21 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 …]
DWakeupConfigStoreData.java20 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()
DWifiConfigurationUtil.java27 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()
DWifiBackupDataV1Parser.java29 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()
DWifiNetworkSelector.java35 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()
DISupplicantStaIfaceHal.java24 import android.net.wifi.SecurityParams;
724 SecurityParams getCurrentNetworkSecurityParams(@NonNull String ifaceName); in getCurrentNetworkSecurityParams()
DSupplicantStaIfaceCallbackHidlV1_3Impl.java24 import android.net.wifi.SecurityParams;
189 SecurityParams params = curConfig.getNetworkSelectionStatus().getCandidateSecurityParams(); in onPmkCacheAdded()
DWifiCandidates.java24 import android.net.wifi.SecurityParams;
675 SecurityParams params = ScanResultMatchInfo.fromScanResult(scanResult) in keyFromScanDetailAndConfig()
/packages/modules/Wifi/framework/java/android/net/wifi/util/
DScanResultUtil.java25 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/
DNativeUtilTest.java24 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/
DWakeupConfigStoreDataTest.java27 import android.net.wifi.SecurityParams;
132 SecurityParams.createSecurityParamsBySecurityType( in deserializeSerializedData()
138 SecurityParams.createSecurityParamsBySecurityType( in deserializeSerializedData()
144 SecurityParams.createSecurityParamsBySecurityType( in deserializeSerializedData()
DScanResultMatchInfoTest.java31 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()
DWakeupLockTest.java25 import android.net.wifi.SecurityParams;
69 SecurityParams.createSecurityParamsBySecurityType( in setUp()
75 SecurityParams.createSecurityParamsBySecurityType( in setUp()
DWifiConfigurationTestUtil.java27 import android.net.wifi.SecurityParams;
318 SecurityParams params = SecurityParams in createOpenOweNetwork()
363 SecurityParams params = SecurityParams in createPskSaeNetwork()
473 SecurityParams params = SecurityParams in createWpa2Wpa3EnterpriseNetwork()
DWifiNetworkSelectorTestUtil.java37 import android.net.wifi.SecurityParams;
389 SecurityParams params) { in prepareConfigStore()
476 SecurityParams params) { in setupEphemeralNetwork()
DSupplicantStaNetworkHalAidlImplTest.java53 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()
DWifiConfigurationUtilTest.java33 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/
DPasspointProvider.java26 import android.net.wifi.SecurityParams;
548 List<SecurityParams> paramsList = Arrays.asList( in getWifiConfig()
549 SecurityParams.createSecurityParamsBySecurityType( in getWifiConfig()
551 SecurityParams.createSecurityParamsBySecurityType( in getWifiConfig()

123