summaryrefslogtreecommitdiffstats
path: root/radio
Commit message (Collapse)AuthorAgeFilesLines
* Update the currentCalls before VTS notification.sqian2019-08-221-1/+1
| | | | | | | | | | | | | It's reasonable to update the global variable "currentCalls" before notifying the reader thread. Otherwise this can cause some issues such as null pointer dereference in other modem. Bug: 139264227 Test: Don't have devices that uses the corresponding modem that reports this issues. This is verified according to a partner CL: https://partner-android-review.googlesource.com/c/platform/hardware/interfaces/+/1422356 Change-Id: Iee9e18149397c39b7c84ec1dc570b9bac7142eb6
* Verify there are no more current callssqian2019-07-261-0/+6
| | | | | | | | | After disconnect calls, we want to verify there are no more current calls by calling IRadio.getCurrenctCalls Test: run vts Bug: 138413412 Change-Id: Iacca49abff11fbdfb4ae6dd060a5f150e9e4a74d
* Add REQUEST_NOT_SUPPORTED to startNetworkScanYouming Ye2019-07-221-22/+40
| | | | | | Test: VTS Bug: 137298570 Change-Id: I0afacd413d467c3e25585d6d5431278fd61a1562
* 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
* | Merge "Disable startNetworkScan tests with parameters." into qt-devTreeHugger Robot2019-07-121-0/+5
|\ \
| * | Disable startNetworkScan tests with parameters.Youming Ye2019-07-121-0/+5
| |/ | | | | | | | | | | | | | | | | | | 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
* | 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)
* | Hang up EmergencyDial after Trigger in VTSsqian2019-07-014-2/+49
|/ | | | | | | | | | | | | | | | | | | | The whole test case run emergencyDial.RadioHidlTest_v1_4 first and then come after startNetworkScan.RadioHidlTest_v1_4 test case immediately (within ~3 secs) the NWscan failure is device in emergency call in progress/connected while doing emergencyDial.RadioHidlTest_v1_4 test Although emergencyDial.RadioHidlTest_v1_4 only care about command/response is successful or not and don't care call is established or not, modem do care about call condition is in idle/progress/connected state before it can do NWscan When there's dedicated channel established, modem can not perform AP request NWscan in parallel as we are single HW modem restriction. Test: run vts Bug: 135595082 Change-Id: Iecba54b93b96d33b57bc59e00f082ff133d2e57b Merged-In: Iecba54b93b96d33b57bc59e00f082ff133d2e57b
* 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
* Fix RadioConfig 1.1 vts testTim Lin2019-06-123-10/+14
| | | | | | | | | Bug: 134645639 Test: VtsHalRadioConfigV1_0Target VtsHalRadioConfigV1_1Target VtsHalRadioConfigV1_2Target Change-Id: I0c3171bf50de4f320b53d73962a4a5013a9c72e4
* Add radio config 1.2 VTS testsJordan Liu2019-05-317-0/+388
| | | | | | Bug: 122730535 Test: run vts -m VtsHalRadioConfigV1_2Target Change-Id: Ib4fc17ea9f76caaf0cb0d4a2914595b7cfb7b041
* Merge "Send LTE|LTE_CA to modem in vts" into qt-devPengquan Meng2019-05-241-0/+4
|\
| * Send LTE|LTE_CA to modem in vtsPengquan Meng2019-05-231-0/+4
| | | | | | | | | | | | Bug: 132057161 Test: vts Change-Id: I963933aff316318053546b54ca680cb65e6a290a
* | Merge "Add Vts to enforce radioConfig is existed" into qt-devPengquan Meng2019-05-233-2/+13
|\ \
| * | Add Vts to enforce radioConfig is existedPengquan Meng2019-05-223-2/+13
| |/ | | | | | | | | | | | | | | | | | | This vts enforce IRadioConfig is existed when IRadio service is supported. We didn't add IRadioConfigV1.2, so in this test IRadioConfigV1.1 will be checked. Bug: 132379735 Test: atest VtsHalRadioV1_4TargetTest Change-Id: I2062ed6b191193d9a8af4f25059fed6cc8dc09d8
* | Merge changes I94874f53,I90133555 into qt-devNathan Harold2019-05-222-3/+4
|\ \ | | | | | | | | | | | | | | | * changes: Enable incremental scans for interval checks Allow impls to ignore incremental scan interval
| * | 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
* / Fix RadioConfig 1.0 vts testJordan Liu2019-05-211-4/+8
|/ | | | | | Bug: 122730535 Test: VtsHalRadioConfigV1_0Target Change-Id: Ib3843e9ce727f97972f76e69cf9b450124f7afae
* Merge "Add INVALID_STATE to list of errors for when there is only one modem ↵Nazanin Bakhshi2019-05-212-2/+5
|\ | | | | | | available" into qt-dev
| * Add INVALID_STATE to list of errors for when there is only one modemNazanin Bakhshi2019-05-202-2/+5
| | | | | | | | | | | | | | | | available Bug: b/132818184 Test: VTS Change-Id: I2b57ab99a376bcab26012d08f00284d65f915bc3
* | 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
* | Merge "VTS: add NOT_SUPPORTED to enableModem" into qt-devNazanin Bakhshi2019-05-141-6/+6
|\ \
| * | VTS: add NOT_SUPPORTED to enableModemNazanin Bakhshi2019-05-101-6/+6
| |/ | | | | | | | | | | Bug: 130190479 Test: VTS Change-Id: Ie5851929287f461f20ee6a7b979f15133755b2b3
* / 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)
* Add comment to track setSystemSelectionChannels api testYouming Ye2019-04-231-0/+2
| | | | | | | | | Since the system API for the hal is not implemented in Q, we disable the vts test. Adding corresponding comments on the test. Bug: 130254624 Test: Build Change-Id: I777961aeaf8fb2baa28cee47cf3df4015a6ee0f0
* Add VTS test for getDataRegistrationState am: 7c06193d09 am: af32ed1e54Amruth Ramachandran2019-04-011-0/+37
|\ | | | | | | | | | | am: 139f8bd942 Change-Id: I210493d3dfe019b347d8fa1228e386f5d9bb0d25
| * Add VTS test for getDataRegistrationState am: 7c06193d09Amruth Ramachandran2019-04-011-0/+37
| |\ | | | | | | | | | | | | | | | am: af32ed1e54 Change-Id: Iab26a52f254f95ec705491ad9dfe91e019b414db
| | * Add VTS test for getDataRegistrationStateAmruth Ramachandran2019-04-011-0/+37
| | | | | | | | | | | | | | | | | | | | | Bug:112194535 Test: VTS test Change-Id: I32b335c8407a6884216aa1b80216a87e94b6cba6
| * | Added VTS tests for setDataProfile and setInitialAttachApn am: 7885653276Jack Yu2019-04-011-0/+82
| |\| | | | | | | | | | | | | | | | am: cefbec0e9b Change-Id: I9b3b6541878bf0e058b6dd8343efb7dc08ef40e8
| | * Added VTS tests for setDataProfile and setInitialAttachApnJack Yu2019-04-011-0/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | Test: VTS Bug: 121345833 Merged-In: Ia7a260f5bbf9463c96b53656bcbe031af5208cbb Change-Id: Ia7a260f5bbf9463c96b53656bcbe031af5208cbb (cherry picked from commit 7948a04d010541a2060d0011b3433599ed442bc2)
* | | Merge "Sleep one second after connect." into pie-vts-dev am: e1704f3fd6 am: ↵sqian2019-03-131-0/+4
|\| | | | | | | | | | | | | | | | | | | | | | | e3c3d56907 am: ed62130b14 Change-Id: Ib08c6a74d398987440408fd7db7e46f59295624e
| * | Merge "Sleep one second after connect." into pie-vts-dev am: e1704f3fd6sqian2019-03-131-0/+4
| |\ \ | | |/ | |/| | | | | | | | | | am: e3c3d56907 Change-Id: Ic8322a888f04dfa29bca109f5dc43f6978021da5
| | * Sleep one second after connect.sqian2019-03-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Modem side need time for connect to finish. Test: Sanity (encountered by partner) Bug: 122442056 Change-Id: Ib688b968730fcf604ef3807db9b6bd817594cad6
| | * Merge "Fix setAllowedCarrier" into pie-vts-devTreehugger Robot2018-08-291-20/+30
| | |\
| | | * Fix setAllowedCarriersqian2018-08-291-20/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If function is not supported or executed successfully, do not expect its effect on cardStatus. Bug: 112008372 Test: run vts Change-Id: I4532a39af2cfcf0e44eafe29c3c7f6779ae101f5 Merged-In: I4532a39af2cfcf0e44eafe29c3c7f6779ae101f5 (cherry picked from commit 44b129f7288016a4113f5e6ff059d63987d63385)
| | * | Allow general errors for getImsiForApp().Amit Mahajan2018-08-291-1/+2
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is to match it with other 1.0 tests where general errors are allowed. For newer tests we have decided to not allow these errors, but a failure for this old test is reported when run with SIM present. Test: run vts -m VtsHalRadioV1_0Target Bug: 109889468 Change-Id: If36083b7832706a50805932e8ba08e4eb397f3fe Merged-In: If36083b7832706a50805932e8ba08e4eb397f3fe (cherry picked from commit 817848e59e18334a30f623ef143cf182716fd3fa)
| | * Loose startNetworkScan casessqian2018-08-281-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 Merged-In: I456847815057d76561bfb3e840016619ac753476 Change-Id: I456847815057d76561bfb3e840016619ac753476 (cherry picked from commit 12f7d6127b301b140ee81696fed19f81a7ea50c6)
| | * Fix missed refactor of serialsqian2018-08-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 109822806 Test: run vts Merged-In: If88384699dbb4c2ddd1c580d2b35be38afd0f8e8 Change-Id: If88384699dbb4c2ddd1c580d2b35be38afd0f8e8 (cherry picked from commit c0e2e2b071df5cdff10193556163e2975f0b682c)
| | * Allow NOT_SUPPORTED for setLinkCapacityReportingCriteria on GERAN.Amit Mahajan2018-08-281-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | Test: run vts -m VtsHalRadioV1_2Target Bug: 110716988 Merged-In: I9a5f014d498db00d818870cbd73e119f66562ef1 Change-Id: I9a5f014d498db00d818870cbd73e119f66562ef1 (cherry picked from commit c7896501db413c9a0fa44d2697da4079610075d8)
| | * Allow REQUEST_NOT_SUPPORTED as an error for startNetworkScanAmit Mahajan2018-08-281-10/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are trying to tighten the APIs. However for this case since the documentation was not updated, we are allowing NOT_SUPPORTED for now and will be cleaned up in a later release. Test: run vts -m VtsHalRadioV1_2Target Bug: 110118713 Merged-In: Id9dd3d7bac99bed36ceb9c906189f1fea78d5a2c Change-Id: Id9dd3d7bac99bed36ceb9c906189f1fea78d5a2c (cherry picked from commit a7587b5a7fdace0d193ad333e6f5cda8b995570b)
| | * Merge changes Ia3b96e83,I80d924cc into pie-vts-devTreehugger Robot2018-08-282-5/+13
| | |\ | | | | | | | | | | | | | | | | | | | | * changes: Add REQUEST_NOT_SUPPORTED for pin and pin2 Icc VTS Add SIM_PUK2 for Icc VTS tests
| | | * Add REQUEST_NOT_SUPPORTED for pin and pin2 Icc VTSsqian2018-08-221-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 111222834 Test: sanity Change-Id: Ia3b96e83d6173c2c80bdbf7763a876883b167af9 Merged-In: Ia3b96e83d6173c2c80bdbf7763a876883b167af9 (cherry picked from commit c0a06f34c88cf9dc017be6178113b35c3c7fc67e)
| | | * Add SIM_PUK2 for Icc VTS testssqian2018-08-222-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add SIM_PUK2 for supplyIccPin2ForApp and changeIccPin2ForApp if sim card is in the puk2 state. Bug: 111211929 Test: sanity Change-Id: I80d924cc4a61565887cbd2a65ee5927a42ad656e Merged-In: I80d924cc4a61565887cbd2a65ee5927a42ad656e (cherry picked from commit 4ed0a216adc3bc9460d11d302ba53db9707ded44)
| | * | Add setIndicationFilter response notification in 1.2 VTSsqian2018-08-281-1/+3
| | |/ | | | | | | | | | | | | | | | | | | | | | Test: compile Bug: 109822806 Merged-In: I95102a148a26cab80235cc68ad83143a9bb6eb39 Change-Id: I95102a148a26cab80235cc68ad83143a9bb6eb39 (cherry picked from commit 0ff41b94b30a0db0ce4a6a5b29600ced5853a762)
| | * Add docs for setSignalStrengthReportingCriteriaNathan Harold2018-08-211-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because setSignalStrengthReportingCriteria only supports a single measurement quantity, provide further clarification on the applicability of the API and how it may be used in various situations. Bug: 110121199 Test: compilation - docstring-only change Merged-In: If4236070fbc03368e5a78b0cf502cdc4a529a6ed Change-Id: If4236070fbc03368e5a78b0cf502cdc4a529a6ed (cherry picked from commit 529d2fffa02451406f013b354fd7c07164f619b1)
* | | Merge "Added 1.4 setDataProfile and setInitialAttachApn" am: b6990823f9 am: ↵Jack Yu2019-03-072-4/+8
|\| | | | | | | | | | | | | | | | | | | | | | | 3ae436ce52 am: 62f6566bf1 Change-Id: I023d45fb81ef3d7cbdacf53663751a1875377791
| * | Merge "Added 1.4 setDataProfile and setInitialAttachApn"Jack Yu2019-03-082-4/+8
| |\ \