Commit graph

479 commits

Author SHA1 Message Date
sqian
69cfb0aa38 Add Sim absent assertion in the 1.0 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: Ie09fb8bcedfd0b35b14f0a70952f44b6f6b082aa
2017-07-21 12:25:27 -07: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
Shuo Qian
657e3ee3b5 Merge "Update IRadioResponse.hal documentation" into oc-dev
am: 7c60d26763

Change-Id: Id237086ee33b9e79199e86b8f535ceb62459427d
2017-07-21 19:10:11 +00: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
Shuo Qian
0fb4201377 Merge changes from topic 'b/62584347' into oc-dr1-dev am: 696cb63064
am: 42e8b6e078

Change-Id: I8a060ba938a1b32b7e3da88e775a6b0ec1cfd67a
2017-07-19 19:03:04 +00:00
sqian
227fe277bf resolve merge conflicts of 6ecc54a7 to stage-aosp-master
Test: I solemnly swear I tested this conflict resolution.

Change-Id: I369fe9aacf37dcea6225b5e5a658159dfb859ad0
2017-07-18 14:12:10 -07:00
sqian
6ecc54a7ad 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-18 12:06:20 -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
Naina Nalluri
236e8e4b78 Change mapping of QMI error
Change mapping of QMI_ERR_OP_NETWORK_UNSUPPORTED
from MODE_NOT_SUPPORTED to OPERATION_NOT_ALLOWED.

Test: run vts
Bug: 62584347

Change-Id: I16a17579581f891701750b4be52cc2ef57594d0c
2017-07-17 15:56:56 -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
6e12e894c6 Add RadioIndication for Radio VTS test
am: e635772b01

Change-Id: I535ab37b19272575a8a53364d5332173479d92e0
2017-07-17 20:20:09 +00:00
Shuo Qian
03c9b102b7 Merge "Fix some VTS for 2017 devices" 2017-07-17 20:11:29 +00:00
sqian
e635772b01 Add RadioIndication for Radio VTS test
Fix 1.1 radio folder bug

Bug: 38499208
Test: run vts
Change-Id: I6d39ce258d5318ce06fc7c99dad4caf0a3e35415
Merged-In: I6d39ce258d5318ce06fc7c99dad4caf0a3e35415
2017-07-17 11:10:58 -07:00
Shuo Qian
271717d66e Merge "Add RadioIndication for Radio VTS test" into oc-dr1-dev am: 7e26812206
am: 31e712105d

Change-Id: I4d8055817149d4113f479940053c3b4ef015861c
2017-07-17 17:30:02 +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
sqian
cc27146298 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
2017-07-13 18:44:00 -07:00
sqian
83c6f03d59 Add radio 1.1 vts test folder.
am: c673a94a96

Change-Id: I9800dbb5789cc0db8df5ab2a31bdab50e016d618
2017-07-11 21:29:39 +00:00
sqian
c673a94a96 Add radio 1.1 vts test folder.
Bug: 38034125
Test: compile; adb shell compiled_vts_binary
Change-Id: I05d4f03db40ac712f120ac0e3e52301a6252f041
Merged-In: I05d4f03db40ac712f120ac0e3e52301a6252f041
2017-07-10 16:25:31 -07:00
Shuo Qian
fe255d5490 Merge "Update .hal file for radio 1.0 hal" into oc-dr1-dev am: c631963d4b
am: fd5c82b017

Change-Id: Idec7f8308e166491b524883e5473d996c89f4e2a
2017-06-29 03:38:28 +00:00
Shuo Qian
c631963d4b Merge "Update .hal file for radio 1.0 hal" into oc-dr1-dev 2017-06-29 03:28:46 +00:00
Shuo Qian
55967b136e Merge "Fix failure vts tests:" into oc-dr1-dev 2017-06-29 03:28:46 +00:00
Shuo Qian
71cabb6189 Merge "Add a new vts directory under 1.1 for radio 1.1 APIs vts tests." into oc-dr1-dev am: 00eb34b57a
am: 79762563bc

Change-Id: Ic2f2f0062e6e4f1733528700ab9abcbf2a60073c
2017-06-29 03:00:46 +00:00
sqian
017f15c2b0 Update .hal file for radio 1.0 hal
Test: compile, treehugger
Bug: 62584347
Change-Id: Ic595d9934d3d4e059cfa40c5f6da3f4cc97b3352
2017-06-28 14:44:41 -07:00
sqian
006a3c4b08 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
2017-06-28 21:37:05 +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
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
7c5cebb2e1 Update IRadioResponse.hal documentation am: 6381ac46aa
am: a255484f25

Change-Id: Id255f8ddf5893cc50648f84c741087c51dd743bc
2017-06-21 21:02:00 +00:00
sqian
6381ac46aa 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
2017-06-21 10:26:47 -07:00
Shuo Qian
01cb1ff6d7 Merge "Fix vts tests:" into oc-dev
am: 14b34e19d6

Change-Id: Ib2f1a77ece04254a73cdd69c9a46206593c5d4a9
2017-06-12 04:48:29 +00: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
sqian
2fb2eeaf36 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 16:07:55 -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
Shuo Qian
adeb85ac14 Merge "Add logs for some vts tests that running results seem not stable." 2017-06-09 15:20:19 +00:00
Shuo Qian
c1feed1128 Merge "Fix vts tests:" into oc-dev
am: dda2e8cdc2

Change-Id: I48640bc1b6225e39309f2832613986fce4a43754
2017-06-09 02:13:08 +00:00
Shuo Qian
50c1bfdb0c Merge "Fix vts tests:" into oc-dev
am: dda2e8cdc2

Change-Id: If80eae601d647f2fd943e98ddd411206375ec969
2017-06-09 02:13:08 +00:00
sqian
b2c12d664d Add logs for some vts tests that running results seem not stable.
Test: adb shell <vts binary>
Change-Id: I417bcc4789d0c0904eb40905c2f7b4005074be3b
2017-06-08 13:44:16 -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
1c87d14016 Fix some stk api Radio Vts tests.
am: 2ab0ec0626

Change-Id: Ib4063e3c10dbf161c9e8fa479dc6bb8c2345a6ac
2017-06-05 23:13:48 +00: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
4e49d8d43b resolve merge conflicts of 0e50326a to oc-dev-plus-aosp
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I91fb2abbee5db431e8dc5dbfc8fc9fe0b9179b0c
2017-05-31 15:27:25 -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
0e8a3be41c 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
2017-05-31 13:21:38 -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
Steven Moreland
67b9ae7d9c Merge "Update makefiles." am: 9119d4ccd1 am: 242b2288d7
am: c6da54569f

Change-Id: Ib7f7a9cdb64985d545443edac5bb8e9c169fc592
2017-05-20 00:19:40 +00: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
Steven Moreland
06c85d986a Update makefiles.
Adds default configuration to all hals.

Test: pass
Change-Id: Icdf6b56df82c4b7b7de815e7febea9a07ab96856
2017-05-18 16:14:16 -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
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
Steven Moreland
8e89a43590 Update makefiles for c++-sources and c++-headers. am: cb360c60d8 am: 4bd4e7fb3b
am: 127b116fe5

Change-Id: I3a2aa76acef0f0d1455bfad775e87e8089d357e8
2017-05-10 02:58:00 +00:00
Sanket Padawe
3ea42032f4 Merge "Update IRadioResponse.hal documentation to fix failing VTS" into oc-dev
am: 41ea816c9d

Change-Id: I3f9efd6422652efc967a9c8a5bda284f87a4a458
2017-05-10 02:41:46 +00: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
Steven Moreland
cb360c60d8 Update makefiles for c++-sources and c++-headers.
Test: pass
Bug: 38174080
Change-Id: I683455736eed35e6ced24e2763c2bdb5fb6c9601
2017-05-09 14:34:19 -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
Steven Moreland
f90189a79f Merge "Remove redundant dependencies" am: 62769b7196 am: 170e2e85a2
am: 5fba1db1d2

Change-Id: I661fff75d140b4359af055a0f08f08ef33c889c3
2017-05-01 23:37:04 +00:00
Treehugger Robot
62769b7196 Merge "Remove redundant dependencies" 2017-05-01 23:19:25 +00:00
Steven Moreland
ee1d248ae2 Remove redundant dependencies
android.hidl.base@1.0 and android.hidlmanager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I424371932af129bba9d58dcf8652c64297f35f05
2017-05-01 09:47:58 -07:00
Shuo Qian
4771c35ba9 Merge "Update .hal file for fixing vts tests" 2017-04-27 23:48:39 +00:00
sqian
d90c324243 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

(cherry picked from commit 01e7c6ee5f)
Merged-In: I9500c686a75539dab37f0272349bc2f965cc0a8f
Change-Id: I9500c686a75539dab37f0272349bc2f965cc0a8f
2017-04-27 16:11:38 -07:00
sqian
0c6a13a82c 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

Test: Manual
Bug: 35671595
(cherry picked from commit 159ec7fbf5)
Merged-In: I83831c222cb0d157d0aa06e48cf0a177ab0ecf31
Change-Id: I83831c222cb0d157d0aa06e48cf0a177ab0ecf31
2017-04-27 23:08:00 +00:00
Shuo Qian
e4f259f60c Merge "Update .hal file for fixing vts tests" into oc-dev
am: 05935a7e06

Change-Id: If0c731b2e1485b580e78b378e1d8cdc6d69b766e
2017-04-26 23:58:48 +00:00
Shuo Qian
6ca560881c Merge "Fix Vts errors" into oc-dev
am: 93d5836949

Change-Id: I9c3b7db8e75cf15f3231c60379bf0b1808cea972
2017-04-26 23:58:44 +00: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
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
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
Andreas Huber
a04af1cf05 Merge "Changed the naming scheme for Treble java libraries (both static and dynamic)" into oc-dev
am: 8afd952d48

Change-Id: If26dc4c5bb23ea23ed48d35aa8618e0b7f2825a3
2017-04-14 04:18:00 +00: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
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
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
Steven Moreland
8cc75b051e Merge "Update makefiles." am: bbf39eb0b9 am: 3334081377
am: 5306d88cad

Change-Id: Ie1ed999a4a11ea9767d09fca591c80db91102daf
2017-04-12 17:26:03 +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
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
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
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
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
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
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
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
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
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
Yuexi Ma
2e632af420 Merge "Add columns to namespace for vts target base test invocation" am: 7d32288474 am: 1639a26255
am: d605f70f05

Change-Id: I39a4f2a99a52973193247340f1eae980a4e9bf8f
2017-02-28 21:51:29 +00: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
Jack Yu
f06fd27628 Merge "Added the roaming flag for data call APIs" 2017-02-28 19:36:31 +00:00
Yuexi Ma
087c2df356 Merge "change all vts hidl tests to use VtsHalHidlTargetBaseTest" am: 5fd2ce668d am: 3d0093b8e9
am: 93b79bd172

Change-Id: I971ce47c3d1a02ba7540c7076487be958cdf73b1
2017-02-28 18:25:17 +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
Jack Yu
e1a4efce66 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
Change-Id: Ibd3ba5b4c829c90bb6f65562c6c024c237a2c642
2017-02-27 14:26:53 -08:00
Steven Moreland
1daad90b81 Remove viral dependency on libhwbinder. am: d28a3dce40 am: 444d759920
am: 5c605c8add

Change-Id: I54d6e5a0b38ef9eb507748fd38a8c508e0eb1948
2017-02-25 02:55:43 +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
Amit Mahajan
f07efb62fe Create separate interface for oem hook.
Test: Basic telephony sanity
Bug: 32020264
Bug: 34344851
Change-Id: I8908ce0c6b380c8f4260703fa43125dc03d24dbc
2017-02-22 14:09:20 -08:00
Tri Vo
cef9212a4a Remove .vts files. am: 7c04478044 am: 4ebeac1ee2
am: 242cb13104

Change-Id: I15b911d4ffd2af7dfe80cc11c74359bc14faa0d9
2017-02-22 20:51:00 +00:00
Tri Vo
7c04478044 Remove .vts files.
Test: mmma hardware/interfaces
Change-Id: I583aced174d4295cccfdf48b76502077fb16f9db
2017-02-22 10:50:59 -08:00
Tri Vo
f5672b61c0 Remove .vts spec files. am: 81f9968c71 am: bf4702ff68
am: adaf6869eb

Change-Id: I39871a4dea913f0d2165351037d049530a90ce5b
2017-02-22 03:13:54 +00: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
f6bf3484d4 Update the test binary and source file name. am: f7693eed97 am: a266d7bdeb
am: fbbf8ba2b1

Change-Id: I6b2b96b0f87e6fd960842f29cb1e800bd22418ca
2017-02-18 00:25:19 +00: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
5af256b554 Merge "Fix build because of addition of new Radio API to VTS." am: 801f78cc05 am: c75e2f8d6b am: cde49bb624
am: f92167fbf4

Change-Id: Ied80223d77825eac6c18c55aafee26222eab4841
2017-02-17 04:38:21 +00: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
71d78df1c5 Merge "Seed CL for radio VTS." am: 7d86d72356 am: d7814de27c am: 83e04fd3e9
am: 8833640eb3

Change-Id: Iadcaed5c0e456e1c4801ce18ec65c186c72ceec9
2017-02-16 23:58:51 +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
Sanket Padawe
e4c6323d08 Seed CL for radio VTS.
Test: VTS test succeeds
Bug: 32022332
Change-Id: I3127826cad4c97db9a8ff77bdb80ad1c848751c6
2017-02-16 13:47:46 -08:00
Jack Yu
d084d97f8f 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
Change-Id: Ib4204b9612fd9bc02bd99baebabf5ed7120e89fe
2017-02-16 10:39:39 -08:00
Steven Moreland
821b01c9fe update-makefiles.sh
There have been some changes to the way hidl-gen generates these and
some CLs got out of sync with hidl-gen.

Test: pass
Change-Id: I33c573499d5dd37de447902fd93929b80a5df371
2017-02-15 10:59:23 -08:00
Zhuoyao Zhang
3bef939f94 Update .vts files on master based on the latest .hal file and hidl-gen
Test: mma
Change-Id: I9558f300505db83e26f7c241c5cf729cd005a07b
2017-02-13 18:03:06 -08:00
Zhuoyao Zhang
8cf1b27b11 Merge "Update vts files on aosp." am: 248e3932fe am: 848e5db57f am: 832e7bd89a
am: 47497a0536

Change-Id: I2a66a8ef82ce6d93ad8ab274832dd3fdb15a0f95
2017-02-13 19:21:04 +00:00
Zhuoyao Zhang
248e3932fe Merge "Update vts files on aosp." 2017-02-13 19:09:48 +00:00
Zhuoyao Zhang
65c99d7f08 Update vts files on aosp.
* Based on the latest hidl-gen and .hal files.

Test: mma
      make vts.

Change-Id: I4765450d985afd552fe720d91b9ab3422f5b7a47
2017-02-12 13:51:06 -08:00
Amit Mahajan
0de66edb93 Add missing response function.
Test: None; only interface change.
Bug: 32020264
Merged-in: I28638f9371a6b09d72862a13a15d5f7e319d9337
Change-Id: I28638f9371a6b09d72862a13a15d5f7e319d9337
2017-02-11 01:58:53 +00:00
Tri Vo
85120c9490 Update makefiles to use filgroup syntax.
Test: mmma hardware/interfaces
Change-Id: I9f4457c78b7820c242d46359f0debe05d1b3e482
2017-02-10 12:45:19 -08:00
Amit Mahajan
be8ef538db Add missing response function.
Test: None; only interface change.
Bug: 32020264
Change-Id: I28638f9371a6b09d72862a13a15d5f7e319d9337
2017-02-10 04:54:02 +00:00
Tri Vo
4ce38bc27f Use filegroup as genrule srcs. am: 06da29ffae am: 5b43e2caa8 am: 831bfd746c
am: 6924f25a61

Change-Id: Iffa108b900ecbd2800090b5b1cdfc4fc65f63f3c
2017-02-10 02:36:00 +00:00
Tri Vo
06da29ffae Use filegroup as genrule srcs.
Test: mmma hardware/interfaces -j64
Change-Id: If282ed5f4a87045d169fcea7ad648b046a5f1cfb
2017-02-10 02:18:07 +00:00
Andreas Huber
c409e30da7 Updated makefiles am: 0574bacb2a am: f9c87639bf am: bf7b779b40
am: 238660c10a

Change-Id: I1600e1a693462fb99b684381860fa788867f45cf
2017-02-10 01:14:57 +00:00
Andreas Huber
0574bacb2a Updated makefiles
Java intermediates are now created in the common rather than the device-
specific generated sources subdirectory.

Bug: 33842609
Test: make
Change-Id: I16af4cd19bf0b24baa0ad9ebfdb86b4d959c8672
2017-02-09 16:56:56 -08:00
Tri Vo
ce608bec74 Migrate driver/profiler to test/vts-testcase/hal.
Bug: 34893894
Test: mmma hardware/interfaces

Change-Id: Ic72716577a5f93700c5056986aff55a76b170b5d
2017-02-07 19:13:28 -08:00
Tri Vo
bd397ba5e1 Merge "Remove vts driver/profiler build rules." am: 0f7a0678af am: 3b5f6dad56 am: 468446f91b
am: e9cf6ba378

Change-Id: I7e2fba48c44cdbdb6d87e6d54446986889be26cf
2017-02-08 01:05:09 +00:00
Treehugger Robot
0f7a0678af Merge "Remove vts driver/profiler build rules." 2017-02-08 00:12:24 +00:00
Jack Yu
ed7ef81069 HIDL change for Android O RIL update
1. Added two new API for screen state replacement.
2. Data call API refactoring work.

bug: 20125037, 32224135, 32223897, 32249926, 30282096, 30173958,
33653220
Test: Telephony sanity tests and unit tests

Merged-In: I6b266637914a85bd57c6a055c52c8ff4ced17e1f
Change-Id: I342b99bed8663d107052e791ac97949b34f7dd99
2017-02-06 14:04:47 -08:00
Tri Vo
ac9f1c02f3 Remove vts driver/profiler build rules.
Generate filegroups for .hal files so that driver/profiler build rules
can migrate to another project.

Bug: 34893894
Test: mmma hardware/interfaces -j32
Change-Id: Iefc98a6df16706fbb798bc32405fe8ff0c3de450
2017-02-06 13:54:41 -08:00
Keun Soo Yim
7b9b6ca18f move VTS stub files and non-functional tests
Test: mma
Bug: 34976004
Change-Id: I20273bdc3a05e2986fcf921f65d2afd6d72781e4
2017-02-04 02:45:25 +00:00
Jack Yu
921a0d163f Merge "HIDL change for Android O RIL update" 2017-02-03 23:29:55 +00:00
Zhuoyao Zhang
3590cc105e Merge "Support driver/profiler for all hals." am: a0ff9aca7a am: 2b741f188b am: fa531574ab
am: 3d5c20def5

Change-Id: Iccc715c11e0d380706d4bbb30ba2514dcf16b2ba
2017-02-03 02:23:34 +00:00
Jack Yu
ac2aec9b0a HIDL change for Android O RIL update
1. Added two new API for screen state replacement.
2. Data call API refactoring work.

bug: 20125037, 32224135, 32223897, 32249926, 30282096, 30173958,
33653220
Test: Telephony sanity tests and unit tests

Change-Id: I6b266637914a85bd57c6a055c52c8ff4ced17e1f
2017-02-02 11:36:42 -08:00
Zhuoyao Zhang
bd752892b3 Support driver/profiler for all hals.
* Update the make file to generate driver/profiler for hals.

Test: mma
Change-Id: I2a91d913b05beb8e1ecf28a205852f848ef1f5ee
2017-02-01 20:53:21 -08:00
Yuexi Ma
faad7891fb vts files for radio hal
Merged-In:I8bce0b3ce4874442638e4967b4b88fcd60497729
Test: mma
Change-Id: I8bce0b3ce4874442638e4967b4b88fcd60497729
(cherry picked from commit 689c6fb1b5)
2017-02-01 15:30:07 -08:00
Sanket Padawe
ee18b250f5 Merge "Removed TODOs from radio hal." am: c5447fce20 am: ca1388166a am: b2cdacaa6e
am: 1ef858b769

Change-Id: I1d7da242ff8297b01241e6de1a0c549924f56f08
2017-01-28 00:56:22 +00:00
Jack Yu
f346766c0c Fixed typos and incorrect types
Fixed typos, incorrect types for bitmap, and comment
alignment.

Test: Build
Merged-In: I51a99fa71877cfe168ee2cf31de702f36f57d013
Change-Id: I51a99fa71877cfe168ee2cf31de702f36f57d013
2017-01-28 00:46:52 +00:00
Sanket Padawe
fcf3654783 Removed TODOs from radio hal.
+ Opened new bug b/34683858 for addressing one of the TODO in P.

Bug: 34109705
Test: Removed only comments.
Change-Id: Ie78eacbc80def2df3ec448f14a89fbac185bf2af
2017-01-24 14:42:15 -08:00
Jack Yu
57a72ed3ed Fixed typos and incorrect types
Fixed typos, incorrect types for bitmap, and comment
alignment.

Test: Build
Change-Id: I51a99fa71877cfe168ee2cf31de702f36f57d013
2017-01-23 15:28:52 -08:00
Yuexi Ma
e98c0fa8aa vts test project init for radio hal
Test: ENABLE_TREBLE=true make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module RadioHidlTest -l INFO
Change-Id: I794108d253bbdfa36a8aa6db336127721a51a017
2017-01-13 19:51:11 -08:00
Treehugger Robot
cb5989d239 Merge "Bp/n/sFoo -> Bp/n/sHwFoo" 2017-01-12 01:50:58 +00:00
TreeHugger Robot
a8d358fb63 Merge changes from topic 'bphwfoo'
* changes:
  Bp/nFoo -> Bp/nHwFoo.
  Bp/nFoo -> Bp/nHwFoo
2017-01-11 23:43:16 +00:00
Yifan Hong
4bc69c918f Bp/nFoo -> Bp/nHwFoo
Bug: 33554989
Test: hidl_test
Change-Id: I748181e9eaf5b78318054b9fd99ac1a43d00498a
2017-01-11 13:04:15 -08:00
Amit Mahajan
24162d9dce Use backward compatible enum values. am: 2ab1a10678 am: 790e6d6fe0 am: 04dd3d3021
am: 9ad3abe72c

Change-Id: I7c8d55139e21ab4dad2033cee46a1930abe427fc
2017-01-11 03:13:36 +00:00
Amit Mahajan
2ab1a10678 Use backward compatible enum values.
Test: none
Bug: 32020264
Change-Id: I4a9da7650c959de590ceea84f24a0918f32edbdb
2017-01-10 17:17:07 -08:00
Yifan Hong
10ac9b44f5 Bp/n/sFoo -> Bp/n/sHwFoo
Bug: 33554989
Test: hidl_test
Change-Id: I748181e9eaf5b78318054b9fd99ac1a43d00498a
2017-01-10 16:01:46 -08:00
Yuexi Ma
689c6fb1b5 vts files for radio hal
Test: mma
Change-Id: I8bce0b3ce4874442638e4967b4b88fcd60497729
2017-01-09 13:04:12 -08:00
Amit Mahajan
347f07b5de Change list of applications in CardStatus from array to vec.
Test: none
Bug: 32020264
Change-Id: I39420333cd07126904f170487de4d45d630e3c26
2017-01-04 16:52:34 -08:00
Sanket Padawe
c13c371b45 Minor changes to telephony error codes in types.hal
Test: Basic build test.
Change-Id: I26227551794729d6643ec63d4a39bc0090240a52
2017-01-02 23:45:22 -08:00
Amit Mahajan
d7c7e641ef Minor fixes in IRadioIndication.hal
Test: none
Bug: 32020264
Change-Id: Ib8540a444c4b98ff033a8e2c519dd25e9b853c57
2016-12-29 15:32:09 -08:00
Sanket Padawe
865834e4d4 Clean up some fields and APIs in telephony HIDL interface.
Bug: 32020264
Test: Basic build test.
Change-Id: I1493d5b26ef678be14e71db7d6f93a9bfad52980
2016-12-28 16:04:10 -08:00
Amit Mahajan
fff290faa0 Minor updates to ISap hal.
Test: none
Bug: 32020264
Change-Id: I1cfb21cb4e30e71de6418aaaa9e13d8b2746d7b7
2016-12-27 10:44:59 -08:00
Sanket Padawe
441f2fda32 Merge "Add new RadioError in telephony hidl interface." 2016-12-14 20:03:51 +00:00
Yifan Hong
b85d8763c7 Update makefiles for Java package path.
use V1_0 instead of 1.0.

Bug: 33554192

Test: hidl_test_java
Change-Id: Ic2d95265df10914a60a5bb743d75e839948838c3
2016-12-13 18:06:24 -08:00
Sanket Padawe
c284e2768d Add new RadioError in telephony hidl interface.
Bug: 32020264
Test: no test
Change-Id: Ia41c9aa84cb8799394fa70e9a444ba58361121be
2016-12-13 11:22:32 -08:00
Sanket Padawe
1a7eae777b Add missing function to telephony HIDL interface.
+ fix some comments as per specs.

Test: No test
Bug: 32020264
Change-Id: If8e83a7465e608e28f7e149025da5ede30924602
2016-12-07 14:40:03 -08:00
Yifan Hong
e19e582bd5 Update makefiles for hidlizing IBase.
A new dependency android.hidl.base@1.0 is added for
all projects.

Also updated Android.mk for NFC hal (for java constants)

Test: mma

Change-Id: Ia70d0eb0d74de06475a339698386d383d491a43a
2016-12-03 01:08:59 -08:00
Steven Moreland
3e3a0998e0 Update makefiles for logging.
Bug: 32943424
Test: hidl_test
Change-Id: I86dc81935912861073497c07696378895a25f9ee
2016-11-21 16:19:57 -08:00
Yifan Hong
63544eacb6 Split libhidl into base and transport.
Bug: 32756130

Test: mma
Change-Id: Id21cf23abe2910f26bb7895511862443b93dc112
2016-11-18 09:52:57 -08:00
Sanket Padawe
d5e70d7f63 Merge "Add a missing RIL request in iRadio.hal" 2016-11-18 01:33:10 +00:00
Sanket Padawe
f6e345ac01 Add a missing RIL request in iRadio.hal
Test: no test

Bug: 32020264
Change-Id: I5b1584e5451c4c04e0a2902791140c4e7bd95549
2016-11-17 15:28:31 -08:00
Treehugger Robot
d91322ea43 Merge "Extend Telephony HIDL interface to include unsolicited RIL commands." 2016-11-09 23:58:36 +00:00
Sanket Padawe
a08c29cbf9 Extend Telephony HIDL interface to include unsolicited RIL commands.
Bug:32020264
Test: No test, only interface.
Change-Id: I242cfd3cffb43531025da37d079d7a68b55d7ca3
2016-11-09 14:21:31 -08:00
Colin Cross
8f084e00d6 Support genrules with multiple tools
To allow genrules with more than one tool, rename the tool property to
tools and make it an array, replace $tool with $(location <label>),
and use $() for other variables for consistency.

Bug: 31948427
Test: compare build.ninja
Change-Id: I3d714f70a2af0dc60faeee10e09b6ed166601f1d
(cherry picked from commit b785f5b82e)
2016-11-07 10:54:59 -08:00
Sanket Padawe
37c96a54e5 Merge "Extend HIDL interface for Radio (RIL)." 2016-11-04 17:34:37 +00:00
Sanket Padawe
d52335cb64 Extend HIDL interface for Radio (RIL).
+ All remaining solicited requests to radio covered.

Test: No test for the interface.
Bug: 32020264
Change-Id: I1ee21c01ec9676919a0e88dadc3be2e21a3459a5
2016-11-03 16:46:32 -07:00
Steven Moreland
7982058699 Running update-makefiles for fixed spacing.
Test: pass
Change-Id: I4dcaf70b1c014f3ecf685d4884601be6f17ee51d
2016-11-01 20:06:29 +00:00
Amit Mahajan
ed12ec86ee Initial version of BT SAP hal.
Test: No build issues. Interface only; nothing to test yet.

Bug: 32020264
Change-Id: I8ed46b5e39c37a9efe1593206f782a591f47c9b7
2016-10-28 12:21:31 -07:00
Sanket Padawe
76372496a7 Develop HIDL interface for radio (RIL).
Test: Only built the hidl interface as there isn't anything else to test.

Bug: 32020264
Change-Id: Ibf62feb9c562992cffb9ba6d1ec85a7e9c22f359
2016-10-27 13:20:49 -07:00
Steven Moreland
ce9779412a Update headers (for export shared lib headers)
Test: mma -j64
Bug: 32337293
Change-Id: I93e7cab90efac407525a1a5f2ad30f816a530e17
2016-10-22 00:28:00 +00:00
Amit Mahajan
4cb7b84aba Initial version of radio hal
Test: No build issues. Unused interface; nothing to test yet.

Bug: 32020264
Change-Id: Ie57eb43b777dadbc0b0350f2e33227be3f1d65f1
2016-10-10 14:36:50 -07:00