summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandy Pan <zpan@google.com>2017-03-23 17:15:59 -0700
committerRandy Pan <zpan@google.com>2017-03-24 09:06:32 -0700
commit3697d5ed11fea02e6369336d54e19145ba76425f (patch)
treee99da559b0a0eb144b4f96496d02c6539335a672
parentac6d9af4c59c3bbf7a11c0e179c7addc5cc6e2da (diff)
Fix WifiConnectivityManagerTest
Bug: 36407367 Test: runtests.sh against WifiConnectivityManagerTest Change-Id: I3eb5342b55fc5dfc40f4a6a45a249d956f802e1f
-rw-r--r--tests/wifitests/src/com/android/server/wifi/WifiConnectivityManagerTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiConnectivityManagerTest.java b/tests/wifitests/src/com/android/server/wifi/WifiConnectivityManagerTest.java
index 04af78dc5..1c2c495b0 100644
--- a/tests/wifitests/src/com/android/server/wifi/WifiConnectivityManagerTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/WifiConnectivityManagerTest.java
@@ -854,8 +854,8 @@ public class WifiConnectivityManagerTest {
when(mWifiStateMachine.getCurrentWifiConfiguration())
.thenReturn(new WifiConfiguration());
- when(mWifiConfigManager.fetchChannelSetForNetworkForPartialScan(anyInt(), anyInt(),
- anyInt())).thenReturn(channelList);
+ when(mWifiConfigManager.fetchChannelSetForNetworkForPartialScan(anyInt(), anyLong(),
+ anyInt())).thenReturn(channelList);
doAnswer(new AnswerWithArguments() {
public void answer(ScanSettings settings, ScanListener listener,
@@ -893,7 +893,7 @@ public class WifiConnectivityManagerTest {
when(mWifiStateMachine.getCurrentWifiConfiguration())
.thenReturn(new WifiConfiguration());
- when(mWifiConfigManager.fetchChannelSetForNetworkForPartialScan(anyInt(), anyInt(),
+ when(mWifiConfigManager.fetchChannelSetForNetworkForPartialScan(anyInt(), anyLong(),
anyInt())).thenReturn(channelList);
doAnswer(new AnswerWithArguments() {
@@ -932,7 +932,7 @@ public class WifiConnectivityManagerTest {
when(mWifiStateMachine.getCurrentWifiConfiguration())
.thenReturn(new WifiConfiguration());
- when(mWifiConfigManager.fetchChannelSetForNetworkForPartialScan(anyInt(), anyInt(),
+ when(mWifiConfigManager.fetchChannelSetForNetworkForPartialScan(anyInt(), anyLong(),
anyInt())).thenReturn(channelList);
doAnswer(new AnswerWithArguments() {