Commit graph

6097 commits

Author SHA1 Message Date
Ruchi Kandoi
029633dcd0 nfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0
Bug: 64245250
Test: run vts test
Change-Id: I4ca434fb1fb44a6278942f020ddd02b162d7f605
(cherry picked from commit c901276e60)
2017-08-03 09:26:02 -07:00
Steven Moreland
c716b8c307 Update makefiles for vndk enabled.
Test: none
Bug: 63866913
Change-Id: I29174fdadca2828455ef49f14e53bc95c5238dbb
2017-08-02 18:00:14 -07:00
Tri Vo
f5d136c231 Update Android.bp HIDL makefiles
Allow HAL definition libs to be static.

Bug: 32920003
Bug: 64040096
Test: update-all-google-makefiles.sh
Change-Id: I1483d572bea6799717d1614fb7d52fe225e31104
2017-08-03 00:30:01 +00:00
TreeHugger Robot
7dcc345b64 Merge "Update HIDL makefiles." into oc-mr1-dev 2017-08-02 22:31:27 +00:00
Tomasz Wasilczyk
9214894ebc Linguistic fixes for broadcastradio 1.1 HAL.
Bug: b/64113304
Test: it builds
Change-Id: I5d5d090a44146e327d7b0f69cc2ba97060f3b515
2017-08-02 13:35:09 -07:00
Steven Moreland
208a586cf8 Update HIDL makefiles.
Allow them to be static.

This is required for a couple of reasons:
- enabling HIDL passthrough in recovery
- enabling VTS tests to be static blobs

Bug: 32920003
Bug: 64040096
Test: update-all-google-makefiles.sh
Merged-In: I1b2401fb273ab80819e3870aa71fe742269674ba
Change-Id: I1b2401fb273ab80819e3870aa71fe742269674ba
(cherry picked from commit 7206708528)
2017-08-02 12:52:41 -07:00
Michael Butler
dfc529dfef Add OWNERS file to Neuralnetworks VTS test directory
Added all six Neuralnetworks team members and two VTS team members

Bug: 63905942
Bug: 63525563
Test: Not needed
Change-Id: I87a2968af5ceec656e8f392cc0291689e66fef5d
2017-08-02 00:21:06 -07:00
Ram Mohan M
bf556d1b91 bug fix: output colorformat configuration fixed
The eColorFormat field in OMX_PARAM_PORTDEFINITIONTYPE structure
has no effect on the component. This has to be configured from
OMX_VIDEO_PARAM_PORTFORMATTYPE. This is corrected. This color format
information is passed to graphic buffer during its allocation

Bug: 63796949
Change-Id: I51b1e59631647d1291ecfac373781ac5e5a0ffd5
2017-08-01 20:10:41 -07:00
Yin-Chia Yeh
b026c45b29 Merge "Camera: reset callback after test done" into oc-dev am: 72ff9a1e38 -s ours
am: e2f3270db5  -s ours

Change-Id: I1007702b75ad0e0065ee14691a2984afe688fbd5
2017-08-02 01:23:38 +00:00
TreeHugger Robot
35adbc2a4d Merge "bug fix: handle OMX_EventBufferFlag events" into oc-mr1-dev 2017-08-02 01:22:25 +00:00
Yin-Chia Yeh
e2f3270db5 Merge "Camera: reset callback after test done" into oc-dev
am: 72ff9a1e38  -s ours

Change-Id: I4cf59eaf2e9583af574d50f9ddb830eb34e3356d
2017-08-02 01:19:33 +00:00
sqian
d70c51cdae resolve merge conflicts of 345a396c to oc-dr1-dev
am: a6e57a9647  -s ours

Change-Id: I20dc609d760162f16780115f3af2c8635662f1b5
2017-08-02 01:19:32 +00:00
Ram Mohan M
5b25fa66ca bug fix: android list management in dequeueMsg()
1. use erase() to update iterator as it is safer
2. correct abstime (delayUs) for waitRelative() call

Bug: 63796949
Change-Id: I3aece23a6bf4bd33aebfeecd070214911b58c75b
2017-08-01 17:46:48 -07:00
Enrico Granata
8864792125 Fix a typo in one of the OBD2 ignition monitors
Test: build
Bug: 64024685
Change-Id: Iab438e53ef71e61a4f58af48171bb0151a602fd6
2017-08-01 16:58:51 -07:00
Michael Butler
9154eae534 Merge changes from topic 'nnapi_hal_move' into oc-mr1-dev
* changes:
  Initial VTS tests for Neural Networks HAL.
  Move neuralnetworks HAL to hardware/interfaces
2017-08-01 23:28:18 +00:00
Tomasz Wasilczyk
b8a2afe446 Address Broadcast Radio HAL review notes.
Bug: b/64229617
Test: instrumentation, VTS
Change-Id: I4009b33eaea6df585f514711f22dfb7fec5ad379
2017-08-01 14:53:43 -07:00
TreeHugger Robot
72ff9a1e38 Merge "Camera: reset callback after test done" into oc-dev 2017-08-01 21:40:35 +00:00
sqian
a6e57a9647 resolve merge conflicts of 345a396c to oc-dr1-dev
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I5d816e17b2c8b113d07bf5e827d8c9378af761d9
Merged-In: I5d816e17b2c8b113d07bf5e827d8c9378af761d9
2017-08-01 12:25:53 -07:00
Sanket Padawe
d7f198c9ab 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-08-01 11:57:32 -07:00
TreeHugger Robot
5b41d1181a Merge "Add owners for radio vts." into oc-mr1-dev 2017-08-01 18:05:37 +00:00
Shuo Qian
345a396c18 Merge "Add EMPTY_RECORD for getDeviceIdentity" into oc-dev 2017-08-01 17:55:32 +00:00
Shuo Qian
5d622ba374 Merge "Add EMPTY_RECORD for getDeviceIdentity" into oc-mr1-dev 2017-08-01 17:00:06 +00:00
Steven Thomas
4492a30e14 Guard against racy ComposerClient reconnection
The hardware composer service has a rule that only one client can be
connected at a time. The surface flinger process, when transitioning
composer ownership from surface flinger to vr flinger, will destroy the
current client on one thread and create a new client on another
thread. Although surface flinger ensures that these events happen in the
expected sequence (delete then create), the requests sometimes land in
the hardware composer service in inverted order, causing the creation
request to fail with an error.

Instead of failing with an error, block for a brief period (1 second)
until the existing client is removed, then proceed to initialize the new
client. This gives us enough time to ensure an inverted
creation/destruction order doesn't cause client creation to fail, while
avoiding a deadlock if the existing client is never destroyed.

Bug: 62925812

Test: - Transitioned to/from vr flinger hundreds of times, and confirmed
I no longer see sporadic composer client creation failure due to an
already existing client.

- Ran the vts graphics composer tests and confirmed they all pass.

Change-Id: I40be1fb0cb3d42ddb5a9fc159188886e9f5b6267
2017-07-31 18:38:01 -07:00
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
sqian
7a47d2d0be 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:55:49 -07:00
Michael Butler
bb4ff6557f Initial VTS tests for Neural Networks HAL.
This CL has the basic framework for the NNAPI VTS tests with one
positive function test for each HAL function. This CL is being uploaded
now because the NN API HAL files are being moved to hardware/interfaces.

Bug: 63905942
Bug: 63525563
Test: mm -j40
Test: vts-tradefed runs and passes
Change-Id: I8f3d606ec50a6a6d110c89132e6fb89f53f3bf48
2017-07-31 17:49:28 -07:00
TreeHugger Robot
c2fa0484ed Merge "Improvements to the documentation for the OBD2 properties" into oc-mr1-dev 2017-08-01 00:40:56 +00:00
Shuo Qian
1ab1eabf7c Merge "Add corresponding error code to fix vts test" into oc-dev am: 417af3a797 -s ours
am: ec37054b9e  -s ours

Change-Id: I8f854a94599c2ef407093859da15abd7d12adae9
2017-08-01 00:27:53 +00:00
Shuo Qian
ec37054b9e Merge "Add corresponding error code to fix vts test" into oc-dev
am: 417af3a797  -s ours

Change-Id: I98205a431af725626f8f692d9b69d4c4c1f6fe5b
2017-08-01 00:25:20 +00:00
Shuo Qian
76caf3d874 Merge "Add corresponding error code to fix vts test" into oc-dr1-dev
am: a20caf7720  -s ours

Change-Id: Ia6bc616f91773496324f3e4a4bf3d01551519ff4
2017-08-01 00:25:20 +00:00
Shuo Qian
417af3a797 Merge "Add corresponding error code to fix vts test" into oc-dev 2017-08-01 00:19:48 +00:00
Shuo Qian
a20caf7720 Merge "Add corresponding error code to fix vts test" into oc-dr1-dev 2017-08-01 00:19:33 +00:00
Kevin Rocard
f088e57008 Merge "Audio policy config xsd: add missing gains and address in ports" into oc-dev am: 90e68d31cf
am: e93e38a91d

Change-Id: I9c1c4929b4edeebd8e3d1173312e07f62ad29fc0
2017-08-01 00:08:46 +00:00
Kevin Rocard
e93e38a91d Merge "Audio policy config xsd: add missing gains and address in ports" into oc-dev
am: 90e68d31cf

Change-Id: I0aa31b2996c8aae97d0b7ba16d9943f47d70a1fe
2017-08-01 00:05:16 +00:00
TreeHugger Robot
90e68d31cf Merge "Audio policy config xsd: add missing gains and address in ports" into oc-dev 2017-07-31 23:56:02 +00:00
TreeHugger Robot
e2a3ca9cac Merge "Rename and Redoc VMS HAL defs." into oc-mr1-dev 2017-07-31 23:30:13 +00:00
Sanket Padawe
fd8cc38275 Add owners for radio vts.
Test: vts
Fix: 64220334
Change-Id: I255d4fd9ed4416254c6897b0f314f65feacb04d6
2017-07-31 14:21:49 -07:00
Sohani Rao
ff16a48057 Merge "Wifi Offload HAL: Improve VTS tests for scanConfig" into oc-dr1-dev
am: cf43256fa9

Change-Id: I4c6a33f61d9278edc8640564bb151a347f69c17f
2017-07-31 19:59:30 +00:00
TreeHugger Robot
cf43256fa9 Merge "Wifi Offload HAL: Improve VTS tests for scanConfig" into oc-dr1-dev 2017-07-31 19:52:44 +00:00
Shuo Qian
de8b8c2abf Merge "Add corresponding error code to fix vts test" into oc-mr1-dev 2017-07-31 17:40:52 +00:00
Tomasz Wasilczyk
084351dcb2 Merge "Refine broadcastradio HAL comments." into oc-mr1-dev 2017-07-31 17:12:06 +00:00
Asaf Rosenfeld
01d10a11cf Rename and Redoc VMS HAL defs.
Test: All tests has been adjusted to post review names and pass.
Bug: 64093467
Change-Id: I7b5646b179030b59b87abc23ffe6a2a81e1b74b2
2017-07-31 16:40:42 +00:00
Emilian Peev
1a8ec1b8c8 Merge "NO PARTIAL RERUN Camera: Update stream consumer usage flag" into oc-dev am: 456dc6cc86 -s ours
am: 7bf57e857b  -s ours

Change-Id: Icc0eee8c4b944bb09c95eb9842db25f5206dde85
2017-07-31 16:31:15 +00:00
Emilian Peev
7bf57e857b Merge "NO PARTIAL RERUN Camera: Update stream consumer usage flag" into oc-dev
am: 456dc6cc86  -s ours

Change-Id: I10d00cc7a42127f5235a97dc72f76e608dfb5fea
2017-07-31 16:28:15 +00:00
Emilian Peev
274d228f4f Merge "Camera: Update stream consumer usage flag" into oc-dr1-dev
am: 48e25765d1  -s ours

Change-Id: Ie7acfad590d5069717373f2a79c1cbe5372bee0d
2017-07-31 16:28:15 +00:00
TreeHugger Robot
456dc6cc86 Merge "NO PARTIAL RERUN Camera: Update stream consumer usage flag" into oc-dev 2017-07-31 16:22:23 +00:00
TreeHugger Robot
48e25765d1 Merge "Camera: Update stream consumer usage flag" into oc-dr1-dev 2017-07-31 16:21:44 +00:00
Yin-Chia Yeh
80fefeb6d8 Camera: fix various VTS issues am: a0dd95d45d -s ours
am: 63a9a98152  -s ours

Change-Id: I5a30edc586f326874304762b93cb1158ecb4ff5e
2017-07-31 08:58:46 +00:00
Yin-Chia Yeh
63a9a98152 Camera: fix various VTS issues
am: a0dd95d45d  -s ours

Change-Id: Ib438269494c5c25f1759f7ec016cbca97bec9072
2017-07-31 08:55:46 +00:00
Emilian Peev
d9a7d3cd95 NO PARTIAL RERUN Camera: Update stream consumer usage flag
It is possible that the current default consumer usage
flag may not be supported by some provider implementations.
Use either HW composer or some other flag that is appropriate
for the specific use case.

Merged-In: I04f89bf67166805191d6d40e5bd93c15ebc97ea6
Bug: 63913159
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --primary-abi-only --module
VtsHalCameraProviderV2_4Target -l INFO

Change-Id: I04f89bf67166805191d6d40e5bd93c15ebc97ea6
2017-07-31 09:36:56 +01:00