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

Commit d4f59473 authored by Yomna Nasser's avatar Yomna Nasser
Browse files

setNullCipherAndIntegrityEnabled VTS to return REQUEST_NOT_SUPPORTED

Mark setNullCipherAndIntegrityEnabled as optional-to-support.

Bug: b/237529943
Test: atest VtsHalRadioTargetTest
Change-Id: Iff04c12958fe7ad2a07614129a5af339b02192e0
parent 9d714e64
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -633,6 +633,7 @@ oneway interface IRadioNetworkResponse {
     *   RadioError:NONE
     *   RadioError:RADIO_NOT_AVAILABLE
     *   RadioError:MODEM_ERR
     *   RadioError:REQUEST_NOT_SUPPORTED
     */
    void isNullCipherAndIntegrityEnabledResponse(in RadioResponseInfo info, in boolean isEnabled);

+3 −3
Original line number Diff line number Diff line
@@ -1974,9 +1974,9 @@ TEST_P(RadioNetworkTest, setNullCipherAndIntegrityEnabled) {
    EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp_network->rspInfo.type);
    EXPECT_EQ(serial, radioRsp_network->rspInfo.serial);

    ASSERT_TRUE(CheckAnyOfErrors(
            radioRsp_network->rspInfo.error,
            {RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE, RadioError::MODEM_ERR}));
    ASSERT_TRUE(CheckAnyOfErrors(radioRsp_network->rspInfo.error,
                                 {RadioError::NONE, RadioError::REQUEST_NOT_SUPPORTED,
                                  RadioError::RADIO_NOT_AVAILABLE, RadioError::MODEM_ERR}));
    LOG(DEBUG) << "setNullCipherAndIntegrityEnabled finished";
}