Commit graph

6178 commits

Author SHA1 Message Date
TreeHugger Robot
0a21415efa Merge changes from topic 'hidl-vndk-enabled-oc-mr1' into oc-mr1-dev
* changes:
  Mark hidl utils as vndk
  Manually update makefile for vndk-sp hidl libs.
  Update make file for vndk enabled.
2017-08-05 02:01:37 +00:00
Tri Vo
c0d5b9bbb8 Merge "Wifi supplicant test statically links to dependencies." into oc-mr1-dev 2017-08-04 23:07:26 +00:00
sqian
aad486b1b0 Add me into owners of radio vts
Test: no need
Bug: 64220334
Change-Id: I2a9b82ee1562859827a844e729451f6d03c4e592
2017-08-04 14:48:55 -07:00
Tomasz Wasilczyk
c2342f170d Merge "Pass vendor-specific info as map." into oc-mr1-dev 2017-08-04 21:12:15 +00:00
TreeHugger Robot
3bb18be633 Merge "Implement comments from API review" into oc-mr1-dev 2017-08-04 20:40:34 +00:00
Tomasz Wasilczyk
dd130660d3 Pass ProgramInfo over currentProgramInfoChanged and drop afSwitch_1_1.
Bug: b/64229617
Test: VTS, instrumentation
Change-Id: Id2d209a31d801f85e197312673eb6b7ee63ada46
2017-08-04 12:14:53 -07:00
Tri Vo
0cd9782665 Neural networks test static links to HAL def libs.
Bug: 64040096
Test: compiles
Change-Id: I87d26a93fa28d7cd93176489a0d0556b7350f1ed
2017-08-04 10:55:31 -07:00
Tri Vo
48f8e5d6be Wifi supplicant test statically links to dependencies.
This test now statically links to libs not guaranteed to be on the
device.

Bug: 64040096
Test: compiles
Change-Id: I986e61835e641e15bdad0ff9571ee8ffa59b2a46
2017-08-04 10:36:10 -07:00
Justin Yun
eff28dc3ba Mark hidl utils as vndk
As a VNDK module, Android.bp must have 'vndk' tag as well as
'vendor_available: true'.

The 'vndk' tag for VNDK module is formated as below:
vndk: {
    enabled: true,
},

VNDK modules will be installed both in system/lib(64) as normal and
in system/lib(64)/vndk as a vendor variant.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Change-Id: If0eb0c1bddfa5bdc7ea0ca4635d4e53b59836582
2017-08-04 15:25:13 +09:00
Justin Yun
f2bd6c12a2 Manually update makefile for vndk-sp hidl libs.
vndk-sp is not automatically tagged by hidl-gen.
For vndk-sp libs, "support_system_process: true" is manually added
in "vndk" property.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Change-Id: I2b18d691411e58dc55bcdfa39ecb3659242c8437
2017-08-04 14:40:55 +09:00
Justin Yun
608d773ef8 Update make file for vndk enabled.
Update the Android.bp generated with hidl-gen.

Test: build with and without BOARD_VNDK_VERSION=current
Bug: 63866913
Change-Id: I1a9db1df49e0f13c5790da2b118ae9ec63ba34a7
2017-08-04 14:12:23 +09:00
Steve Paik
ec73701e4c Implement comments from API review
Bug:  64372008
Test:  Fix comments
Change-Id: Ia2bc0ae4c45015e7965b544f5d46f7e2a3ff0e2a
2017-08-03 19:36:29 -07:00
Tomasz Wasilczyk
fa3a559d86 Pass vendor-specific info as map.
This solves a problem of identifying, if a given application is talking
to a hardware that can handle format of these strings.

Bug: b/64229617
Test: VTS, instrumentation
Change-Id: If1a5f9900800b8537ef158beefcbaf3c1008c3da
2017-08-03 18:21:47 -07:00
TreeHugger Robot
d9b12c13e5 Merge "Update makefiles for vndk enabled." into oc-mr1-dev 2017-08-04 00:52:06 +00:00
Tri Vo
8da14867cf Remove unused variables.
Test: compiles
Change-Id: Idf7631f98ad4e04f4a43e66161ba27e93d180241
2017-08-03 17:32:26 -07:00
Tomasz Wasilczyk
9da1f3be59 Merge "Implement missing broadcastradio 1.1 VTS tests." into oc-mr1-dev 2017-08-04 00:11:02 +00:00
Enrico Granata
7f7a54ee3b Mark diagnostic values as either being numerically equivalent to OBD2 values, or providing the equivalent OBD2 value
Test: build
Bug: 64024685
Change-Id: I24ef13514a94e10c599605e6970a023168774049
2017-08-03 23:53:38 +00:00
Tri Vo
1ef659eeda Update comments for VtsHalTargetTestDefaults.
Bug: 64040096
Test: only comments added
Change-Id: I4a38aa0ed339c65aa4ffbe5c46489f27c745d5d6
2017-08-03 16:44:29 -07:00
TreeHugger Robot
f227b7218e Merge "VTS tests now static link to HAL def libs." into oc-mr1-dev 2017-08-03 22:57:50 +00:00
TreeHugger Robot
d182bb10e0 Merge "Add cc_defaults VtsHalTargetTestDefaults" into oc-mr1-dev 2017-08-03 22:29:24 +00:00
Peng Xu
31e5bf8d93 Skip direct report test if sensor is not available
Skip SensorsHidlTest.*AshmemDirectReportOperation* tests if sensor
is not available on device.

Bug: 64230704
Test: compiles and test pass for a pixel device with mag sensor
      masked in hal.

Change-Id: I9bfbea6301891eaa2b272bd3d15b0e237799b5d6
2017-08-03 22:23:02 +00:00
TreeHugger Robot
72c691df3c Merge "Fix a typo in one of the OBD2 ignition monitors" into oc-mr1-dev 2017-08-03 21:58:52 +00:00
Tri Vo
35c7bd2e2b VTS tests now static link to HAL def libs.
And use VtsHalTargetTestDefaults.

Bug: 64040096
Test: compiles
Merged-In: I3cfb1a64f6abcf3145337a736800b72d92a0b152
Change-Id: I3cfb1a64f6abcf3145337a736800b72d92a0b152
(cherry picked from commit 6c2bd86f70)
2017-08-03 13:28:08 -07:00
Tri Vo
f7c2fbc1a8 Add cc_defaults VtsHalTargetTestDefaults
Makes it easier to control how vts tests link to system libs.
Also, removes a lot of redundant lines in test make rules.

Bug: 64040096
Test: compiles
Merged-In: I10796e3fa8f61a307dbb7edace537a96ec83bea7
Change-Id: I10796e3fa8f61a307dbb7edace537a96ec83bea7
(cherry picked from commit 0b19836cea)
2017-08-03 13:27:33 -07:00
Tomasz Wasilczyk
dd58770c39 Implement missing broadcastradio 1.1 VTS tests.
Bug: b/36864490
Test: VTS
Change-Id: Iff25fdd65624db09e6667d32108e479d5eee6964
2017-08-03 12:59:12 -07:00
Ruchi Kandoi
9138b4cec5 nfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0 am: 029633dcd0
am: 781ce91bcd

Change-Id: I01ff9b7452ce6a2b5b77cb4cd5a67074c7e372b0
2017-08-03 19:10:09 +00:00
Ruchi Kandoi
781ce91bcd nfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0
am: 029633dcd0

Change-Id: I7377ba90f9fe42f3d2880c5c9e6f494203050213
2017-08-03 19:04:38 +00:00
Chia-I Wu
58fbba63b7 Merge "graphics: ignore/reduce spurious vsync in VTS" into oc-dr1-dev
am: d1231716d3

Change-Id: I6dae4a4f7e287abd7438ece780cefca2bf19ac39
2017-08-03 17:46:34 +00:00
TreeHugger Robot
d1231716d3 Merge "graphics: ignore/reduce spurious vsync in VTS" into oc-dr1-dev 2017-08-03 17:35:26 +00:00
Tomasz Wasilczyk
e16fb74b05 Merge "Linguistic fixes for broadcastradio 1.1 HAL." into oc-mr1-dev 2017-08-03 16:54:54 +00:00
Tomasz Wasilczyk
b75bb41575 Merge "Address Broadcast Radio HAL review notes." into oc-mr1-dev 2017-08-03 16:52:31 +00:00
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