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

Commit aabe1b40 authored by Jack Yu's avatar Jack Yu
Browse files

Allow getSlicingConfig to be supported

Allow getSlicingConfig to be supported regardless of
the flag modemReducedFeatureSet1 is set or not.

Fix: 377882185
Test: atest VtsHalRadioV1_6TargetTest
Flag: EXEMPT test fix
Change-Id: I8970f0cd27fdb7f91c642b2b1edd2c09409b3382
parent 760b3343
Loading
Loading
Loading
Loading
+7 −12
Original line number Diff line number Diff line
@@ -239,19 +239,14 @@ TEST_P(RadioHidlTest_v1_6, getSlicingConfig) {
    EXPECT_EQ(std::cv_status::no_timeout, wait());
    EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp_v1_6->rspInfo.type);
    EXPECT_EQ(serial, radioRsp_v1_6->rspInfo.serial);
    if (getRadioHalCapabilities()) {
    ASSERT_TRUE(CheckAnyOfErrors(
            radioRsp_v1_6->rspInfo.error,
                {::android::hardware::radio::V1_6::RadioError::REQUEST_NOT_SUPPORTED}));
    } else {
        ASSERT_TRUE(
                CheckAnyOfErrors(radioRsp_v1_6->rspInfo.error,
            {::android::hardware::radio::V1_6::RadioError::NONE,
             ::android::hardware::radio::V1_6::RadioError::REQUEST_NOT_SUPPORTED,
             ::android::hardware::radio::V1_6::RadioError::RADIO_NOT_AVAILABLE,
             ::android::hardware::radio::V1_6::RadioError::INTERNAL_ERR,
             ::android::hardware::radio::V1_6::RadioError::MODEM_ERR}));
}
}

/*
 * Test IRadio_1_6.sendSms() for the response returned.