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

Commit f0f1bb5d 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:...

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

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3424700



Change-Id: I1c06aaa2e0f8c08efbfd55b0099d11a0c86433da
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents a857fe44 ec7e3379
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.