mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 10:44:41 +00:00
Update Vts for getSlicingConfig
Currently getSlicingConfigAPI always returns NOT_SUPPORTED. But GetSlicingConfig is supported in Android U. and VTS will fail. This change updates the expected errorcodes for getSlicingConfig API. Tests: Builds, Boots, RadioDataTest Bug: 228996685 Change-Id: I10cf7b0b9ba09e56605d5a498ec48c4b8972f00b
This commit is contained in:
@@ -233,14 +233,10 @@ TEST_P(RadioDataTest, getSlicingConfig) {
|
||||
EXPECT_EQ(std::cv_status::no_timeout, wait());
|
||||
EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp_data->rspInfo.type);
|
||||
EXPECT_EQ(serial, radioRsp_data->rspInfo.serial);
|
||||
if (getRadioHalCapabilities()) {
|
||||
ASSERT_TRUE(CheckAnyOfErrors(radioRsp_data->rspInfo.error,
|
||||
{RadioError::REQUEST_NOT_SUPPORTED}));
|
||||
} else {
|
||||
ASSERT_TRUE(CheckAnyOfErrors(radioRsp_data->rspInfo.error,
|
||||
{RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE,
|
||||
RadioError::INTERNAL_ERR, RadioError::MODEM_ERR}));
|
||||
}
|
||||
ASSERT_TRUE(CheckAnyOfErrors(radioRsp_data->rspInfo.error,
|
||||
{RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE,
|
||||
RadioError::INTERNAL_ERR, RadioError::MODEM_ERR,
|
||||
RadioError::REQUEST_NOT_SUPPORTED}));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user