sqian
67901bf2ce
Add EMPTY_RECORD for getDeviceIdentity
...
Remove same unit test case with arguments "","0" for:
- sendEnvelope
- sendTerminalResponseToSim
- sendEnvelopeWithStatus
Test: verified by vendor, treehuger
Bug: 62926561
Change-Id: I5f535bdfc5821275a7ea2571d411374e0d7a8822
Merged-In: I5f535bdfc5821275a7ea2571d411374e0d7a8822
2017-07-31 17:56:36 -07:00
Legler Wu
b36443a864
Update VTS tests so that Mediatek pass more VTS for O.
...
Bug: b/62926561
Test: vts tests
Change-Id: Ic927f9efd437c6411fb14feac8c681334e4b5e60
Merged-in: Ic927f9efd437c6411fb14feac8c681334e4b5e60
2017-07-21 17:28:26 -07:00
Shuo Qian
7c60d26763
Merge "Update IRadioResponse.hal documentation" into oc-dev
2017-07-21 18:58:12 +00:00
sqian
c699ba3901
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
(cherry picked from commit fe0699535e
)
2017-07-19 13:45:18 -07:00
sqian
be63f4b89e
Update IRadioResponse.hal documentation
...
Update the error codes
A copy of https://partner-android-review.googlesource.com/#/c/836552/
+ some missed updated error codes
+ request_not_supported
Test: Manual
Bug: 35671595
Change-Id: I2880b442b5fd56149abc83949c12e2eba5ee67df
Merged-In: I2880b442b5fd56149abc83949c12e2eba5ee67df
2017-06-21 14:53:07 -07:00
sqian
10a619ab6d
Fix vts tests:
...
- setCdmaSubscriptionSource
- nvReadItem
- nvWriteItem
- nvWriteCdmaPrl
- getHardwareConfig
- sendEnvelope
- sendTerminalResponseToSim
Apply ag/2373104/ to prevent merge conflicts
Will update .hal file seperately.
Test: adb shell <vts_binary>
Bug: 35671595
Bug: 35800570
Change-Id: I651af50f122f37721778b1088df40fa6e12ac6e4
Merged-In: I651af50f122f37721778b1088df40fa6e12ac6e4
2017-06-09 14:47:24 -07: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
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
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
Steven Moreland
e4d318948a
Update makefiles.
...
Adds default configuration to all hals.
Test: pass
Merged-In: Icdf6b56df82c4b7b7de815e7febea9a07ab96856
Change-Id: Icdf6b56df82c4b7b7de815e7febea9a07ab96856
2017-05-19 15:53:53 -07:00
sqian
284c53c028
update .hal file to fix vts test
...
Test: Manual
Bug: 35671595
Change-Id: Ic97cc8e9a713bfa22f9986c18ddb5af624142b17
2017-05-18 14:06:44 -07: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
Steven Moreland
4be51a8512
Merge changes from topic 'fix-hidl-generate' into oc-dev
...
* changes:
Update makefiles for c++-sources and c++-headers.
Update makefiles for c++-sources and c++-headers. (2/2)
2017-05-10 20:02:40 +00:00
Steven Moreland
8716f3063e
Update makefiles for c++-sources and c++-headers.
...
Test: pass
Bug: 38174080
Merged-In: I683455736eed35e6ced24e2763c2bdb5fb6c9601
Change-Id: I683455736eed35e6ced24e2763c2bdb5fb6c9601
2017-05-09 19:58:45 -07:00
Naina Nalluri
9cc29c8f57
Update IRadioResponse.hal documentation to fix failing VTS
...
update IRadioResponse.hal documentation with
nas/data error codes
Bug: 35671595
Test: Only doc update.
Change-Id: I5a106e05b487f7deecb208af6465e5ea5238b26e
2017-05-09 15:23:48 -07: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 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
05935a7e06
Merge "Update .hal file for fixing vts tests" into oc-dev
2017-04-26 23:21:23 +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
sqian
159ec7fbf5
Update .hal file for fixing vts tests
...
- update 'voice' and 'sms' based on QC pdf file
- remove GENERIC_FAILURE still there
- fix duplicate error code
Note, current.txt updated only because this interface
has not been released as of the time of this CL.
Test: Manual
Bug: 35671595
Change-Id: I83831c222cb0d157d0aa06e48cf0a177ab0ecf31
2017-04-26 18:45:38 +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
Andreas Huber
6fa374ad30
Changed the naming scheme for Treble java libraries (both static and dynamic)
...
android.hardware.foo@1.0-java => android.hardware.foo-V1.0-java
Bug: 37207894
Test: make
Change-Id: I177f4cfd42f635aaf096107af8309d1a82ed41c0
Merged-In: I8b91881dfaf507c0d852d56ebbb53ff0987e5a34
2017-04-13 15:23:46 -07:00
Steven Moreland
17f0c0dde7
Merge changes from topic 'hidl-vendor-available' into oc-dev
...
* changes:
Update makefiles (2/2).
Update makefiles.
2017-04-12 22:13:58 +00: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
Steven Moreland
b2799c370f
Update makefiles.
...
Test: pass
Change-Id: I5cf42c8ff1e11207394e4852ba0bd03e4e3b7d2e
2017-04-11 09:57:40 -07: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
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
Shuoq
9823fcd865
Add VTS tests for Sap Apis.
...
Bug: 32022332
Test: vts
Change-Id: I9a55978aa485a59510090f46a8e5edfb87bccc0e
2017-03-29 16:06:47 -07:00
Andreas Huber
675ae49ab1
Convert all comments into "doxygen-ready" comments.
...
Bug: 36453077
Test: make
Change-Id: Ic77394d4d2e1ccedba3a28230d870c5d6108bd40
2017-03-28 16:14:43 -07:00
Steven Moreland
53b21566bc
Update makefiles. am: e90c31f125
am: f11981de68
...
am: 103bada0e1
Change-Id: Ibe6eeeacab5660a8cf70d59dd9a4864d6f70ab80
2017-03-27 17:51:28 +00:00
Steven Moreland
e90c31f125
Update makefiles.
...
Test: pass
Change-Id: I925baccbe51a32b7b7f3f66cf2918d017ee6b039
2017-03-24 21:50:45 -07:00
Shuo Qian
af59bc0e76
Merge "Remove GENERIC_FAILURE and INVALID_ARGUMENT for Api documentation" am: 2d0b636b29
am: 0efe019342
...
am: 56fc4104b9
Change-Id: Ia37f47663ce7932c9d294512b7af011849e27c97
2017-03-24 17:30:27 +00:00
Shuo Qian
2d0b636b29
Merge "Remove GENERIC_FAILURE and INVALID_ARGUMENT for Api documentation"
2017-03-24 17:21:18 +00:00
Sanket Padawe
cae250ad67
Merge "Add VTS for couple of missing APIs and some cleanup for earlier APIs." am: 60449e68d1
am: 516a71e295
...
am: 0f8a067a04
Change-Id: Ifbdbf6c739e140eb10c8fafdeaa31b92f281a41b
2017-03-22 21:44:37 +00:00
Shuoq
6ec2bb2a6a
Remove GENERIC_FAILURE and INVALID_ARGUMENT for Api documentation
...
Remove GENERIC_FAILURE for the documentation of the apis
in the IRadioResponse.hal, which should not be
returned in any case.
Remove INVALID_ARGUMENT for the documentation of the apis
in IRadioResponse.hal if it is not present in the ril.h file.
Bug: 36385785
Test: No change to behavior
Change-Id: Iab0976ddc6b10863cdbdbfb8a8f213d7d9b17cb5
2017-03-22 12:38:22 -07:00
Steven Moreland
32a8a98b3f
Revert "Make setResponseFunctions() and setCallback() oneway."
...
This reverts commit 08b949450e
.
Change-Id: Ie2f6c84e1b9264b109b55432be9b77abb82643fd
2017-03-21 23:09:44 +00: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
Amit Mahajan
08b949450e
Make setResponseFunctions() and setCallback() oneway.
...
Test: Basic telephony sanity
Bug: 32020264
Change-Id: I05351b5c4d61c19eb08841704bf50ae7de5f683f
2017-03-20 17:44:51 -07:00
Sanket Padawe
f8654facce
Merge "Add VTS test for misc RIL apis." am: 69c546ba21
am: d9dabe6b57
...
am: 592ddbf04e
Change-Id: Iebeec166e521d2203fb01c75f2a4ae5b8c041477
2017-03-17 23:34:24 +00:00
Treehugger Robot
69c546ba21
Merge "Add VTS test for misc RIL apis."
2017-03-17 23:15:14 +00:00
Jayachandran Chinnakkannu
f07f7d9fcb
Merge "Add new precise call fail causes and OEM causes" am: 3928ae4117
am: a6d3475677
...
am: cc792c8cb3
Change-Id: I492a1925bc350bad846782f8be2841f91e4b182e
2017-03-17 22:41:42 +00:00
Jayachandran Chinnakkannu
3928ae4117
Merge "Add new precise call fail causes and OEM causes"
2017-03-17 22:18:24 +00: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
Shuo Qian
8d35ec3009
Merge "Add initial target-side VTS tests for Data, Cell broadcast, STK, IMS radio telephony apis." am: 7a3bce0b7f
am: 8dffcb06c9
...
am: 92bd1bf43b
Change-Id: If6aa28a7d2644aaa8efcf9ab58f484acfbb781ac
2017-03-17 17:12:50 +00:00
Jayachandran C
a03c0c692e
Add new precise call fail causes and OEM causes
...
Bug: 35609963
Change-Id: I235269ee0c224f9b2c9afb9d96dec08bc7594b53
2017-03-17 03:56:27 +00: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
Jayachandran Chinnakkannu
222cf72efa
Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS" am: 14b82de6b2
am: 2bc10e9066
...
am: 460da89426
Change-Id: Idce0f559b0351da4b27ac9a3c0f9eb7b52db03ab
2017-03-15 21:40:40 +00:00