diff --git a/radio/1.0/vts/functional/radio_hidl_hal_data.cpp b/radio/1.0/vts/functional/radio_hidl_hal_data.cpp index d10a973829..1f2a50e46b 100644 --- a/radio/1.0/vts/functional/radio_hidl_hal_data.cpp +++ b/radio/1.0/vts/functional/radio_hidl_hal_data.cpp @@ -104,8 +104,8 @@ TEST_F(RadioHidlTest, deactivateDataCall) { if (cardStatus.cardState == CardState::ABSENT) { ASSERT_TRUE(radioRsp->rspInfo.error == RadioError::NONE || radioRsp->rspInfo.error == RadioError::INVALID_CALL_ID || - radioRsp->rspInfo.error == RadioError::SIM_ABSENT || - CheckOEMError()); + radioRsp->rspInfo.error == RadioError::SIM_ABSENT || CheckOEMError() || + radioRsp->rspInfo.error == RadioError::RADIO_NOT_AVAILABLE); } } @@ -230,8 +230,8 @@ TEST_F(RadioHidlTest, setDataProfile) { if (cardStatus.cardState == CardState::ABSENT) { ASSERT_TRUE(radioRsp->rspInfo.error == RadioError::NONE || - radioRsp->rspInfo.error == - RadioError::RADIO_NOT_AVAILABLE || - radioRsp->rspInfo.error == RadioError::SIM_ABSENT); + radioRsp->rspInfo.error == RadioError::RADIO_NOT_AVAILABLE || + radioRsp->rspInfo.error == RadioError::SIM_ABSENT || + radioRsp->rspInfo.error == RadioError::REQUEST_NOT_SUPPORTED); } } diff --git a/radio/1.0/vts/functional/radio_hidl_hal_misc.cpp b/radio/1.0/vts/functional/radio_hidl_hal_misc.cpp index 518f155e6c..2b1f481955 100644 --- a/radio/1.0/vts/functional/radio_hidl_hal_misc.cpp +++ b/radio/1.0/vts/functional/radio_hidl_hal_misc.cpp @@ -763,8 +763,7 @@ TEST_F(RadioHidlTest, setAllowedCarriers) { if (cardStatus.cardState == CardState::ABSENT) { ASSERT_TRUE(radioRsp->rspInfo.error == RadioError::NONE || - radioRsp->rspInfo.error == - RadioError::REQUEST_NOT_SUPPORTED); + radioRsp->rspInfo.error == RadioError::REQUEST_NOT_SUPPORTED); } /* Reset back to no carrier restriction */ @@ -779,8 +778,7 @@ TEST_F(RadioHidlTest, setAllowedCarriers) { if (cardStatus.cardState == CardState::ABSENT) { ASSERT_TRUE(radioRsp->rspInfo.error == RadioError::NONE || - radioRsp->rspInfo.error == - RadioError::REQUEST_NOT_SUPPORTED); + radioRsp->rspInfo.error == RadioError::REQUEST_NOT_SUPPORTED); } }