Merge "Verify there are no more current calls" into qt-dev am: 1f12b5323a
am: 4f1b208f66
Change-Id: I914697c17f4d3336f96716ef197e54ba9f502b9a
diff --git a/radio/1.4/vts/functional/radio_hidl_hal_test.cpp b/radio/1.4/vts/functional/radio_hidl_hal_test.cpp
index 63e5f6e..f27749b 100644
--- a/radio/1.4/vts/functional/radio_hidl_hal_test.cpp
+++ b/radio/1.4/vts/functional/radio_hidl_hal_test.cpp
@@ -102,6 +102,12 @@
// Give some time for modem to disconnect the established call channel.
sleep(MODEM_EMERGENCY_CALL_DISCONNECT_TIME);
}
+
+ // Verify there are no more current calls.
+ serial = GetRandomSerialNumber();
+ radio_v1_4->getCurrentCalls(serial);
+ EXPECT_EQ(std::cv_status::no_timeout, wait());
+ EXPECT_EQ(0, radioRsp_v1_4->currentCalls.size());
}
void RadioHidlTest_v1_4::updateSimCardStatus() {