diff options
author | Aaron Tsai <tsaiaaron@google.com> | 2021-08-04 11:28:53 +0800 |
---|---|---|
committer | Aaron Tsai <tsaiaaron@google.com> | 2021-09-23 04:12:54 +0000 |
commit | 121ff3c5efa285faed550a6883b0b9ca84136ff0 (patch) | |
tree | e8a718a9e473c86d9ef95ae779dd2086a1647159 | |
parent | 6b94d29f512ca355437d1f1281a740f4dcbeea2c (diff) |
Sending SMS via 1.6 APIs in VTS 1.6
Bug: 195097899
Test: atest VtsHalRadioV1_6TargetTest -- --test-arg com.android.tradefed.testtype.GTest:native-test-flag:"--gtest_filter=*send*/0_slot1"
Ignore-AOSP-First: cherry-pick from AOSP
Change-Id: I19ead8a4e1ab2f1e4ddb3f55edacd4b51990f9cd
Merged-In: I19ead8a4e1ab2f1e4ddb3f55edacd4b51990f9cd
-rw-r--r-- | radio/1.6/vts/functional/radio_hidl_hal_api.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/radio/1.6/vts/functional/radio_hidl_hal_api.cpp b/radio/1.6/vts/functional/radio_hidl_hal_api.cpp index f73de32255..f8f5cffd73 100644 --- a/radio/1.6/vts/functional/radio_hidl_hal_api.cpp +++ b/radio/1.6/vts/functional/radio_hidl_hal_api.cpp @@ -275,7 +275,7 @@ TEST_P(RadioHidlTest_v1_6, sendSms_1_6) { msg.smscPdu = ""; msg.pdu = "01000b916105770203f3000006d4f29c3e9b01"; - radio_v1_6->sendSms(serial, msg); + radio_v1_6->sendSms_1_6(serial, msg); EXPECT_EQ(std::cv_status::no_timeout, wait()); EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp_v1_6->rspInfo.type); @@ -303,7 +303,7 @@ TEST_P(RadioHidlTest_v1_6, sendSmsExpectMore_1_6) { msg.smscPdu = ""; msg.pdu = "01000b916105770203f3000006d4f29c3e9b01"; - radio_v1_6->sendSMSExpectMore(serial, msg); + radio_v1_6->sendSmsExpectMore_1_6(serial, msg); EXPECT_EQ(std::cv_status::no_timeout, wait()); EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp_v1_6->rspInfo.type); @@ -351,7 +351,7 @@ TEST_P(RadioHidlTest_v1_6, sendCdmaSms_1_6) { cdmaSmsMessage.bearerData = (std::vector<uint8_t>){15, 0, 3, 32, 3, 16, 1, 8, 16, 53, 76, 68, 6, 51, 106, 0}; - radio_v1_6->sendCdmaSms(serial, cdmaSmsMessage); + radio_v1_6->sendCdmaSms_1_6(serial, cdmaSmsMessage); EXPECT_EQ(std::cv_status::no_timeout, wait()); EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp_v1_6->rspInfo.type); @@ -398,7 +398,7 @@ TEST_P(RadioHidlTest_v1_6, sendCdmaSmsExpectMore_1_6) { cdmaSmsMessage.bearerData = (std::vector<uint8_t>){15, 0, 3, 32, 3, 16, 1, 8, 16, 53, 76, 68, 6, 51, 106, 0}; - radio_v1_6->sendCdmaSmsExpectMore(serial, cdmaSmsMessage); + radio_v1_6->sendCdmaSmsExpectMore_1_6(serial, cdmaSmsMessage); EXPECT_EQ(std::cv_status::no_timeout, wait()); EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp_v1_6->rspInfo.type); |