diff options
author | Ahmed ElArabawy <arabawy@google.com> | 2019-11-04 17:58:17 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-11-04 17:58:17 +0000 |
commit | aaf9b97056e52a7b34dd7abf416789afc1943e47 (patch) | |
tree | 2fe6ab7dcc01f66faabc3c6e7e2927328ec64313 /tests | |
parent | 3d7b1f6739cb302c5f116b52df1a294d20402f49 (diff) | |
parent | b7956e20175a9c508de95756a2f0c0e39e202531 (diff) |
Merge "Change "Technology" to "Standard" in API"
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/SupplicantStaIfaceHalTest.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/SupplicantStaIfaceHalTest.java b/tests/wifitests/src/com/android/server/wifi/SupplicantStaIfaceHalTest.java index 254f10d0d..557069e29 100644 --- a/tests/wifitests/src/com/android/server/wifi/SupplicantStaIfaceHalTest.java +++ b/tests/wifitests/src/com/android/server/wifi/SupplicantStaIfaceHalTest.java @@ -1725,15 +1725,15 @@ public class SupplicantStaIfaceHalTest extends WifiBaseTest { } /** - * Test getWifiTechnology + * Test getWifiStandard * Should fail if running HAL lower than V1_3 */ @Test - public void testGetWifiTechnologyV1_2() throws Exception { + public void testGetWifiStandardV1_2() throws Exception { setupMocksForHalV1_2(); executeAndValidateInitializationSequenceV1_2(); - assertEquals(WifiInfo.WIFI_TECHNOLOGY_UNKNOWN, mDut.getWifiTechnology(WLAN0_IFACE_NAME)); + assertEquals(WifiInfo.WIFI_STANDARD_UNKNOWN, mDut.getWifiStandard(WLAN0_IFACE_NAME)); } private class GetConnCapabilitiesAnswer extends MockAnswerUtil.AnswerWithArguments { @@ -1751,22 +1751,22 @@ public class SupplicantStaIfaceHalTest extends WifiBaseTest { } /** - * Test getWifiTechnology if running with HAL V1_3 + * Test getWifiStandard if running with HAL V1_3 */ @Test - public void testGetWifiTechnologyV1_3() throws Exception { + public void testGetWifiStandardV1_3() throws Exception { setupMocksForHalV1_3(); executeAndValidateInitializationSequenceV1_3(); int testWifiTechnologyHal = WifiTechnology.VHT; - int testWifiTechnologyWifiInfo = WifiInfo.WIFI_TECHNOLOGY_11AC; + int testWifiStandardWifiInfo = WifiInfo.WIFI_STANDARD_11AC; doAnswer(new GetConnCapabilitiesAnswer(testWifiTechnologyHal)) .when(mISupplicantStaIfaceMockV13).getConnectionCapabilities(any( android.hardware.wifi.supplicant.V1_3.ISupplicantStaIface .getConnectionCapabilitiesCallback.class)); - assertEquals(testWifiTechnologyWifiInfo, mDut.getWifiTechnology(WLAN0_IFACE_NAME)); + assertEquals(testWifiStandardWifiInfo, mDut.getWifiStandard(WLAN0_IFACE_NAME)); } private WifiConfiguration createTestWifiConfiguration() { |