From fb98e4f0922afba135111d266c088dda8b22495d Mon Sep 17 00:00:00 2001 From: Shuo Qian Date: Tue, 31 Mar 2020 15:35:57 -0700 Subject: [PATCH] Starting from Android 11, VTS will use "DISABLE_" prefix to disable tests instead of the .xml file. We need to migrate these things. Test: Treehugger; GoogleTest knowledge; VTS team confirmation Bug: 152813990 Change-Id: I92616557ae44c2a421ee687d0420f7b7901ba5a9 Merged-In: I92616557ae44c2a421ee687d0420f7b7901ba5a9 (cherry picked from commit 872ffc262f71596abdfe0d1bdf32ac6195ca0e61) --- radio/1.0/vts/functional/radio_hidl_hal_icc.cpp | 4 +++- radio/1.0/vts/functional/radio_hidl_hal_misc.cpp | 8 ++++++-- radio/1.2/vts/functional/radio_hidl_hal_api.cpp | 8 ++++++-- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/radio/1.0/vts/functional/radio_hidl_hal_icc.cpp b/radio/1.0/vts/functional/radio_hidl_hal_icc.cpp index 60cb2fecda..9568524f4f 100644 --- a/radio/1.0/vts/functional/radio_hidl_hal_icc.cpp +++ b/radio/1.0/vts/functional/radio_hidl_hal_icc.cpp @@ -177,9 +177,11 @@ TEST_P(RadioHidlTest, changeIccPin2ForApp) { } /* + * The following test is disabled due to b/109889468 + * * Test IRadio.getImsiForApp() for the response returned. */ -TEST_P(RadioHidlTest, getImsiForApp) { +TEST_P(RadioHidlTest, DISABLED_getImsiForApp) { serial = GetRandomSerialNumber(); // Check success returned while getting imsi for 3GPP and 3GPP2 apps only diff --git a/radio/1.0/vts/functional/radio_hidl_hal_misc.cpp b/radio/1.0/vts/functional/radio_hidl_hal_misc.cpp index d04cb36f5c..0213cb725b 100644 --- a/radio/1.0/vts/functional/radio_hidl_hal_misc.cpp +++ b/radio/1.0/vts/functional/radio_hidl_hal_misc.cpp @@ -629,9 +629,11 @@ TEST_P(RadioHidlTest, getHardwareConfig) { } /* + * The following test is disabled due to b/64734869 + * * Test IRadio.requestShutdown() for the response returned. */ -TEST_P(RadioHidlTest, requestShutdown) { +TEST_P(RadioHidlTest, DISABLED_requestShutdown) { serial = GetRandomSerialNumber(); radio->requestShutdown(serial); @@ -756,9 +758,11 @@ TEST_P(RadioHidlTest, getModemActivityInfo) { } /* + * The following test is disabled due to b/79930549 + * * Test IRadio.setAllowedCarriers() for the response returned. */ -TEST_P(RadioHidlTest, setAllowedCarriers) { +TEST_P(RadioHidlTest, DISABLED_setAllowedCarriers) { serial = GetRandomSerialNumber(); CarrierRestrictions carriers; memset(&carriers, 0, sizeof(carriers)); diff --git a/radio/1.2/vts/functional/radio_hidl_hal_api.cpp b/radio/1.2/vts/functional/radio_hidl_hal_api.cpp index 7464307a98..c81a8d9795 100644 --- a/radio/1.2/vts/functional/radio_hidl_hal_api.cpp +++ b/radio/1.2/vts/functional/radio_hidl_hal_api.cpp @@ -299,9 +299,11 @@ TEST_P(RadioHidlTest_v1_2, startNetworkScan_InvalidPeriodicity2) { } /* + * The following test is disabled due to b/112206766 + * * Test IRadio.startNetworkScan() with valid periodicity */ -TEST_P(RadioHidlTest_v1_2, startNetworkScan_GoodRequest1) { +TEST_P(RadioHidlTest_v1_2, DISABLED_startNetworkScan_GoodRequest1) { serial = GetRandomSerialNumber(); ::android::hardware::radio::V1_2::NetworkScanRequest request = { @@ -333,9 +335,11 @@ TEST_P(RadioHidlTest_v1_2, startNetworkScan_GoodRequest1) { } /* + * The following test is disabled due to b/112206766 + * * Test IRadio.startNetworkScan() with valid periodicity and plmns */ -TEST_P(RadioHidlTest_v1_2, startNetworkScan_GoodRequest2) { +TEST_P(RadioHidlTest_v1_2, DISABLED_startNetworkScan_GoodRequest2) { serial = GetRandomSerialNumber(); ::android::hardware::radio::V1_2::NetworkScanRequest request = {