Home
last modified time | relevance | path

Searched refs:numSecurityTypes (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkSuggestion.java565 int numSecurityTypes = 0; in validateSecurityParams() local
566 numSecurityTypes += mIsEnhancedOpen ? 1 : 0; in validateSecurityParams()
567 numSecurityTypes += !TextUtils.isEmpty(mWpa2PskPassphrase) ? 1 : 0; in validateSecurityParams()
568 numSecurityTypes += !TextUtils.isEmpty(mWpa3SaePassphrase) ? 1 : 0; in validateSecurityParams()
569 numSecurityTypes += !TextUtils.isEmpty(mWapiPskPassphrase) ? 1 : 0; in validateSecurityParams()
570 numSecurityTypes += mWpa2EnterpriseConfig != null ? 1 : 0; in validateSecurityParams()
571 numSecurityTypes += mWpa3EnterpriseConfig != null ? 1 : 0; in validateSecurityParams()
572 numSecurityTypes += mWapiEnterpriseConfig != null ? 1 : 0; in validateSecurityParams()
573 numSecurityTypes += mPasspointConfiguration != null ? 1 : 0; in validateSecurityParams()
574 if (numSecurityTypes > 1) { in validateSecurityParams()
DWifiNetworkSpecifier.java352 int numSecurityTypes = 0; in validateSecurityParams() local
353 numSecurityTypes += mIsEnhancedOpen ? 1 : 0; in validateSecurityParams()
354 numSecurityTypes += !TextUtils.isEmpty(mWpa2PskPassphrase) ? 1 : 0; in validateSecurityParams()
355 numSecurityTypes += !TextUtils.isEmpty(mWpa3SaePassphrase) ? 1 : 0; in validateSecurityParams()
356 numSecurityTypes += mWpa2EnterpriseConfig != null ? 1 : 0; in validateSecurityParams()
357 numSecurityTypes += mWpa3EnterpriseConfig != null ? 1 : 0; in validateSecurityParams()
358 if (numSecurityTypes > 1) { in validateSecurityParams()