Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 268ddbf5 authored by yan.cao's avatar yan.cao
Browse files

Fix the failed case for the

VtsHalRadioV1_5TargetTest.PerInstance/RadioHidlTest_v1_5#
sendCdmaSmsExpectMore/0_slot1

Sendcdmasexpectmoreresponse to the request sendcdmasexpectmore
did not accept the return parameter responseinfo, which caused
the VTS system to wait for a response until it exceeded 60 seconds,
and the VTS determined No test results.
so we can add parameters to receive the parameters of
sendcdmasexpectmoreresponse,and then make subsequent judgment.

Bug: 158542706
Test: run vts -m VtsHalRadioV1_5TargetTest
Change-Id: I1d6214f58850d707520b80634cb93d0e0cc712bb
parent 75bea4b6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1017,8 +1017,10 @@ Return<void> RadioResponse_v1_5::setNetworkSelectionModeManualResponse_1_5(
    return Void();
}

Return<void> RadioResponse_v1_5::sendCdmaSmsExpectMoreResponse(const RadioResponseInfo& /*info*/,
Return<void> RadioResponse_v1_5::sendCdmaSmsExpectMoreResponse(const RadioResponseInfo& info,
                                                               const SendSmsResult& /*sms*/) {
    rspInfo = info;
    parent_v1_5.notify(info.serial);
    return Void();
}