diff options
author | Randy Pan <zpan@google.com> | 2017-03-24 18:02:18 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-03-24 18:02:18 +0000 |
commit | 4935869481fa6f33fd99e522b8d8d6bed01cc2aa (patch) | |
tree | d6a56d6fbd79111d2b1b2c09d4a0cd0ed4a76cde /tests | |
parent | b8d9814a3706cf5c4daba829e9b5dd2430078c04 (diff) | |
parent | 45f344d61a164c14343f33af078e4dc2b60d670e (diff) |
Fix WifiConnectivityManagerTest am: 3697d5ed11 am: b51583f2ba
am: 45f344d61a
Change-Id: I2a076aceabe62bd16b7602676059919a4435b662
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/WifiConnectivityManagerTest.java | 8 |
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() { |