Shuo Qian
1d87508ce1
Merge "Add Sim absent assertion in the setup" into oc-dr1-dev
2017-07-25 00:14:00 +00:00
Sanket Padawe
257845f011
Update VTS tests so that more tests pass for O.
...
Cherry picked from ag/2562201
Bug: b/62926561
Test: vts tests
Change-Id: Ic927f9efd437c6411fb14feac8c681334e4b5e60
Merged-in: Ic927f9efd437c6411fb14feac8c681334e4b5e60
2017-07-24 16:46:36 +00:00
sqian
0e323b2689
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
2017-07-21 12:24:00 -07:00
sqian
ba1a060051
Modified error code for OPERATION_NOT_ALLOWED
...
Test: run vts
Bug: 62584347
Change-Id: I3abacdbcc5391c790f61c7f5710c1292447a29b6
2017-07-18 11:45:21 -07:00
Shuo Qian
92cc6209a7
Merge "Fix some VTS for 2017 devices" into oc-dr1-dev
2017-07-17 22:09:30 +00:00
sqian
54d88b7a99
Add RadioIndication for Radio VTS test
...
Fix 1.1 radio folder bug
Bug: 38499208
Test: run vts
Change-Id: I6d39ce258d5318ce06fc7c99dad4caf0a3e35415
2017-07-15 03:37:39 +00:00
sqian
fe0699535e
Fix some VTS for 2017 devices
...
- sendDeviceState
- setIndicationFilter
Mentioned in b/63148938
- getNeighboringCids
Add Request_not_support for Apis mentioned in Bugs:
- 62989786
- 62986286
- 62987946
Test: run vts
Bug: 63130111
Bug: 63148938
Bug: 62989786
Bug: 62986286
Bug: 62987946
Change-Id: Ib51f67d403bb27f409018a98c07d6aa6aa6d19f8
Merged-In: Ib51f67d403bb27f409018a98c07d6aa6aa6d19f8
2017-07-13 19:01:13 -07:00
Shuo Qian
55967b136e
Merge "Fix failure vts tests:" into oc-dr1-dev
2017-06-29 03:28:46 +00:00
sqian
48124dac55
Fix failure vts tests:
...
- setCdmaBroadcastConfig
- getCdmaBroadcastConfig
- setCdmaBroadcastActivation
- pullLceData
- setAllowedCarriers
- setAllowedCarriers
- sendEnvelope
- sendEnvelopeWithStatus
- cancelPendingUssd
- sendCDMAFeatureCode
Test: mma -j30; adb shell binary
Bug: 62960543, 62584347
Change-Id: Ie907cdb464a44d92be47d898151d71eb2d83a11c
Merged-In: Ie907cdb464a44d92be47d898151d71eb2d83a11c
2017-06-28 21:34:38 +00:00
sqian
0c74fc7839
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
2017-06-28 13:06:08 -07:00
sqian
a009cd5b03
Fix vts tests:
...
- setCdmaSubscriptionSource
- nvReadItem
- nvWriteItem
- nvWriteCdmaPrl
- getHardwareConfig
- sendEnvelope
- sendTerminalResponseToSim
Will update .hal file seperately.
Test: adb shell <vts_binary>
Bug: 35671595
Bug: 35800570
Change-Id: I651af50f122f37721778b1088df40fa6e12ac6e4
2017-06-09 18:01:29 -07:00
Shuo Qian
c1feed1128
Merge "Fix vts tests:" into oc-dev
...
am: dda2e8cdc2
Change-Id: I48640bc1b6225e39309f2832613986fce4a43754
2017-06-09 02:13:08 +00:00
sqian
08e90550f1
Fix vts tests:
...
Fixed with QC updated documentation:
- setGsmBroadcastConfig
- getGsmBroadcastConfig
- setGsmBroadcastActivation
- getImsRegistrationState
- pullLceData
- deleteSmsOnSim
- deleteSmsOnRuim
- sendDtmf
- startDtmf
- stopDtmf
- sendBurstDtmf
Try to increase timeout to 75 to fix (suggest by QC in b/35671595 #62 ):
- dial
Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Bug: 35671595, 35800570
Change-Id: Idd50bf71ae4c4490722d88d7cba0485b9d49073b
2017-06-08 11:30:13 -07:00
Sanket Padawe
2ab0ec0626
Fix some stk api Radio Vts tests.
...
Bug: 37502436
Test: Manual vts
Change-Id: Idd9a1fd38413aed89aaa152cb9a91c001f18b339
Merged-in: Idd9a1fd38413aed89aaa152cb9a91c001f18b339
2017-06-05 19:35:35 +00:00
Sanket Padawe
92a1599b80
Fix some stk api Radio Vts tests.
...
Bug: 37502436
Test: Manual vts
Change-Id: Idd9a1fd38413aed89aaa152cb9a91c001f18b339
2017-06-05 12:04:52 -07:00
sqian
fcc6118882
Generate serial number randomly in VTS unit test
...
Any fixed integer can be returned by vendor's APIs response.
Ideally it should be a random value for testing a vendor library.
Applying this to all the unit tests serial number.
Cherry-pick from:
https://googleplex-android-review.git.corp.google.com/#/c/2330821/
Bug: 38499889
Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Change-Id: I491db829cca607fad9f6a21987de92269d115253
Merged-In: I491db829cca607fad9f6a21987de92269d115253
(cherry picked from commit 0e8a3be41c
)
2017-05-31 14:21:43 -07:00
sqian
42c66f700a
Generate serial number randomly in VTS unit test
...
Any fixed integer can be returned by vendor's APIs response.
Ideally it should be a random value for testing a vendor library.
Applying this to all the unit tests serial number.
Bug: 38499889
Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Change-Id: I491db829cca607fad9f6a21987de92269d115253
2017-05-30 17:13:59 -07:00
Sanket Padawe
29687c4bf4
Merge "Fix more radio VTS test." into oc-dev
...
am: 3cc7c4e314
Change-Id: Id8f41004922cfb7d5622e2a20aa0c7569a46efbe
2017-05-25 17:14:04 +00:00
Sanket Padawe
e32c4ea00d
Fix more radio VTS test.
...
+ Increase timeout to 65s to fix some tests failing because of timeouts.
Bug: 35800570
Test: vts
Change-Id: Idf0204908592eac5f2a954d4425123df75999b1c
2017-05-23 13:36:47 -07:00
Shuo Qian
8d0e10f08d
Merge changes from topic 'fix-vts-test' into oc-dev
...
am: a64eb7c698
Change-Id: I3ed89c13301ce07e5fc8ac0be59f33dbf4be492b
2017-05-18 22:59:25 +00:00
sqian
786ddd532c
Fix vts tests
...
- apduReq
(with QC UIM document)
- handleStkCallSetupRequestFromSim
- supplyNetworkDepersonalization
Test: make vts; vts-tradefed; run vts -m VtsHalRadioV1_0Target
Bug: 35671595
Change-Id: Ie7427e027eb93e89a9790260cfdbbb2d01c50cc1
2017-05-18 14:06:32 -07:00
Shuo Qian
d46cee4a8d
Merge "Add GENERIC_FAILURE error checks for some Radio BTSAP Apis which are failing" into oc-dev
...
am: 79c636a4ff
Change-Id: I81fc971a9a36550c254999222bdc669dd234b558
2017-05-08 17:52:46 +00:00
Shuo Qian
79c636a4ff
Merge "Add GENERIC_FAILURE error checks for some Radio BTSAP Apis which are failing" into oc-dev
2017-05-08 17:49:18 +00:00
sqian
153a84ef11
Add GENERIC_FAILURE error checks for some Radio BTSAP Apis which are
...
failing
Test: Vts
Bug: 35671595
Change-Id: Ie2ca86437283ce2f8e4b5cad21454a8d201e53ad
2017-05-05 15:58:28 -07:00
Jayachandran Chinnakkannu
1a8f5c3595
Merge "VTS: Fix IRadio.setAllowedCarriers and IRadio.nvResetConfig" into oc-dev
...
am: eca8d114bf
Change-Id: I33e926f4ecd0314b4554ca9d90104f8afda773eb
2017-05-05 22:29:14 +00:00
Jayachandran C
21e28b71da
VTS: Fix IRadio.setAllowedCarriers and IRadio.nvResetConfig
...
1) IRadio.setAllowedCarriers
Fix IRadio.setAllowedCarriers to pass no restrictions.
Passing restrictions will block all other SIM cards until
a new IRadio.setAllowedCarriers with no restriction is
invoked. Even factory reset will not recover.
2) IRadio.nvResetConfig
IRadio.nvResetConfig with ResetNvType RELOAD causes radio restart.
All subsuquent scripts fail with cause RADIO_NOT_AVAILABLE.
Fix to use ResetNvType ERASE which does not restart the radio.
Test: VTS
Bug: 37946160
Change-Id: Ib671758414cc97e1a596358306f89eed13918c48
2017-05-04 17:01:27 -07:00
Shuo Qian
6ca560881c
Merge "Fix Vts errors" into oc-dev
...
am: 93d5836949
Change-Id: I9c3b7db8e75cf15f3231c60379bf0b1808cea972
2017-04-26 23:58:44 +00:00
sqian
01e7c6ee5f
Fix Vts errors
...
- Add REQUEST_NOT_SUPPORT into General Errors
- Add a util function to check General Errors
- Add a util function to check OEM Errors
- Changes to RIL command api tests based on the QC provided pdf
to see if the errors from vts-web can be fixed
Test: Manual
Bug: 35671595
Change-Id: I9500c686a75539dab37f0272349bc2f965cc0a8f
2017-04-26 13:57:58 -07:00
Sanket Padawe
1e7a8135c7
Merge "Fix test case for setSimCardPower radio api." into oc-dev
...
am: c10abf09f7
Change-Id: I619a75a39881d7f7b93a0aa4d3a9e6d8c19095be
2017-04-19 03:07:27 +00:00
Sanket Padawe
f9723eef1f
Fix test case for setSimCardPower radio api.
...
Bug: 35800570
Test: vts
Change-Id: I93e78c46971158cd14666931b527d8e268e0a39e
2017-04-17 17:07:32 -07:00
Amit Mahajan
ddeb776201
Merge "Add p2 option in OpenLogicalChannel" into oc-dev
2017-04-12 22:02:40 +00:00
Wileen Chiu
d87bd02d5a
Add p2 option in OpenLogicalChannel
...
- Adding support for P2 parameter
- Needed to support OMAPI 3.0 defined
by SIM Alliance
Test: Basic telephony sanity
Bug: 27360148
Merged-In: I6a274195065ab1ef8406849228f60859ee826e53
Change-Id: I88134eded001e14c12e1f2a18efd0a2b51bc22fe
2017-04-12 17:16:50 +00:00
Amit Mahajan
17053887d3
Merge "Add p2 option in OpenLogicalChannel" am: ca59e7f3ca
am: c0e1a4d4e5
...
am: f94530dfd8
Change-Id: I6a274195065ab1ef8406849228f60859ee826e53
2017-04-11 21:50:24 +00:00
Sanket Padawe
807bc1546b
Update Radio and Sap service name in VTS.
...
Bug: 37164398
Test: VTS tests pass.
Change-Id: I71562e5b9709166695d08a96a04928027dcb4ee7
2017-04-10 10:34:58 -07:00
Wileen Chiu
beb64d6721
Add p2 option in OpenLogicalChannel
...
- Adding support for P2 parameter
- Needed to support OMAPI 3.0 defined
by SIM Alliance
Bug: 27360148
Change-Id: I88134eded001e14c12e1f2a18efd0a2b51bc22fe
2017-04-04 11:30:41 -07:00
Yuexi Ma
87bde3312a
Change sytle of radio and sap tests to clang google
...
Test: make VtsHalRadioV1_0TargetTest, make VtsHalSapV1_0TargetTest
Change-Id: Ie13efe0d049ade7839881c14ed2904d8acd99b93
(cherry picked from commit bb96133731
)
2017-04-01 00:18:32 +00:00
Yuexi Ma
bb96133731
Change sytle of radio and sap tests to clang google
...
Test: make VtsHalRadioV1_0TargetTest, make VtsHalSapV1_0TargetTest
Change-Id: Ie13efe0d049ade7839881c14ed2904d8acd99b93
2017-03-30 10:58:23 -07:00
Shuo Qian
eb245db746
Merge "Add VTS tests for Sap Apis."
2017-03-30 16:49:41 +00:00
Shuoq
9823fcd865
Add VTS tests for Sap Apis.
...
Bug: 32022332
Test: vts
Change-Id: I9a55978aa485a59510090f46a8e5edfb87bccc0e
2017-03-29 16:06:47 -07:00
Shuoq
ca02ad4c3a
Add VTS tests for Sap Apis.
...
Bug: 32022332
Test: vts
Change-Id: I9a55978aa485a59510090f46a8e5edfb87bccc0e
2017-03-29 16:01:38 -07:00
Sanket Padawe
6f957ea5c5
Add VTS for couple of missing APIs and some cleanup for earlier APIs.
...
Bug: 32022332
Test: vts
Change-Id: I361af4a37985e5bc686a2d7302917afa134ebc24
2017-03-21 14:57:22 -07:00
Sanket Padawe
28fc10fba9
Add VTS test for misc RIL apis.
...
Bug: 32022332
Test: vts
Change-Id: Ic898cc536bd13dfa1443fd3a70aa1b4b21c9d108
2017-03-17 11:42:20 -07:00
Shuoq
59bac4dba3
Add initial target-side VTS tests for Data, Cell broadcast, STK, IMS radio
...
telephony apis.
Bug: 32022332
Test: vts
Change-Id: Iad55b40f7349bcb8e34ffd275088dce0626beddf
2017-03-15 23:13:24 +00:00
Yuexi Ma
6b8720110b
Change vts target base test class name
...
Test: make vts succeed, vts kernel tests and nfc hal tests passed
Change-Id: I38ae6cc940d0f17bb3352f360efdf9c70697c76b
2017-03-10 00:42:13 -08:00
Sanket Padawe
fe7c7a3a69
Add VTS for voice telephony apis.
...
Bug: 32022332
Test: vts
Change-Id: I94f86f48d0c227f00c84051d14e6116d0bf2d1b3
2017-03-09 12:01:17 -08:00
Steven Moreland
691a455b9f
Add hidl_default and make modules use hidl_default.
...
find hardware/interfaces -type f -not -path "*/.git/*" \
-exec sed -i -e '/cc_[A-Za-z_]\+/ { N; s/$/\n defaults:
\["hidl_defaults"\],/ }' {} \;
./hardware/interfaces/update-makefiles.sh
Test: no warnings
Bug: 35840847
Change-Id: I468b76893bf3f4b62ad610d1d9603bcb8797a702
2017-03-08 16:22:00 -08:00
Shuoq
064ee51e07
Initial Target-side VTS tests for Short Message Service(SMS) Radio Hal Apis
...
Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Bug: 32022332
Change-Id: Ia630493e0501e75a5c327aab77d6a0af59587128
2017-03-07 19:24:23 +00:00
Jack Yu
df1a8ec04e
Removed the deprecated screen state API
...
The screen state API was deprecated on O and should
not be added into the radio interace.
Test: Telephony sanity tests
bug: 32223897
Change-Id: Ieb2322113557be700aeae78346c969465e7a9dd3
2017-03-01 23:56:21 -08:00
Sanket Padawe
77c3822d6d
Fix build warnings in radio vts.
...
Test: tested that no warnings show up.
Bug: 32022332
Change-Id: I7ecc2955c13827769733976c2498d8f8484284ea
2017-03-01 10:52:30 -08:00
Sanket Padawe
1512edb314
VTS for icc radio hal Apis (patch 2).
...
Test: vts
Change-Id: I24a08f82bcca5bd48c268d72c75059e614931ea0
2017-02-28 18:00:49 -08:00