platform_hardware_interfaces/radio/1.0
sqian 2a60b89b9c 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
Merged-In: I08fe9d7ac16283c7ce1a5aeb6b3b372786a8d5c3
(cherry picked from commit 788eb80830)
2018-04-20 14:54:12 -07:00
..
vts Sim Status Present VTS 2018-04-20 14:54:12 -07:00
Android.bp Update makefiles for hidl_interface. 2017-11-10 09:06:55 -08:00
IRadio.hal Add p2 option in OpenLogicalChannel 2017-04-12 17:16:50 +00:00
IRadioIndication.hal Convert all comments into "doxygen-ready" comments. 2017-03-28 16:14:43 -07:00
IRadioResponse.hal Add REQUEST_NOT_SUPPORTED / SIM_ABSENT for vts tests 2017-10-17 16:02:04 -07:00
ISap.hal Revert "Make setResponseFunctions() and setCallback() oneway." 2017-03-21 23:09:44 +00:00
ISapCallback.hal Minor updates to ISap hal. 2016-12-27 10:44:59 -08:00
types.hal Fix docstrings for RIL_CellIdentity 2017-09-13 15:32:49 -07:00