Commit graph

162 commits

Author SHA1 Message Date
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
Jayachandran C
fbb1ea5a2e Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS
Updated documentation for INTERNAL_ERR & MODEM_ERR

Bug: 34102797
Change-Id: Ic3bf0c987dcb7dc04ab086aeb185c307685c0485
2017-03-14 16:53:09 -07:00
Yuexi Ma
5e1e202bcc Merge "Change vts target base test class name" am: 4f4fdaf664 am: a8239094f4
am: 649a2c13d7

Change-Id: I376e83c09515ba50a7e033e3cb75e0c5f8a24ccf
2017-03-10 21:11:23 +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
d161b1c446 Merge "Add VTS for voice telephony apis." am: 6b8077be1b am: 89f6259553
am: 452a9dff53

Change-Id: Ie2f973da848eae1b8adcef3efbe7fef2be6d3417
2017-03-09 22:09:24 +00: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
b28099785a Add hidl_default and make modules use hidl_default. am: 691a455b9f am: 7c9f5c35d8
am: a6de4ca892

Change-Id: Ie4a219330792a194bef4a983b706c5f3191761a7
2017-03-09 02:09:52 +00: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
Shuo Qian
e3d1b4215b Merge "Initial Target-side VTS tests for Short Message Service(SMS) Radio Hal Apis" am: bcfabe7cb4 am: e8b7bbd3cb
am: 6d41084d60

Change-Id: Ie98504fe4b055b5bfaca9b4e5bbdc99eee337511
2017-03-08 22:12:26 +00: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
8f79d9e36c Merge "Removed the deprecated screen state API" am: c438414190 am: 243047c574
am: 1fd613fedb

Change-Id: I11ddba206b9e2a56a9aa804878415f33c334d970
2017-03-07 02:49:13 +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
a366070fba Fix build warnings in radio vts. am: 77c3822d6d am: f681d777e8
am: f081319585

Change-Id: Iad31b13747d3b6d76927840bfdc96b4122ccf533
2017-03-01 21:13:30 +00: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
34e4dbb3d3 Merge "VTS for icc radio hal Apis (patch 2)." am: 8d91af1096 am: 5b6e1c5bec
am: 631d2fc257

Change-Id: I0bc9e9d7631dad8a4828fab9ab5c6b5b50a14392
2017-03-01 18:08:35 +00:00
Sooraj Sasindran
51ec76ab14 Merge "Cell location information in registration info" 2017-03-01 18:06:18 +00:00
Sanket Padawe
8d91af1096 Merge "VTS for icc radio hal Apis (patch 2)." 2017-03-01 17:54:50 +00:00
Sooraj Sasindran
4d68c7b2a8 Cell location information in registration info
The data registration and voice registration states contain
large swaths of location information. While it seemed at first
blush we could remove that information, having synchronized
knowledge of when a registration has resulted in a cell change
provides valuable infomation. Cleanup registration response
using the same cell location structure that is being used
elsewhere in the interface to ensure that this method
always keeps sufficiently up-to-date information, without the
need to increasingly bloat it.

Test: Verified with updated qcril

Merged-In: Ib00063b6c3eed04da3f413c9dc1bcdff4750140e
Change-Id: Ib00063b6c3eed04da3f413c9dc1bcdff4750140e
2017-03-01 14:39:00 +00:00
Sooraj Sasindran
f87f65a26e Cell location information in registration info
The data registration and voice registration states contain
large swaths of location information. While it seemed at first
blush we could remove that information, having synchronized
knowledge of when a registration has resulted in a cell change
provides valuable infomation. Cleanup registration response
using the same cell location structure that is being used
elsewhere in the interface to ensure that this method
always keeps sufficiently up-to-date information, without the
need to increasingly bloat it.

Test: Verified with updated qcril

Merged-In: Ib00063b6c3eed04da3f413c9dc1bcdff4750140e
Change-Id: Ib00063b6c3eed04da3f413c9dc1bcdff4750140e
2017-02-28 20:45:09 -08:00
Jack Yu
8009f96fb9 Merge "Fixed that type of data call response status" am: 8e779c50e3 am: 81fc3ccc4d
am: d5b80aaedb

Change-Id: Ie2f6728ff2ba1cb71bb1287cc90cee0bb5aae7dd
2017-03-01 04:30:27 +00:00