History log of /hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
788eb8083059ff0dca686734ceebf942042c4893 29-Mar-2018 sqian <shuoq@google.com> Sim Status Present VTS

Fix and enhance sim-present tests,
Save VTS running time,
Fix serial number inconsistancy issue

Fix and enhance sim-present tests:
In 1.0:
- setupDataCall timeout, need more waiting time
- requestIccSimAuthentication returns REQUEST_NOT_SUPPORTED,
need to check it
- sendSms timeout, would need more waiting time
- sendSMSExpectMore timeout, would need more waiting time
- getAllowedCarriers, getting CardState::RESTRICTED, the previous test
of setAllowedCarriers is doing resetting back to no carrier restriction,
but that needs some time to populate.
In 1.1:
- setSimCardPower_1_1 set sim card power down that makes other tests
fail, reset it back with sim card power on.

Save VTS running time,
- Use waiting loop and prevent unnecessary waiting to save the whole
running time.

Fix serial number inconsistancy issue
- During the enforcement running, it is liked the serial number is
not consistent. And it happens in b/78249227. Suspect that when sim
card is inserted, during the testing running time, the radio may
request some response that is not triggered from the test, but the
test may receive it and think it is what is triggered by the test. The
fix is to check serial number before notifying of unlock the test
lock.

Bug: 76125134
Bug: 78248071
Bug: 78139665
Bug: 78249227
Test: run vts -m VtsHalRadioV1_0Target; run vts -m VtsHalRadioV1_1Target
Change-Id: I08fe9d7ac16283c7ce1a5aeb6b3b372786a8d5c3
/hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp
21b0a0ad2555d3cf5231864a474399fdb00992b2 09-Feb-2018 Zhuoyao Zhang <zhuoyao@google.com> Convert radio hal test to use VtsHalHidlTargetTestEnvBase

Bug: 64203181
Test: make vts
vts-tradefed run vts -m VtsHalRadioV1_0Target
vts-tradefed run vts -m VtsHalSapV1_0Target
vts-tradefed run vts -m VtsHalRadioV1_1Target
vts-tradefed run vts -m VtsHalRadioV1_2Target

Change-Id: I067ce9634e41c0400d9eb060065e9bb3bc511546
/hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp
3ba20e6b6bef8059e0c366107e85965f5a433bdf 21-Dec-2017 sqian <shuoq@google.com> Remove unused functions

Test: Compile
Bug: 63760809
Change-Id: I582c259ca0787a701d434eea9592c9e8d7351f08
/hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp
fe32af21bdc1ced4a2736d2f3f5fe9ccdf0e36f1 21-Nov-2017 sqian <shuoq@google.com> Set time delay in the vts test setup

Bug: 69398018
Test: run vts
Change-Id: Ibe1e8f1b08342f1b0b867bfa7bcf1b2fe4a85622
/hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp
eddb1d9a017b6f54526a514cc1191a254ba3876a 15-Nov-2017 Iris Chang <iris.chang@mediatek.com> Merge "VTS: fix RadioHidlTest.getAvailableNetworks issue" am: 89b2d24fb0 am: 0c9df89f88
am: 2d47467288

Change-Id: Id5ddb114f2a31d39d844409b4444fbd4ca77745e
6429f0677f87c5657802d26345dc3334ab26e33a 06-Nov-2017 Iris Chang <iris.chang@mediatek.com> VTS: fix RadioHidlTest.getAvailableNetworks issue

Analysis: VtsHalRadioV1_0Target's timeout is too short for
getAvailableNetworks, because this request duration depends on NW
environment or frequency.

Suggested solution: Add a timeout parameter to wait() and default
timeout value is 5 minutes in order to avoid timeout fail due to NW
environment.

Bug: 68834032
Test: getAvailableNetworks can be passed after we apply this patch and
test result for all other telephony 1.0 and 1.1 test cases are not
changed.
Change-Id: Iaae71e0abacd28275d86a19264813ff209ddb79c
/hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp
e986b85fddeb3412606840e4cdc76051e3cc966e 14-Nov-2017 sqian <shuoq@google.com> Modify VTS error check so that the error code can be displayed

- Add AssertionResult in gtest to display logs
- Refactor all the error checks

- Replace INTERNAL_ERR with INVALID_ARGUMENT for
requestIsimAuthentication

Bug: 63760809
Bug: 65150146
Test: run vts
Change-Id: Id3d876ea515f47998e3e45be11db5edf306ffc24
/hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp
33b550ce674b68d035810c72f1cfb6054e75af05 13-Nov-2017 Shuo Qian <shuoq@google.com> Revert "Modify VTS error check so that the error code can be displayed"

This reverts commit cf243eba435afcd7fc38d96c695cec3ca0bdd319.

Change-Id: Idd42b12cdcbaab1476e460c34f3b4b60c38dead0
/hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp
cf243eba435afcd7fc38d96c695cec3ca0bdd319 03-Nov-2017 sqian <shuoq@google.com> Modify VTS error check so that the error code can be displayed

- Add AssertionResult in gtest to display logs
- Refactor all the error checks

- Replace INTERNAL_ERR with INVALID_ARGUMENT for
requestIsimAuthentication

Bug: 63760809
Bug: 65150146
Test: run vts
Change-Id: Iec4bdfd89ccd8d8d8c6e1bd8f720a88d67f23cb3
/hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp
0e323b268953c208124db675a6d6d2af2b5a145d 21-Jul-2017 sqian <shuoq@google.com> Add Sim absent assertion in the setup

Currently the VTS tests for radio are for Sim Absent only. Adding this
assertion in the set up before running VTS tests clarifies the current
tests running is for sim absent only.

Test: run vts
Bug: 63898623
Change-Id: I0017dd1b3939348b183ce19a5ec4cbc977946cc1
/hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp
54d88b7a997888b71c682dddf0f24d6dccbfbcdd 12-Jul-2017 sqian <shuoq@google.com> Add RadioIndication for Radio VTS test

Fix 1.1 radio folder bug

Bug: 38499208
Test: run vts
Change-Id: I6d39ce258d5318ce06fc7c99dad4caf0a3e35415
/hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp
0c74fc78392703e19ba51ce0ced510a55a0a994b 25-May-2017 sqian <shuoq@google.com> Add a new vts directory under 1.1 for radio 1.1 APIs vts tests.

Bug: 38034125
Test: compile; adb shell compiled_vts_binary
Change-Id: I05d4f03db40ac712f120ac0e3e52301a6252f041
/hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp