summaryrefslogtreecommitdiffstats
path: root/radio
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-03-17 19:45:52 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-03-17 19:45:52 +0000
commit6e568e84f8f5e0579b6aabd449343ee56bb8dd9d (patch)
treeb0a0eab54ebc2fffdcc7f5093e4fd6d664a1adfd /radio
parent8db59c363b1cf052a040746689e231be9a33efca (diff)
parent96f01bb75d34badbda6109ddd7c9c5bb880760f0 (diff)
downloadplatform_hardware_interfaces-6e568e84f8f5e0579b6aabd449343ee56bb8dd9d.tar.gz
platform_hardware_interfaces-6e568e84f8f5e0579b6aabd449343ee56bb8dd9d.tar.bz2
platform_hardware_interfaces-6e568e84f8f5e0579b6aabd449343ee56bb8dd9d.zip
Merge "Remove setSystemSelectionChannels vts test."
Diffstat (limited to 'radio')
-rw-r--r--radio/1.3/vts/functional/radio_hidl_hal_api.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/radio/1.3/vts/functional/radio_hidl_hal_api.cpp b/radio/1.3/vts/functional/radio_hidl_hal_api.cpp
index 4e4814103d..ca64305bfe 100644
--- a/radio/1.3/vts/functional/radio_hidl_hal_api.cpp
+++ b/radio/1.3/vts/functional/radio_hidl_hal_api.cpp
@@ -75,38 +75,3 @@ TEST_P(RadioHidlTest_v1_3, getModemStackStatus) {
radioRsp_v1_3->rspInfo.error,
{RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE, RadioError::MODEM_ERR}));
}
-
-/*
- * Test IRadio.setSystemSelectionChannels() for the response returned.
- *
- * This test is excluded from manifest, due to non-implementation in Q. Tracked by b/130254624.
- */
-TEST_P(RadioHidlTest_v1_3, setSystemSelectionChannels) {
- serial = GetRandomSerialNumber();
-
- RadioAccessSpecifier specifier = {.radioAccessNetwork = RadioAccessNetworks::GERAN,
- .geranBands = {GeranBands::BAND_450, GeranBands::BAND_480},
- .channels = {1, 2}};
-
- Return<void> res = radio_v1_3->setSystemSelectionChannels(serial, true, {specifier});
- ASSERT_OK(res);
- EXPECT_EQ(std::cv_status::no_timeout, wait());
- EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp_v1_3->rspInfo.type);
- EXPECT_EQ(serial, radioRsp_v1_3->rspInfo.serial);
- ALOGI("setSystemSelectionChannels, rspInfo.error = %s\n",
- toString(radioRsp_v1_3->rspInfo.error).c_str());
- ASSERT_TRUE(CheckAnyOfErrors(
- radioRsp_v1_3->rspInfo.error,
- {RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE, RadioError::INTERNAL_ERR}));
-
- if (radioRsp_v1_3->rspInfo.error == RadioError::NONE) {
- Return<void> res = radio_v1_3->setSystemSelectionChannels(serial, false, {specifier});
- ASSERT_OK(res);
- EXPECT_EQ(std::cv_status::no_timeout, wait());
- EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp_v1_3->rspInfo.type);
- EXPECT_EQ(serial, radioRsp_v1_3->rspInfo.serial);
- ALOGI("setSystemSelectionChannels, rspInfo.error = %s\n",
- toString(radioRsp_v1_3->rspInfo.error).c_str());
- EXPECT_EQ(RadioError::NONE, radioRsp_v1_3->rspInfo.error);
- }
-} \ No newline at end of file