Verify there are no more current calls
After disconnect calls, we want to verify there are no more current calls
by calling IRadio.getCurrenctCalls
Test: run vts
Bug: 138413412
Change-Id: Iacca49abff11fbdfb4ae6dd060a5f150e9e4a74d
Merged-In: Iacca49abff11fbdfb4ae6dd060a5f150e9e4a74d
(cherry picked from commit 5f68117e87
)
This commit is contained in:
parent
3835f61986
commit
c8a08c1816
1 changed files with 6 additions and 0 deletions
|
@ -95,6 +95,12 @@ void RadioHidlTest_v1_4::clearPotentialEstablishedCalls() {
|
|||
// 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() {
|
||||
|
|
Loading…
Reference in a new issue