diff options
author | Christopher Wiley <wiley@google.com> | 2016-09-19 16:02:31 -0700 |
---|---|---|
committer | Christopher Wiley <wiley@google.com> | 2016-09-22 14:31:37 -0700 |
commit | 026cb51837e4cf3aea30b903320b992a3f5d0d7b (patch) | |
tree | c441f7e906cb12962f6f9252194d59391fc960fc /tests/wifitests/src/com/android/server/wifi/WifiStateMachineTest.java | |
parent | 22f57da33e6b132a0e7e4bd6d986f74b53d19527 (diff) | |
download | android_frameworks_opt_net_wifi-026cb51837e4cf3aea30b903320b992a3f5d0d7b.tar.gz android_frameworks_opt_net_wifi-026cb51837e4cf3aea30b903320b992a3f5d0d7b.tar.bz2 android_frameworks_opt_net_wifi-026cb51837e4cf3aea30b903320b992a3f5d0d7b.zip |
Remove implementation of user selected WiFi bands
This functionality artificially limits WiFi's ability to connect to WiFi
networks and establish connectivity. We already prefer 5Ghz networks
to 2.4Ghz networks, and offer knobs to scan on a particular band.
The UI that exposed this feature has been removed since M.
Bug: 31148223
Test: builds, unit tests pass
Change-Id: I8ae1f9d2b7217d404557fb69eccb2dd42799d4df
Diffstat (limited to 'tests/wifitests/src/com/android/server/wifi/WifiStateMachineTest.java')
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/WifiStateMachineTest.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiStateMachineTest.java b/tests/wifitests/src/com/android/server/wifi/WifiStateMachineTest.java index cb65325f4..24f383a1d 100644 --- a/tests/wifitests/src/com/android/server/wifi/WifiStateMachineTest.java +++ b/tests/wifitests/src/com/android/server/wifi/WifiStateMachineTest.java @@ -436,7 +436,6 @@ public class WifiStateMachineTest { assertEquals("SupplicantStartingState", getCurrentState().getName()); - when(mWifiNative.setBand(anyInt())).thenReturn(true); when(mWifiNative.setDeviceName(anyString())).thenReturn(true); when(mWifiNative.setManufacturer(anyString())).thenReturn(true); when(mWifiNative.setModelName(anyString())).thenReturn(true); @@ -549,7 +548,6 @@ public class WifiStateMachineTest { mWsm.setSupplicantRunning(true); mLooper.dispatchAll(); assertEquals("SupplicantStartingState", getCurrentState().getName()); - when(mWifiNative.setBand(anyInt())).thenReturn(true); when(mWifiNative.setDeviceName(anyString())).thenReturn(true); when(mWifiNative.setManufacturer(anyString())).thenReturn(true); when(mWifiNative.setModelName(anyString())).thenReturn(true); |