Commit graph

95 commits

Author SHA1 Message Date
Pankaj Kanwar
9af336425e Merge "RIL changes to allow the modem to query the framework for the key." 2017-04-27 17:41:58 +00:00
pkanwar
de1ac79c14 RIL changes to allow the modem to query the framework for the key.
BUG: 35606429
Test: manual
Change-Id: I7687d664c928de2325d50c3e9e7912f10aa37463
Merged-In: Ib1f5ee5f793f53901ad54bb6b6d4cb667dc720ab
2017-04-27 16:09:46 +00:00
Sanket Padawe
6287508ad3 Merge "Fix test case for setSimCardPower radio api." 2017-04-24 19:39:15 +00:00
Sanket Padawe
5c79ad2bf8 Fix test case for setSimCardPower radio api.
Bug: 35800570
Test: vts
Change-Id: I93e78c46971158cd14666931b527d8e268e0a39e
Merged-in: I93e78c46971158cd14666931b527d8e268e0a39e
2017-04-21 16:58:19 +00:00
Andreas Huber
6733baff6c 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:16:27 -07:00
Treehugger Robot
bbf39eb0b9 Merge "Update makefiles." 2017-04-12 17:13:52 +00:00
Sanket Padawe
f7c337546a Merge "Update Radio and Sap service name in VTS." 2017-04-12 17:08:02 +00:00
Steven Moreland
0dd5ba23fb Update makefiles.
Test: pass
Change-Id: I5cf42c8ff1e11207394e4852ba0bd03e4e3b7d2e
2017-04-11 16:41:07 -07:00
Sanket Padawe
bc959a5897 Update Radio and Sap service name in VTS.
Bug: 37164398
Test: VTS tests pass.
Change-Id: I71562e5b9709166695d08a96a04928027dcb4ee7
Merged-in: I71562e5b9709166695d08a96a04928027dcb4ee7
2017-04-11 11:07:25 -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
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
ca02ad4c3a Add VTS tests for Sap Apis.
Bug: 32022332
Test: vts
Change-Id: I9a55978aa485a59510090f46a8e5edfb87bccc0e
2017-03-29 16:01:38 -07:00
Andreas Huber
3e4acb8b3a Convert all comments into "doxygen-ready" comments.
Bug: 36453077
Test: make
Change-Id: Ic77394d4d2e1ccedba3a28230d870c5d6108bd40
2017-03-28 16:10:42 -07:00
Steven Moreland
e90c31f125 Update makefiles.
Test: pass
Change-Id: I925baccbe51a32b7b7f3f66cf2918d017ee6b039
2017-03-24 21:50:45 -07:00
Shuo Qian
2d0b636b29 Merge "Remove GENERIC_FAILURE and INVALID_ARGUMENT for Api documentation" 2017-03-24 17:21:18 +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
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
Treehugger Robot
69c546ba21 Merge "Add VTS test for misc RIL apis." 2017-03-17 23:15:14 +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
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 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
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
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
Sanket Padawe
1512edb314 VTS for icc radio hal Apis (patch 2).
Test: vts
Change-Id: I24a08f82bcca5bd48c268d72c75059e614931ea0
2017-02-28 18:00:49 -08:00
Jack Yu
60c64bf75f Fixed that type of data call response status
Fixed the incorrect type for SetupDataCallResult.status.
Changed the type from int_32 to DataCallFailCause

Test: Telephony sanity tests
bug: 32224135
Change-Id: I152872a83f61a1829c67a4d7effed4ce4113087f
2017-02-28 15:33:03 -08:00
Treehugger Robot
7d32288474 Merge "Add columns to namespace for vts target base test invocation" 2017-02-28 20:59:12 +00:00
Yuexi Ma
93d2541aae Add columns to namespace for vts target base test invocation
Test: make vts
Change-Id: Ia0284fbc11eadef572dd510bb5847160852bd517
2017-02-28 20:49:00 +00:00
Jack Yu
85ac3707bc Merge "Added the roaming flag for data call APIs" 2017-02-28 20:47:02 +00:00
Yuexi Ma
178dfd5e29 change all vts hidl tests to use VtsHalHidlTargetBaseTest
Bug: 33385836
Test: mma
Change-Id: I660d6e0fce6422d87d4b227273a77c95d20ed3f2
2017-02-28 07:59:59 +00:00
Jack Yu
439a6e7537 Added the roaming flag for data call APIs
Added the roaming flag for supporting the old vendor
RIL. This parameter is just for backward compatibility
reason. The radio modem should not use it.

Test: Telephony sanity tests
bug: 32224135

Merged-In: Ibd3ba5b4c829c90bb6f65562c6c024c237a2c642
Change-Id: Ibd3ba5b4c829c90bb6f65562c6c024c237a2c642
2017-02-28 05:26:48 +00:00
Steven Moreland
d28a3dce40 Remove viral dependency on libhwbinder.
find hardware/interfaces -name Android.mk -exec sed -i -e '/libhwbinder
\\/d' {} \;
find hardware/interfaces -name Android.bp -exec sed -i -e
'/"libhwbinder"/d' {} \;
./hardware/interfaces/update-makefiles.sh

Test: everything links
Test: (sanity) booted marlin on internal master with these changes
Bug: 35710429
Change-Id: I6b0b5ae318422b7a9be17a19a79e039ffc0f9272
2017-02-24 12:01:06 -08:00
Amit Mahajan
3e68341169 Create separate interface for oem hook.
Test: Basic telephony sanity
Bug: 32020264
Bug: 34344851
Merged-in: I8908ce0c6b380c8f4260703fa43125dc03d24dbc
Change-Id: I8908ce0c6b380c8f4260703fa43125dc03d24dbc
2017-02-23 10:27:03 -08:00
Tri Vo
7c04478044 Remove .vts files.
Test: mmma hardware/interfaces
Change-Id: I583aced174d4295cccfdf48b76502077fb16f9db
2017-02-22 10:50:59 -08:00
Tri Vo
81f9968c71 Remove .vts spec files.
Test: mmma hardware/interfaces
Change-Id: Iabbcd336d37ceb58ea4cc649ee5c104424494513
2017-02-21 15:55:00 -08:00
Tri Vo
386710e2f0 Update .vts files.
Test: make vts
Change-Id: Ie8526df051b631797b9f9b75acbeab8807f904d7
2017-02-21 13:53:10 -08:00
Zhuoyao Zhang
f7693eed97 Update the test binary and source file name.
* To confirm with Vts naming convention.

Bug: 35273456
Test: mma
Change-Id: Ide6d9d15618e65d8cb74363f3a8acd52609cd0dd
2017-02-17 10:34:33 -08:00
Sanket Padawe
680564a69f Fix build because of addition of new Radio API to VTS.
Test: Tested build success. mma over hardware/interfaces/radio/1.0/vts

Change-Id: Ie4258573367c7448b1689010492c34e03124384d
2017-02-16 18:13:10 -08:00
Treehugger Robot
aefd232011 Merge "Added the new RIL request to set SIM power state" 2017-02-17 01:13:26 +00:00
Sanket Padawe
7d86d72356 Merge "Seed CL for radio VTS." 2017-02-16 23:38:03 +00:00
Jack Yu
a2118695d9 Added the new RIL request to set SIM power state
The new RIL request for powering up/down the SIM card.

Test: Telephony sanity tests
bug: 32224755
Merged-In: Ib4204b9612fd9bc02bd99baebabf5ed7120e89fe
Change-Id: Ib4204b9612fd9bc02bd99baebabf5ed7120e89fe
2017-02-16 22:02:08 +00:00