Home
last modified time | relevance | path

Searched refs:getSecurity (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java426 security = getSecurity(config); in loadConfig()
441 mKey = getKey(getSsidStr(), getBssid(), getSecurity()); in updateKey()
698 return getKey(result.SSID, result.BSSID, getSecurity(context, result)); in getKey()
709 return getKey(removeDoubleQuotes(config.SSID), config.BSSID, getSecurity(config)); in getKey()
764 final int otherApSecurity = other.getSecurity(); in matches()
791 return security == other.getSecurity(); in matches()
804 final int configSecurity = getSecurity(config); in matches()
821 return security == getSecurity(config); in matches()
862 final int scanResultSccurity = getSecurity(mContext, scanResult); in matches()
875 return security == getSecurity(mContext, scanResult); in matches()
[all …]
DAccessPointPreference.java210 if ((mAccessPoint.getSecurity() != AccessPoint.SECURITY_NONE) in bindFrictionImage()
211 && (mAccessPoint.getSecurity() != AccessPoint.SECURITY_OWE)) { in bindFrictionImage()
292 ap.getSecurity() == AccessPoint.SECURITY_NONE in buildContentDescription()
DWifiTracker.java679 final int security = AccessPoint.getSecurity(config); in isSaeOrOwe()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetAdapterTest.java104 when(mWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in onBindViewHolder_bindWithOpenWifiNetwork_verifyView()
115 when(mWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in onBindViewHolder_bindWithSecurityWifiNetwork_verifyView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DAccessPointControllerImpl.java191 if (ap.getSecurity() != WifiEntry.SECURITY_NONE) { in connect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetAdapter.java166 final int security = wifiEntry.getSecurity(); in onBind()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardWifiEntryTest.java208 assertThat(unsecureEntry.getSecurity()).isEqualTo(WifiEntry.SECURITY_NONE); in testConstructor_targetingNewSecurity_scanResultsSetSecurity()
209 assertThat(secureEntry.getSecurity()).isEqualTo(WifiEntry.SECURITY_EAP); in testConstructor_targetingNewSecurity_scanResultsSetSecurity()
294 assertThat(entry.getSecurity()).isEqualTo(WifiEntry.SECURITY_EAP); in testConstructor_wifiConfig_setsSecurity()
1685 assertThat(entry.getSecurity()).isEqualTo(WifiEntry.SECURITY_NONE); in testGetSecurity_openAndOwe_returnsOpen()
1705 assertThat(entry.getSecurity()).isEqualTo(WifiEntry.SECURITY_PSK); in testGetSecurity_pskAndSae_returnsPsk()
1725 assertThat(entry.getSecurity()).isEqualTo(WifiEntry.SECURITY_EAP); in testGetSecurity_eapAndEapWpa3_returnsEap()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DWifiEntry.java438 public int getSecurity() { in getSecurity() method in WifiEntry