Searched refs:securityParams (Results 1 – 7 of 7) sorted by relevance
82 private static boolean isAutoUpgradeSecurityParamsAllowed(SecurityParams securityParams) { in isAutoUpgradeSecurityParamsAllowed() argument88 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()
264 SecurityParams securityParams = config.getDefaultSecurityParams(); in loadWifiConfiguration() local269 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() local348 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 …]
231 SecurityParams securityParams = config.getDefaultSecurityParams(); in loadWifiConfiguration() local236 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() local306 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 …]
197 @NonNull List<SecurityParams> securityParams) { in onSecurityParamsUpdate() argument198 if (configuration == null || securityParams == null || securityParams.isEmpty()) { in onSecurityParamsUpdate()203 onSecurityParamsUpdateForSuggestion(configuration, securityParams); in onSecurityParamsUpdate()2864 List<SecurityParams> securityParams) { in onSecurityParamsUpdateForSuggestion() argument2876 ewns.wns.wifiConfiguration.setSecurityParams(securityParams); in onSecurityParamsUpdateForSuggestion()
3297 SecurityParams securityParams = in handleNetworkConnectionEventInfo() local3299 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() local3330 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()
203 List<SecurityParams> securityParams) { } in onSecurityParamsUpdate() argument
1857 SecurityParams securityParams = mock(SecurityParams.class); in setupNetworkAndVerify() local1858 when(config.getDefaultSecurityParams()).thenReturn(securityParams); in setupNetworkAndVerify()1859 when(securityParams.isEnterpriseSecurityType()).thenReturn(true); in setupNetworkAndVerify()1958 SecurityParams securityParams = mock(SecurityParams.class); in testNetworkToNominatorNotCleared() local1959 when(config.getDefaultSecurityParams()).thenReturn(securityParams); in testNetworkToNominatorNotCleared()1960 when(securityParams.isEnterpriseSecurityType()).thenReturn(true); in testNetworkToNominatorNotCleared()2023 SecurityParams securityParams = mock(SecurityParams.class); in testMetricNumBssidInBlocklist() local2024 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 …]