Home
last modified time | relevance | path

Searched refs:securityParams (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DScanResultMatchInfo.java82 private static boolean isAutoUpgradeSecurityParamsAllowed(SecurityParams securityParams) { in isAutoUpgradeSecurityParamsAllowed() argument
88 if (securityParams.getSecurityType() == WifiConfiguration.SECURITY_TYPE_SAE in isAutoUpgradeSecurityParamsAllowed()
89 && securityParams.isAddedByAutoUpgrade() in isAutoUpgradeSecurityParamsAllowed()
93 if (securityParams.getSecurityType() == WifiConfiguration.SECURITY_TYPE_OWE in isAutoUpgradeSecurityParamsAllowed()
94 && securityParams.isAddedByAutoUpgrade() in isAutoUpgradeSecurityParamsAllowed()
DSupplicantStaNetworkHalAidlImpl.java264 SecurityParams securityParams = config.getDefaultSecurityParams(); in loadWifiConfiguration() local
269 if (securityParams.isSecurityType(WifiConfiguration.SECURITY_TYPE_WAPI_PSK)) { in loadWifiConfiguration()
287 if (securityParams.isSecurityType(WifiConfiguration.SECURITY_TYPE_WAPI_CERT)) { in loadWifiConfiguration()
346 SecurityParams securityParams = config.getNetworkSelectionStatus() in saveWifiConfiguration() local
348 if (securityParams == null) { in saveWifiConfiguration()
352 Log.d(TAG, "The target security params: " + securityParams); in saveWifiConfiguration()
355 securityParams.isRequirePmf(), mWifiGlobals); in saveWifiConfiguration()
362 BitSet allowedKeyManagement = securityParams.getAllowedKeyManagement(); in saveWifiConfiguration()
389 BitSet allowedProtocols = securityParams.getAllowedProtocols(); in saveWifiConfiguration()
397 BitSet allowedAuthAlgorithms = securityParams.getAllowedAuthAlgorithms(); in saveWifiConfiguration()
[all …]
DSupplicantStaNetworkHalHidlImpl.java231 SecurityParams securityParams = config.getDefaultSecurityParams(); in loadWifiConfiguration() local
236 if (securityParams.isSecurityType(WifiConfiguration.SECURITY_TYPE_WAPI_PSK)) { in loadWifiConfiguration()
254 if (securityParams.isSecurityType(WifiConfiguration.SECURITY_TYPE_WAPI_CERT)) { in loadWifiConfiguration()
304 SecurityParams securityParams = config.getNetworkSelectionStatus() in saveWifiConfiguration() local
306 if (null == securityParams) { in saveWifiConfiguration()
310 Log.d(TAG, "The target security params: " + securityParams); in saveWifiConfiguration()
313 securityParams.isRequirePmf(), mWifiGlobals); in saveWifiConfiguration()
320 BitSet allowedKeyManagement = securityParams.getAllowedKeyManagement(); in saveWifiConfiguration()
341 BitSet allowedProtocols = securityParams.getAllowedProtocols(); in saveWifiConfiguration()
349 BitSet allowedAuthAlgorithms = securityParams.getAllowedAuthAlgorithms(); in saveWifiConfiguration()
[all …]
DWifiNetworkSuggestionsManager.java197 @NonNull List<SecurityParams> securityParams) { in onSecurityParamsUpdate() argument
198 if (configuration == null || securityParams == null || securityParams.isEmpty()) { in onSecurityParamsUpdate()
203 onSecurityParamsUpdateForSuggestion(configuration, securityParams); in onSecurityParamsUpdate()
2864 List<SecurityParams> securityParams) { in onSecurityParamsUpdateForSuggestion() argument
2876 ewns.wns.wifiConfiguration.setSecurityParams(securityParams); in onSecurityParamsUpdateForSuggestion()
DClientModeImpl.java3297 SecurityParams securityParams = in handleNetworkConnectionEventInfo() local
3299 tmp.requirePmf = securityParams.isRequirePmf(); in handleNetworkConnectionEventInfo()
3300 tmp.allowedProtocols = securityParams.getAllowedProtocols(); in handleNetworkConnectionEventInfo()
3301 tmp.allowedPairwiseCiphers = securityParams.getAllowedPairwiseCiphers(); in handleNetworkConnectionEventInfo()
3302 tmp.allowedGroupCiphers = securityParams.getAllowedGroupCiphers(); in handleNetworkConnectionEventInfo()
3328 SecurityParams securityParams = config.getNetworkSelectionStatus() in updateWifiInfoWhenConnected() local
3330 if (securityParams != null) { in updateWifiInfoWhenConnected()
3331 Log.i(getTag(), "Update current security type to " + securityParams.getSecurityType()); in updateWifiInfoWhenConnected()
3332 mWifiInfo.setCurrentSecurityType(securityParams.getSecurityType()); in updateWifiInfoWhenConnected()
DWifiConfigManager.java203 List<SecurityParams> securityParams) { } in onSecurityParamsUpdate() argument
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java1857 SecurityParams securityParams = mock(SecurityParams.class); in setupNetworkAndVerify() local
1858 when(config.getDefaultSecurityParams()).thenReturn(securityParams); in setupNetworkAndVerify()
1859 when(securityParams.isEnterpriseSecurityType()).thenReturn(true); in setupNetworkAndVerify()
1958 SecurityParams securityParams = mock(SecurityParams.class); in testNetworkToNominatorNotCleared() local
1959 when(config.getDefaultSecurityParams()).thenReturn(securityParams); in testNetworkToNominatorNotCleared()
1960 when(securityParams.isEnterpriseSecurityType()).thenReturn(true); in testNetworkToNominatorNotCleared()
2023 SecurityParams securityParams = mock(SecurityParams.class); in testMetricNumBssidInBlocklist() local
2024 when(config.getDefaultSecurityParams()).thenReturn(securityParams); in testMetricNumBssidInBlocklist()
2025 when(securityParams.isEnterpriseSecurityType()).thenReturn(true); in testMetricNumBssidInBlocklist()
2052 SecurityParams securityParams = mock(SecurityParams.class); in testConnectionNetworkTypeOpen() local
[all …]