summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2018-05-18 11:04:14 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-05-18 11:04:14 -0700
commitfb6e7e48df4289df4e8bd43572e7373281c55bfd (patch)
treeb63b8848e41e18bb3de251718900120b24c2e6f9 /tests
parent1a4a034029b6410811895f8c28c7969531e99429 (diff)
parentd2f7e21b463cd7577bfb8f273ac7efcae3c1e955 (diff)
Merge "WifiVendorHal: Make HAL state change callback synchronous" into pi-dev am: e93744bec9
am: d2f7e21b46 Change-Id: Id21084f0fb0ebe474ae66aeb29fba2463edfcd4b
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java b/tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java
index f7a3c4be6..0f8f56f66 100644
--- a/tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java
@@ -87,7 +87,6 @@ import android.net.wifi.WifiManager;
import android.net.wifi.WifiScanner;
import android.net.wifi.WifiSsid;
import android.net.wifi.WifiWakeReasonAndCounts;
-import android.os.Handler;
import android.os.Looper;
import android.os.RemoteException;
import android.os.test.TestLooper;
@@ -300,8 +299,7 @@ public class WifiVendorHalTest {
mWifiVendorHal.initialize(mVendorHalDeathHandler);
ArgumentCaptor<WifiVendorHal.HalDeviceManagerStatusListener> hdmCallbackCaptor =
ArgumentCaptor.forClass(WifiVendorHal.HalDeviceManagerStatusListener.class);
- verify(mHalDeviceManager).registerStatusListener(hdmCallbackCaptor.capture(),
- any(Handler.class));
+ verify(mHalDeviceManager).registerStatusListener(hdmCallbackCaptor.capture(), eq(null));
mHalDeviceManagerStatusCallbacks = hdmCallbackCaptor.getValue();
}