summaryrefslogtreecommitdiffstats
path: root/radio/1.2
Commit message (Collapse)AuthorAgeFilesLines
* Rename vts-core to vtsDan Shi2020-04-071-1/+1
| | | | | | | | | | Bug: 151896491 Test: local build Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as the suite name is updated. This CL won't change test logic or behavior. Change-Id: I562b4dc50765e953800a814a8fd84a01c1b9352b Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
* Starting from Android 11, VTS will use "DISABLE_" prefix to disable tests ↵Shuo Qian2020-04-011-2/+6
| | | | | | | | instead of the .xml file. We need to migrate these things. Test: Treehugger; GoogleTest knowledge; VTS team confirmation Bug: 152813990 Change-Id: I92616557ae44c2a421ee687d0420f7b7901ba5a9
* Convert VtsHalRadioV1_*TargetTest to be parameterized testDan Shi2019-11-226-68/+75
| | | | | | | | | | | | | Bug: 142397658 Bug: 142972256 Test: atest VtsHalRadioV1_0TargetTest \ VtsHalSapV1_0TargetTest \ VtsHalRadioV1_1TargetTest \ VtsHalRadioV1_2TargetTest \ VtsHalRadioV1_3TargetTest \ VtsHalRadioV1_4TargetTest Change-Id: I1890f7a6b1401260e87c94c2bc4e1dfa7060a0cb
* Merge "Fix RadioHidlTest_v1_2.startNetworkScan maxSearchTime"Nathan Harold2019-10-091-1/+4
|\ | | | | | | | | | | am: 3c8f624724 Change-Id: If856c76531d329e7beac3d0b4902ecf46a7c8b6d
| * Merge "Fix RadioHidlTest_v1_2.startNetworkScan maxSearchTime"Nathan Harold2019-10-101-1/+4
| |\
| | * Fix RadioHidlTest_v1_2.startNetworkScan maxSearchTimejun.wang2019-10-091-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the initialization of the incrementalResultsPeriodicity and maxSearchTime in the networkScan request. The incrementalResultsPeriodicity and maxSearchTime are not initialized in the networkScan request. So the default value is 0. But the incrementalResultsPeriodicity and maxSearchTime are required not to be 0 in subsequent tests. CL ported from pag/1433565 Bug:140451434 Test: make vts && vts-tradefed run commandAndExit vts -m \ VtsHalRadioV1_2Target -t RadioHidlTest_v1_2#startNetworkScan Change-Id: I1b4e512a37d3d85ebc905a64987a40af801bce53 (cherry picked from commit f7894eb4d8c395add7c70a20520336057ae2656f)
* | | Merge "Clarify the start and end of scan intervals"Nathan Harold2019-10-011-1/+2
|\| | | | | | | | | | | | | | | | | am: 111a10c44e Change-Id: If37e587d604003ea2422938dfc994d2109ae359e
| * | Clarify the start and end of scan intervalsNathan Harold2019-09-301-1/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the documentation of NetworkScanRequest to clarify that the interval between scans is from the completion of one scan to the start of another. This is the only possible definition that doesn't possibly result in back-to-back scans which never complete. In the initial design of this API, the stated use case was for scans where "interval" >> "scan duration". For that use case, this clarification doesn't make a meaningful difference; however, for the use case of long-duration scans, the distinction prevents the issue stated above. Bug: 139935383 Test: compilation (docstring-only change) Change-Id: Ib8393110bfd3ea883045648ee7dac9c6e6a32d44
* | Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-masterXin Li2019-09-081-20/+1
|\ \ | |/ |/| | | | | | | Bug: 135460123 Change-Id: Ia07db5c8afeed7fe22a2b18d867a38390f910a81 Merged-In: Ibbd540dbb5baee46360d3fe9469212cfd8f550ba
| * Merge "Add non-dds check for startNetworkScan" into qt-dev am: 53861e16c3Youming Ye2019-07-225-1/+194
| |\ | | | | | | | | | | | | | | | am: 0639b1cc0d Change-Id: If9ba81a2802a5539529c348b99b53d2f7876cc99
| | * Merge "Add non-dds check for startNetworkScan" into qt-devYouming Ye2019-07-235-1/+194
| | |\
| | | * Add non-dds check for startNetworkScanYouming Ye2019-07-195-1/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Providing non-dds exemption for HAL 1.2 network scan due to some devices only perform network scan on preferred data sim. Since logical modem id(0/1) and physical sim slot id(0/1) are intuitively aligned. Set first sim as dds sim, and skip the network scan on the second one (non-dds). Test: Vts Bug: 135243177 Change-Id: I58b89473714dc6d3ce6567ba1809baad6cd6d799
| | * | VTS: Change stopNetworkScan from 1_1 to 1_2Willy Hu2019-07-111-20/+1
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change stopNetworkScan from 1_1 to 1_2 when testing VtsHalRadioV1_2Target. Symptom: When vts process slot2 "startnetworkscan", it will call "stopnetworkscan()" when startnetworkscan success. But from current design it will set stopnetworkscan to slot1(wrong slot, expect is slot2) as bwlow log. CTS fail log: hardware/interfaces/radio/1.2/vts/functional/radio_hidl_hal_test.cpp:111 //Device request NwScan on 2nd Sim 06-28 11:30:22.770 radio 873 1213 F RILQ : RIL[1][Log.cpp: 48] [DispatcherModul(873,1213)] d: [DispatcherModule]: Handling msg = RIL_REQUEST_START_NETWORK_SCAN //But Device want to abort on Primary Sim 06-28 11:30:22.776 radio 923 1205 F RILQ : RIL[0][Log.cpp: 48] [DispatcherModul(923,1205)] d: [NasModule]: Handling msg = RIL_REQUEST_STOP_NETWORK_SCAN[Context: IRadio(1681692777)] Bug: 135982495 Test: Build pass. Local test VTS pass. Change-Id: Ic53c24ab2a670e806b4ac7f192e6eb81252ade84 (cherry picked from commit 5cef297cb2ed70bcf70abf911dc4bd14c343cbc6)
| * | Merge "Add interface info to .rc files" am: 98d0f4d52c am: 37298a7616Felix2019-07-082-0/+12
| |\ \ | | | | | | | | | | | | | | | | | | | | am: 3531ec0183 Change-Id: I9a48f01064e6b64fdbd3dcae3623163a27998703
| * \ \ Merge "VTS: Change stopNetworkScan from 1_1 to 1_2" into qt-r1-devWilly Hu2019-07-041-20/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | am: 1b1c6e42c9 Change-Id: I81d68cbcbe396ef50e224fc691acc568b0247670
| | * | | VTS: Change stopNetworkScan from 1_1 to 1_2Willy Hu2019-07-031-20/+1
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change stopNetworkScan from 1_1 to 1_2 when testing VtsHalRadioV1_2Target. Symptom: When vts process slot2 "startnetworkscan", it will call "stopnetworkscan()" when startnetworkscan success. But from current design it will set stopnetworkscan to slot1(wrong slot, expect is slot2) as bwlow log. CTS fail log: hardware/interfaces/radio/1.2/vts/functional/radio_hidl_hal_test.cpp:111 //Device request NwScan on 2nd Sim 06-28 11:30:22.770 radio 873 1213 F RILQ : RIL[1][Log.cpp: 48] [DispatcherModul(873,1213)] d: [DispatcherModule]: Handling msg = RIL_REQUEST_START_NETWORK_SCAN //But Device want to abort on Primary Sim 06-28 11:30:22.776 radio 923 1205 F RILQ : RIL[0][Log.cpp: 48] [DispatcherModul(923,1205)] d: [NasModule]: Handling msg = RIL_REQUEST_STOP_NETWORK_SCAN[Context: IRadio(1681692777)] Bug: 135982495 Test: Build pass. Local test VTS pass. Change-Id: Ic53c24ab2a670e806b4ac7f192e6eb81252ade84
* | | | Remove libhwbinder/libhidltransport depsSteven Moreland2019-09-061-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since these were combined into libhidlbase. Bug: 135686713 Test: build only (libhwbinder/libhidltransport are empty) Change-Id: I075670b64eebbbbd6a6ae0e84ad51bf1c6f5ba36
* | | | DO NOT MERGE - Merge build QP1A.190711.019 into stage-aosp-masterXin Li2019-08-235-1/+194
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | Bug: 139893257 Change-Id: I7e48b5477b2edda72c940e05531782dd28a2f784
| * | | Add non-dds check for startNetworkScanYouming Ye2019-08-015-1/+194
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Providing non-dds exemption for HAL 1.2 network scan due to some devices only perform network scan on preferred data sim. Since logical modem id(0/1) and physical sim slot id(0/1) are intuitively aligned. Set first sim as dds sim, and skip the network scan on the second one (non-dds). Test: Vts Bug: 135243177 Change-Id: I58b89473714dc6d3ce6567ba1809baad6cd6d799 (cherry picked from commit fc85e8fa50ccae2cd0e538260ccb9e62c109b181)
* | | Merge "Add interface info to .rc files"Felix2019-07-082-0/+12
|\ \ \ | |_|/ |/| | | | | | | | | | | am: 98d0f4d52c Change-Id: Ie6cfbacd523c4b09f77bee3369ec8e88b3fa0419
| * | Add interface info to .rc filesFelix2019-06-252-0/+12
| | | | | | | | | | | | | | | Signed-off-by: Felix <google@ix5.org> Change-Id: I6d70bbdb66c3dce280bf6908c3750316a6f6cf70
| * | Enable incremental scans for interval checksNathan Harold2019-05-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently tests that check for incremental scan interval range-checking have incremental scans disabled. This CL turns on incremental scans for tests where the invalid interval range checks are being validated. Bug: 112486807 Test: atest RadioHidlTest_v1_2#startNetworkScan_InvalidPeriodicity1; atest RadioHidlTest_v1_2#startNetworkScan_InvalidPeriodicity2; Merged-In: I94874f538d2df70a72913b489d9298f8d1cf9b56 Change-Id: I94874f538d2df70a72913b489d9298f8d1cf9b56 (cherry picked from commit f56b9a41dd68e0d3cc7d2a506b26ce7d0fac2a12)
| * | Allow impls to ignore incremental scan intervalNathan Harold2019-05-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When incremental results are disabled for network scans, update the API documentation to allow implementations to ignore range checking for the incremental scan interval. Bug: 112486807 Test: compilation - docstring-only change Merged-In: I901335550b4b8c2cf75f91b39fd031f03ffae982 Change-Id: I901335550b4b8c2cf75f91b39fd031f03ffae982 (cherry picked from commit 944efca78d9717e1b17109b28c0da26a4cd9f790)
| * | Merge "Add mnc and mcc string check"Youming Ye2019-05-161-4/+10
| |\ \
| | * | Add mnc and mcc string checkYouming Ye2019-05-151-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the same resolution as 1.0 to check for invalid mnc and mcc values. Bug: 130206359 Test: Vts Change-Id: Iff766014ecfbe2d77db6771eda04fd4d9c84df14
* | | | Merge "VTS: stop network scan once trigger network scan success" into qt-devterrycrhuang2019-06-193-2/+35
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | am: 6a660a6d7b Change-Id: I20ea717cdfdefb3ec67a1c8cae80b57ea9937217
| * | | VTS: stop network scan once trigger network scan successterrycrhuang2019-06-193-2/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some vendors do not supports independent radios, if there is one manual search ongoing, another manual search on other SIM is not supported. So sending stop network scan request once trigger network scan completed to exclude this modem limitation. Bug: 135005200 Test: atest RadioHidlTest_v1_2#startNetworkScan Change-Id: Iacfd59ac2ad4d44e763ee03697c1f8f57162ce38
* | | | Merge changes I94874f53,I90133555 into qt-devNathan Harold2019-05-222-3/+4
|\| | | | | | | | | | | | | | | | | | | | | | | am: 1d957da30b Change-Id: I64ca48b5863d454d9f623845344b081b32050b2f
| * | | Enable incremental scans for interval checksNathan Harold2019-05-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently tests that check for incremental scan interval range-checking have incremental scans disabled. This CL turns on incremental scans for tests where the invalid interval range checks are being validated. Bug: 112486807 Test: atest RadioHidlTest_v1_2#startNetworkScan_InvalidPeriodicity1; atest RadioHidlTest_v1_2#startNetworkScan_InvalidPeriodicity2; Change-Id: I94874f538d2df70a72913b489d9298f8d1cf9b56
| * | | Allow impls to ignore incremental scan intervalNathan Harold2019-05-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When incremental results are disabled for network scans, update the API documentation to allow implementations to ignore range checking for the incremental scan interval. Bug: 112486807 Test: compilation - docstring-only change Change-Id: I901335550b4b8c2cf75f91b39fd031f03ffae982
* | | | Merge "Add mnc and mcc string check" into qt-devYouming Ye2019-05-151-4/+10
|\| | | | |/ / |/| | | | | | | | | | | am: 82dc3faca0 Change-Id: Ia26b3e5e6ba7331b906bb8bbe6a56c03fd693a02
| * | Merge "Add mnc and mcc string check" into qt-devTreeHugger Robot2019-05-161-4/+10
| |\ \
| | * | Add mnc and mcc string checkYouming Ye2019-05-151-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the same resolution as 1.0 to check for invalid mnc and mcc values. Bug: 130206359 Test: Vts Change-Id: Iff766014ecfbe2d77db6771eda04fd4d9c84df14
| * | | Use Widely Supported GSM Channels for NetworkScanNathan Harold2019-05-131-99/+65
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the network scan tests to use the P900 and 850 GSM bands, which are commonly (nearly universally) supported bands. Bug: 132076611 Test: atest RadioHidlTest_v1_2 Merged-In: Ia682f022d35c481876c49c9c8802d7c39722be0e Change-Id: Ia682f022d35c481876c49c9c8802d7c39722be0e (cherry picked from commit 2ea2a64bc78cff5a0c0cc1211adbdfd59caf379c)
* | | Use Widely Supported GSM Channels for NetworkScanNathan Harold2019-05-101-99/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the network scan tests to use the P900 and 850 GSM bands, which are commonly (nearly universally) supported bands. Bug: 132076611 Test: atest RadioHidlTest_v1_2 Change-Id: Ia682f022d35c481876c49c9c8802d7c39722be0e
* | | Revert "Use Widely Supported GSM Channels for NetworkScan"Nathan Harold2019-05-101-65/+99
| | | | | | | | | | | | | | | | | | | | | This reverts commit 92bb3ae7b90c2145f94b7fd349219b59af0cd74c. There is an issue with the bands used for P900... the chosen bands were for PCS1900. Quick fix coming.
* | | Use Widely Supported GSM Channels for NetworkScanNathan Harold2019-05-091-99/+65
| |/ |/| | | | | | | | | | | | | | | | | Change the network scan tests to use the P900 and 850 GSM bands, which are commonly (nearly universally) supported bands. Bug: 132076611 Test: atest RadioHidlTest_v1_2 Change-Id: Icb4dc47360a5753b9697f74aec19045155ee27fc
* | Update hidl makefiles for bpfmtSteven Moreland2019-04-171-1/+0
|/ | | | | | | | hidl-generated makefiles are now generated such that bpfmt(file) == file. Bug: 67417008 Test: enable bpfmt hook Change-Id: I1f69d292bc23a7cc293a66110cb02d597e1019ad
* Update makefies: no 'types'Steven Moreland2019-03-041-35/+0
| | | | | | Bug: 123976090 Test: N/A Change-Id: I30fb04c81889b62775e1b764b965fdb0f893de17
* Explicitly Document INT_MAX for Invalid FieldsNathan Harold2019-01-281-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | When fields are inapplicable, they should not be set to a clearly out-of-range value to signal to the framework that those fields are not used. In some cases, there is an in-range invalid value that has been defined by the standards. The docs are inconsistent in calling out INT_MAX as the value to be used when something is inapplicable vs the case when a measurement is simply not reported. In all cases, INT_MAX can be used to denote an invalid value, and in cases where the field/structure is inapplicable, it is the correct value. This CL updates all the docstrings for SignalStrength-related fields to clarify that INT_MAX is the correct "invalid" value for cases when fields are inapplicable. Bug: 123088652 Test: compilation (docstring-only change); CTS naturally enforces this change on devices with newer HALs; backwards compatibility is preserved for existing HAL versions. Change-Id: I5cfa917f504d15691ab3f2c298189bdd47794a42
* pack VTS cc_test binaries as general-testsKeun Soo YIM2018-12-071-0/+1
| | | | | | | Test: make general-tests Bug: 120093339 Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4 Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
* Correct the comments for radio hal typesYouming Ye2018-09-043-1/+55
| | | | | | | | | The type of mcc and mnc is String instead of Int now. They should be an empty string if unknown. Also added a test case for their values. Bug: 111703979 Test: Vts Change-Id: Ie0426453dc426ccc6cf203b315806e78511ce14d
* Loose startNetworkScan casessqian2018-08-141-7/+16
| | | | | | | | | | | | | | | startNetworkScan: Some vendor may not support the required manual GSM search functionality. startNetworkScan_GoodRequest1 and startNetworkScan_GoodRequest2: Some vendor may not support max search time of 360s. Test: sanity Bug: 109765420 Change-Id: I456847815057d76561bfb3e840016619ac753476 Merged-In: I456847815057d76561bfb3e840016619ac753476 (cherry picked from commit 12f7d6127b301b140ee81696fed19f81a7ea50c6)
* Revert "Fixed VTS failure in no SIM case"Shuo Qian2018-08-021-3/+2
|\ | | | | | | | | | | am: 9d0f0635b9 Change-Id: I2c85ff48e47094810bc4350197611969f94954e7
| * Revert "Fixed VTS failure in no SIM case"Shuo Qian2018-08-021-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the EMERGENCY-type APN is a must set in the radio setupDataCall request for modem to perform Emergency call, and the given VTS test case does not set that emergency bit, I think modem should treat the request as a normal call request, and should not return "NONE" for no-sim. This reverts commit 431eb118f84de14c94ec18f887197944ec17e712. Reason for revert: after further discussion, NONE is not acceptable given the test case. Bug: 109767888 Change-Id: I3d1cc96120d53a9be0ae5059c26b091bf82dc352 Merged-In: I3d1cc96120d53a9be0ae5059c26b091bf82dc352 (cherry picked from commit 17fec3625d7094fd68c4a43966ddc2eb513658e4)
* | Allow NOT_SUPPORTED for setLinkCapacityReportingCriteria on GERAN.Amit Mahajan2018-07-161-4/+18
|\| | | | | | | | | | | am: 8b833740b2 Change-Id: I6389dcaa6a48338cddb9d6e45519941f8e1cd9f8
| * Allow NOT_SUPPORTED for setLinkCapacityReportingCriteria on GERAN.Amit Mahajan2018-07-161-4/+18
| | | | | | | | | | | | | | Test: run vts -m VtsHalRadioV1_2Target Bug: 110716988 Change-Id: I9a5f014d498db00d818870cbd73e119f66562ef1 (cherry picked from commit c7896501db413c9a0fa44d2697da4079610075d8)
* | Fix missed refactor of serialsqian2018-06-271-4/+4
|\| | | | | | | | | | | am: 0c3572e2f3 Change-Id: I308c5279fd50402efe6a2c06feaaf034cea4541d
| * Fix missed refactor of serialsqian2018-06-271-4/+4
| | | | | | | | | | | | | | | | Bug: 109822806 Test: run vts Change-Id: If88384699dbb4c2ddd1c580d2b35be38afd0f8e8 Merged-In: If88384699dbb4c2ddd1c580d2b35be38afd0f8e8 (cherry picked from commit c0e2e2b071df5cdff10193556163e2975f0b682c)
* | Fixed VTS failure in no SIM caseJack Yu2018-06-271-2/+3
|\| | | | | | | | | | | am: ac4e6051f9 Change-Id: I96717b5640c85223c5226e4b911e07d504623429