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

Commit ec7e3379 authored by Jack Yu's avatar Jack Yu Committed by Automerger Merge Worker
Browse files

Merge "Allow getSlicingConfig to be supported" into android15-tests-dev am: ae299194

parents 76ed904c ae299194
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.