Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiInfoTest.java778 assertEquals(WifiInfo.SECURITY_TYPE_UNKNOWN, info.getCurrentSecurityType()); in testWifiInfoCurrentSecurityType()
781 assertEquals(WifiInfo.SECURITY_TYPE_SAE, info.getCurrentSecurityType()); in testWifiInfoCurrentSecurityType()
784 assertEquals(WifiInfo.SECURITY_TYPE_OPEN, info.getCurrentSecurityType()); in testWifiInfoCurrentSecurityType()
787 assertEquals(WifiInfo.SECURITY_TYPE_WEP, info.getCurrentSecurityType()); in testWifiInfoCurrentSecurityType()
790 assertEquals(WifiInfo.SECURITY_TYPE_PSK, info.getCurrentSecurityType()); in testWifiInfoCurrentSecurityType()
793 assertEquals(WifiInfo.SECURITY_TYPE_EAP, info.getCurrentSecurityType()); in testWifiInfoCurrentSecurityType()
796 assertEquals(WifiInfo.SECURITY_TYPE_OWE, info.getCurrentSecurityType()); in testWifiInfoCurrentSecurityType()
799 assertEquals(WifiInfo.SECURITY_TYPE_WAPI_PSK, info.getCurrentSecurityType()); in testWifiInfoCurrentSecurityType()
802 assertEquals(WifiInfo.SECURITY_TYPE_WAPI_CERT, info.getCurrentSecurityType()); in testWifiInfoCurrentSecurityType()
806 assertEquals(WifiInfo.SECURITY_TYPE_EAP_WPA3_ENTERPRISE, info.getCurrentSecurityType()); in testWifiInfoCurrentSecurityType()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java1295 mWifiInfo.getCurrentSecurityType()); in connect()
1450 mWifiInfo.getCurrentSecurityType()); in connectWithIpProvisionTimeout()
2911 assertEquals(WifiInfo.SECURITY_TYPE_UNKNOWN, mWifiInfo.getCurrentSecurityType()); in testDisconnectionEventInL2ConnectingStateEndsConnectionEvent()
10750 assertEquals(WifiInfo.SECURITY_TYPE_UNKNOWN, mWifiInfo.getCurrentSecurityType()); in testUpdateAkmByConnectionInfo()
10760 assertEquals(WifiInfo.SECURITY_TYPE_SAE, mWifiInfo.getCurrentSecurityType()); in testUpdateAkmByConnectionInfo()
10769 assertEquals(WifiInfo.SECURITY_TYPE_PSK, mWifiInfo.getCurrentSecurityType()); in testUpdateAkmByConnectionInfo()
10778 assertEquals(WifiInfo.SECURITY_TYPE_SAE, mWifiInfo.getCurrentSecurityType()); in testUpdateAkmByConnectionInfo()
10796 assertEquals(WifiInfo.SECURITY_TYPE_UNKNOWN, mWifiInfo.getCurrentSecurityType()); in testUpdateWpa3EnterpriseSecurityTypeByConnectionInfo()
10812 WifiInfo.SECURITY_TYPE_EAP_WPA3_ENTERPRISE, mWifiInfo.getCurrentSecurityType()); in testUpdateWpa3EnterpriseSecurityTypeByConnectionInfo()
DWifiServiceImplTest.java12302 when(mockWifiInfoWep.getCurrentSecurityType()).thenReturn(WifiInfo.SECURITY_TYPE_WEP); in testSetWepDisAllowedWithPermission()
12303 when(mockWifiInfoWpa.getCurrentSecurityType()).thenReturn(WifiInfo.SECURITY_TYPE_PSK); in testSetWepDisAllowedWithPermission()
12821 when(mockWifiInfoWep.getCurrentSecurityType()).thenReturn(WifiInfo.SECURITY_TYPE_WEP); in testWepAllowedChangedFromCloudRestoration()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiInfo.java2012 public @WifiAnnotations.SecurityType int getCurrentSecurityType() { in getCurrentSecurityType() method in WifiInfo
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java3310 Log.i(getTag(), "Update current security type to " + mWifiInfo.getCurrentSecurityType() in handleNetworkConnectionEventInfo()
5844 mWifiInfo.getCurrentSecurityType())); in processMessageImpl()
6320 mWifiInfo.getCurrentSecurityType())); in processMessageImpl()
DWifiConnectivityManager.java441 && c.getKey().securityType == primaryInfo.getCurrentSecurityType(); in handleConnectToMultiInternetConnectionInternal()
DWifiServiceImpl.java7743 wifiInfo.getCurrentSecurityType());
8409 && info.getCurrentSecurityType() == WifiInfo.SECURITY_TYPE_WEP) {
/packages/modules/Wifi/framework/api/
Dcurrent.txt382 method public int getCurrentSecurityType();