Merge "Accept NONE as a response for setDataThrottling during VTS." am: 83398c025f
am: bfeb55a6f4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839433 Change-Id: Ifcbce13cfff2749d2389bf57ae9c8b50b95f9b57
This commit is contained in:
commit
fe628882bc
1 changed files with 8 additions and 4 deletions
|
@ -515,7 +515,8 @@ TEST_P(RadioHidlTest_v1_6, setDataThrottling) {
|
|||
if (getRadioHalCapabilities()) {
|
||||
ASSERT_TRUE(CheckAnyOfErrors(
|
||||
radioRsp_v1_6->rspInfo.error,
|
||||
{::android::hardware::radio::V1_6::RadioError::REQUEST_NOT_SUPPORTED}));
|
||||
{::android::hardware::radio::V1_6::RadioError::REQUEST_NOT_SUPPORTED,
|
||||
::android::hardware::radio::V1_6::RadioError::NONE}));
|
||||
} else {
|
||||
ASSERT_TRUE(CheckAnyOfErrors(
|
||||
radioRsp_v1_6->rspInfo.error,
|
||||
|
@ -537,7 +538,8 @@ TEST_P(RadioHidlTest_v1_6, setDataThrottling) {
|
|||
if (getRadioHalCapabilities()) {
|
||||
ASSERT_TRUE(CheckAnyOfErrors(
|
||||
radioRsp_v1_6->rspInfo.error,
|
||||
{::android::hardware::radio::V1_6::RadioError::REQUEST_NOT_SUPPORTED}));
|
||||
{::android::hardware::radio::V1_6::RadioError::REQUEST_NOT_SUPPORTED,
|
||||
::android::hardware::radio::V1_6::RadioError::NONE}));
|
||||
} else {
|
||||
ASSERT_TRUE(CheckAnyOfErrors(
|
||||
radioRsp_v1_6->rspInfo.error,
|
||||
|
@ -559,7 +561,8 @@ TEST_P(RadioHidlTest_v1_6, setDataThrottling) {
|
|||
if (getRadioHalCapabilities()) {
|
||||
ASSERT_TRUE(CheckAnyOfErrors(
|
||||
radioRsp_v1_6->rspInfo.error,
|
||||
{::android::hardware::radio::V1_6::RadioError::REQUEST_NOT_SUPPORTED}));
|
||||
{::android::hardware::radio::V1_6::RadioError::REQUEST_NOT_SUPPORTED,
|
||||
::android::hardware::radio::V1_6::RadioError::NONE}));
|
||||
} else {
|
||||
ASSERT_TRUE(CheckAnyOfErrors(
|
||||
radioRsp_v1_6->rspInfo.error,
|
||||
|
@ -580,7 +583,8 @@ TEST_P(RadioHidlTest_v1_6, setDataThrottling) {
|
|||
if (getRadioHalCapabilities()) {
|
||||
ASSERT_TRUE(CheckAnyOfErrors(
|
||||
radioRsp_v1_6->rspInfo.error,
|
||||
{::android::hardware::radio::V1_6::RadioError::REQUEST_NOT_SUPPORTED}));
|
||||
{::android::hardware::radio::V1_6::RadioError::REQUEST_NOT_SUPPORTED,
|
||||
::android::hardware::radio::V1_6::RadioError::NONE}));
|
||||
} else {
|
||||
ASSERT_TRUE(CheckAnyOfErrors(
|
||||
radioRsp_v1_6->rspInfo.error,
|
||||
|
|
Loading…
Reference in a new issue