mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 05:56:34 +00:00
Allow general errors for getImsiForApp().
This is to match it with other 1.0 tests where general errors are
allowed. For newer tests we have decided to not allow these errors,
but a failure for this old test is reported when run with SIM
present.
Test: run vts -m VtsHalRadioV1_0Target
Bug: 109889468
Change-Id: If36083b7832706a50805932e8ba08e4eb397f3fe
Merged-In: If36083b7832706a50805932e8ba08e4eb397f3fe
(cherry picked from commit 817848e59e)
This commit is contained in:
committed by
Hsin-Yi Chen
parent
3c233d344c
commit
1f3d0a68a4
@@ -192,7 +192,8 @@ TEST_F(RadioHidlTest, getImsiForApp) {
|
||||
EXPECT_EQ(std::cv_status::no_timeout, wait());
|
||||
EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp->rspInfo.type);
|
||||
EXPECT_EQ(serial, radioRsp->rspInfo.serial);
|
||||
EXPECT_EQ(RadioError::NONE, radioRsp->rspInfo.error);
|
||||
ASSERT_TRUE(
|
||||
CheckAnyOfErrors(radioRsp->rspInfo.error, {RadioError::NONE}, CHECK_GENERAL_ERROR));
|
||||
|
||||
// IMSI (MCC+MNC+MSIN) is at least 6 digits, but not more than 15
|
||||
if (radioRsp->rspInfo.error == RadioError::NONE) {
|
||||
|
||||
Reference in New Issue
Block a user