From bc5f18aae1118c5197774c751019e73ad80c38ff Mon Sep 17 00:00:00 2001 From: Youming Ye Date: Thu, 11 Jul 2019 14:05:13 -0700 Subject: [PATCH] Disable startNetworkScan tests with parameters. Network scan tests with parameters are disabled because of vendors failed to fully implement startNetworkScan in HAL 1.4, and GSM rat scan with parameters will get REQUEST_NOT_SUPPORTED error from modem. Test: VTS Bug: 137298570 Change-Id: I99df8495c5f654cb1420b7da36d7f5128ce14dbc --- radio/1.4/vts/functional/radio_hidl_hal_api.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/radio/1.4/vts/functional/radio_hidl_hal_api.cpp b/radio/1.4/vts/functional/radio_hidl_hal_api.cpp index 696c746d65..a05f0a712f 100644 --- a/radio/1.4/vts/functional/radio_hidl_hal_api.cpp +++ b/radio/1.4/vts/functional/radio_hidl_hal_api.cpp @@ -151,6 +151,11 @@ TEST_F(RadioHidlTest_v1_4, setPreferredNetworkTypeBitmap) { /* * Test IRadio.startNetworkScan() for the response returned. + * + * REQUEST_NOT_SUPPORTED is temporarily returned because of vendors failed to fully implement + * startNetworkScan in HAL @1.4 (see b/137298570 and b/135595082). Starting from @1.5, however, + * REQUEST_NOT_SUPPORTED will be disallowed for all tests. Modems have "GSM" rat scan need to + * support scanning requests combined with some parameters. */ TEST_F(RadioHidlTest_v1_4, startNetworkScan) { serial = GetRandomSerialNumber();