Commit graph

7604 commits

Author SHA1 Message Date
Scott Randolph
e3fb7e7acb Unfreeze automotive HALs
Test:  Build development platform
Change-Id: I7b5708163680526cb227cbf19b0b4a37b96736ba
2017-12-14 16:05:53 -08:00
Steven Moreland
3bcfa475e2 Test for vec<union> vec<struct w/ union>.
Bug: 31973802
Test: hidl_test
Change-Id: I4367f1f525caa8d1edb95b7bfdac78f21b234576
2017-12-14 16:02:46 -08:00
Yifan Hong
e6ce990acb Specify FCM Version in compatibility matrices.
FCM Version should not be tied to the name of the file.

Test: boots
Bug: 69636193
Change-Id: Ic199f3f479dfdc3a2309a28dc546d4a79fba2d52
Merged-In: Ic199f3f479dfdc3a2309a28dc546d4a79fba2d52
2017-12-14 15:34:37 -08:00
Yifan Hong
48952110c7 Revert old matrices back to DR / MR1.
legacy/26/27.xml ("old matrices") should not be changed once
published.

The requirements / HAL usage information are now encompassed in
multiple matrices (instead of a single compatibility_matrix.V.xml).
For example, the usage of HALs on Shipping FCM Version 26 is:
* Required HALs in 26.xml
* Using all required + optional HALs in 26.xml/27.xml/...

In particular,

* Starting at 26.xml (diff legacy 26), gatekeeper is required.
* Starting at 27.xml (diff 26 27),
   - broadcastradio@1.0 => 1.0-1
   - introduce cas@1.0
   - introduce oemlock@1.0
   - power@1.0 => 1.0-1
   - radio@1.0 => 1.0-1
   - introduce tetheroffload.config@1.0
   - introduce tetheroffload.control@1.0
   - thermal@1.0 => 1.0-1
   - usb@1.0 => 1.0-1
   - vibrator@1.0 => 1.0-1
   - wifi@1.0 => 1.0-1
   - introduce weaver@1.0
   - introduce wifi.offload@1.0

health@2.0 and configstore@1.1 is not specified
in legacy/26/27.xml, but framework can still use them, since they
are introduced in current.xml.

Test: boot test

Bug: 69861676
Change-Id: I897df6952245a8ce33e1c63264c3970b0483c2f7
Merged-In: I897df6952245a8ce33e1c63264c3970b0483c2f7
2017-12-14 15:34:37 -08:00
Nathan Harold
9acbfc2e6b Fix a typo in Enhanced Network Scan Request
Change RADIO_ACCESS_SPEFICIER_MAX_SIZE to
RADIO_ACCESS_SPECIFIER_MAX_SIZE

Bug: 63865942
Test: compliation
Change-Id: Idabac6ab42c90353a83d32483be46c77a85b7f1d
2017-12-14 13:13:22 -08:00
Jiyong Park
e514a4b8a8 android.hardware.graphics.allocator@2.0 is no longer VNDK-SP
The interface lib has been in VNDK-SP because
android.hardware.graphics.mapper@1.0 was using it. However, since the
dependency has gone [1], there is no need keep it in VNDK-SP. The
VNDK-SP set should be kept as small as possible because libs in VNDK-SP
are subject to double-loading.

Unmark the 'support_system_process' property to exclude the lib from
VNDK-SP.

This commit re-lands I8722c1ac15ddf56a627a12a0c649b4d734e5e5cd because
it was reverted during O-MR1 push to AOSP-master.

Bug: 69480083
Test: walleye boots to the UI
Change-Id: I0af8115dceb9711c6c451ffaeedda6c823ec2905
Merged-In: I8722c1ac15ddf56a627a12a0c649b4d734e5e5cd
(cherry picked from commit ec44d18dbe)
2017-12-13 11:58:24 +08:00
Chia-I Wu
cdc287ba06 graphics: improve PRESENT_OR_VALIDATE_DISPLAY support
There is no cap defined for PRESENT_OR_VALIDATE_DISPLAY in HIDL so
it must always work.  Make sure it does not call HWC2 presentDisplay
when the underlying HWC2 does not support
HWC2_CAPABILITY_SKIP_VALIDATE.

Bug: 70407085
Test: boots
Change-Id: I54a4400e09e669c5064f05739f595ed978dcc713
2017-12-12 09:37:19 -08:00
Steven Moreland
75673fc6ac Remove conditional vndbinder usage in CAS.
Platform consistency, removing overload of meaning
behind PRODUCT_FULL_TREBLE/treble variable.

Bug: 67975337
Test: boot
Change-Id: I09df37fc0306f80879424334029ab9668cee9d4f
Merged-In: I09df37fc0306f80879424334029ab9668cee9d4f
2017-12-06 16:12:41 -08:00
Xin Li
7c9d4b1384 DO NOT MERGE: Merge Oreo MR1 into master
Exempt-From-Owner-Approval: Changes already landed internally
Change-Id: I8318c8bcc6ce5e750326b3315710c96a37838f22
2017-12-06 14:24:51 -08:00
Zhuoyao Zhang
a713584847 Merge "Convert boot, memtrack and power hal to use service name aware testing."
am: b9515d9d3f

Change-Id: Ie93e66d9b829ac420ba22cf0391b48c156755c77
2017-12-05 00:11:18 +00:00
Zhuoyao Zhang
b9515d9d3f Merge "Convert boot, memtrack and power hal to use service name aware testing." 2017-12-04 23:12:04 +00:00
Zhuoyao Zhang
2aba02af56 Convert boot, memtrack and power hal to use service name aware testing.
Motivation:
1) Support running the test against each hal service instance for the 
   registered hal.
2) Support testability checker to determine whether we should run the 
   test on the taget device.
3) Help to determine the process we want to profile for coverage data
   if running on coverage build. 
Bug: 64203181
Test: make vts
      vts-tradefed run vts -m VtsHalBootV1_0Target
      vts-tradefed run vts -m VtsHalMemtrackV1_0Target
      vts-tradefed run vts -m VtsHalPowerV1_0Target
      vts-tradefed run vts -m VtsHalPowerV1_1Target
Change-Id: Ie0bbd9ef9d9fbe11de5aee70fad9028fa0ae897c
2017-12-04 21:34:25 +00:00
Michael Schwartz
7d6bf0f5ef Merge "Remove IOemHook from matrix in P"
am: f8c89c44e5

Change-Id: I2649c4ad197aecf74a595a16ed2433edba3b9a8b
2017-12-04 18:44:59 +00:00
Michael Schwartz
f8c89c44e5 Merge "Remove IOemHook from matrix in P" 2017-12-04 18:34:51 +00:00
Steven Moreland
4e1e4081e4 Updating makefiles for hidl_interface.
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
(cherry-picked from commit c2f829a1d2)
2017-12-03 10:31:49 -08:00
Howard Chen
b4c725535e Merge "Add more test methods to IMemoryTest"
am: 4cd07b6e21

Change-Id: Ibcfa27b9510774a9bac39c40443e6f5a35e13709
2017-12-02 15:26:24 +00:00
Howard Chen
4cd07b6e21 Merge "Add more test methods to IMemoryTest" 2017-12-02 15:21:19 +00:00
Dan Willemsen
6737d81d15 Fix problem found with host bionic fortify checks
am: dc1921810e

Change-Id: Id82671e9f0b4debc28b516a0b3f10104fc54e198
2017-12-01 04:29:29 +00:00
Dan Willemsen
dc1921810e Fix problem found with host bionic fortify checks
hardware/interfaces/bluetooth/1.0/default/test/bluetooth_address_test.cc:59:39:
error: 'open' called with O_CREAT or O_TMPFILE, but missing mode

Bug: 31559095
Test: out/host/linux-x86/nativetest{,64}/bluetooth-address-unit-tests/bluetooth-address-unit-tests
Change-Id: I913c78e25eccaecf8830f1caf8e92f834ab8bb76
2017-11-30 18:00:36 -08:00
Michael Schwartz
0c067484b4 Remove IOemHook from matrix in P
Bug: 34344851
Test: `make`
Change-Id: I63e5a3286031781e8b4b070d78022325be02d6a8
2017-11-30 13:47:41 -08:00
Chih-Hung Hsieh
dfe61bf245 Merge "Use -Werror in hardware/interfaces/automotive/vehicle/2.0"
am: ac03dfa789  -s ours

Change-Id: I6bb0f3d504d54748b2a468c8989f34629ae83cf5
2017-11-29 23:19:21 +00:00
Treehugger Robot
ac03dfa789 Merge "Use -Werror in hardware/interfaces/automotive/vehicle/2.0" 2017-11-29 23:04:52 +00:00
Kevin Rocard
b5433136dd Add the audio team as owner of the audio VTS
am: c691e18332

Change-Id: I3fa55d02549c1827737f8e0d85bae99226506f17
2017-11-29 22:23:57 +00:00
Mikhail Naganov
349dbe9a82 Add OWNERS for audio-related HAL default implementations
am: 8c0c030ee9  -s ours

Change-Id: Iadf98ba95792f532d3b54f3107bc49ae9e28ba5f
2017-11-29 22:23:52 +00:00
Daniel Van Veen
3770968cf9 Merge "Fix inequality typo in StreamIn::getCapturePosition"
am: ba3225718b

Change-Id: I9ec534a8ec45525021180fa9219a1e3d4f34d0a7
2017-11-29 20:46:08 +00:00
Kevin Rocard
c691e18332 Add the audio team as owner of the audio VTS
Change-Id: I7744929814e3e7ba99f1cb664153cdffac58f01e
Merged-In: I514c37b3c9da3df700fa208e79ff6597f8914092
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-11-29 12:41:25 -08:00
Mikhail Naganov
8c0c030ee9 Add OWNERS for audio-related HAL default implementations
Test: not needed
Change-Id: I2893c84ac2ac72095baac810947fac56235a9d79
Merged-In: Idefe7be10bde22866be82f87118b9b54e74c3f40
2017-11-29 12:39:55 -08:00
Treehugger Robot
ba3225718b Merge "Fix inequality typo in StreamIn::getCapturePosition" 2017-11-29 20:28:20 +00:00
Steven Moreland
73eaa91e0a Merge "Remove subdirs"
am: adf8208c52  -s ours

Change-Id: Ie36a93b20dd0c83978619b3763deb698d0f69c10
2017-11-29 18:00:59 +00:00
Treehugger Robot
adf8208c52 Merge "Remove subdirs" 2017-11-29 17:53:33 +00:00
Badhri Jagan Sridharan
576cd45e62 Merge "usb: Add owner file"
am: 75b87347aa

Change-Id: I9a56bb1d38634494dbc48446b313bd4077b4862d
2017-11-29 17:40:57 +00:00
Treehugger Robot
75b87347aa Merge "usb: Add owner file" 2017-11-29 17:34:32 +00:00
Steven Moreland
b56cfe36da Merge "Update tests makefile for change."
am: efbcd7de61

Change-Id: I4477b859167b1a6b787e18f2aa1bbf5886fc5a2a
2017-11-29 17:13:25 +00:00
Daniel Van Veen
0c7d58b00a Fix inequality typo in StreamIn::getCapturePosition
This was preventing getCapturePosition() being called from
the default HIDL implementation.

Test: cts-tradefed run cts -m CtsMediaTestCases \
      -t android.media.cts.AudioRecordTest
Change-Id: I9c920108f68fb895a7f7a9d2ea27c291a91c1afb
2017-11-29 17:06:27 +00:00
Treehugger Robot
efbcd7de61 Merge "Update tests makefile for change." 2017-11-29 17:04:14 +00:00
Howard Chen
4e7ccc4cb9 Add more test methods to IMemoryTest
Add haveSomeMemoryBlock to test transport of the hidl_memory_block.
Add set(hidl_memory) & get(IMemoryToken) to test IMemoryToken

Test: hidl_test
Bug: 68295540
Change-Id: I08bcfae256de9db7dd647cde0ccbee214b598f47
2017-11-29 16:55:49 +08:00
Steven Moreland
7b9888217e Remove subdirs
Removing whenever I see these in code reviews.

Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
2017-11-28 17:19:46 -08:00
TreeHugger Robot
7d7eae9f78 Merge "Remove subdirs" into stage-aosp-master 2017-11-29 01:16:32 +00:00
Chih-Hung Hsieh
a5d28736f4 Use -Werror in hardware/interfaces/biometrics/fingerprint
am: 5631258f07

Change-Id: I6c81b78c4d00faccefdaa3e40ebcecc26222c5e9
2017-11-29 00:02:41 +00:00
Steven Moreland
fe564275ea Update tests makefile for change.
Introduced in 4921bc2e13.

Test: manual
Change-Id: I8b2b8fc27ebae55871c656816f87374c792a8ace
2017-11-28 15:21:38 -08:00
Steven Moreland
e5c6548346 Remove subdirs
Removing whenever I see these in code reviews.

Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
2017-11-28 14:23:43 -08:00
Chih-Hung Hsieh
d83c721543 Use -Werror in hardware/interfaces/automotive/vehicle/2.0
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I4de457fc522b490d0142b1f21552b993553a5982
Merged-In: I851c9b2ff956b0f6d9d7a6076d495aad9038a66a
2017-11-28 14:09:01 -08:00
Chih-Hung Hsieh
5631258f07 Use -Werror in hardware/interfaces/biometrics/fingerprint
* Fix warning of unused function call result.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I91da207b80d0715d015195357d645f8cf324fa1e
2017-11-28 13:40:33 -08:00
Chih-Hung Hsieh
f17049b9f7 Merge "Use -Werror in hardware/interfaces/automotive/evs/1.0"
am: 8500c095b9  -s ours

Change-Id: Ibe6b75d9468905abd88bf672da794225ae821a00
2017-11-28 20:09:35 +00:00
Treehugger Robot
8500c095b9 Merge "Use -Werror in hardware/interfaces/automotive/evs/1.0" 2017-11-28 20:01:08 +00:00
Chih-Hung Hsieh
8e736c21de Merge "Use -Werror in hardware/interfaces"
am: 02804915fb

Change-Id: Id73af9532487a85ad1d1170dbce809761d4a93a8
2017-11-28 19:24:00 +00:00
Treehugger Robot
02804915fb Merge "Use -Werror in hardware/interfaces" 2017-11-28 19:16:23 +00:00
Chih-Hung Hsieh
ae9fb022a3 Merge "Use -Werror in hardware/interfaces/audio"
am: 7a4422d2a5

Change-Id: Ib0cf1e15856fd58f0f2ea726e3d5b94177ab33a1
2017-11-28 19:03:31 +00:00
Treehugger Robot
7a4422d2a5 Merge "Use -Werror in hardware/interfaces/audio" 2017-11-28 18:50:14 +00:00
Chih-Hung Hsieh
aa7cddcd71 Merge "Use -Werror in hardware/interfaces/light/2.0"
am: 5261c278b9

Change-Id: I0991ff7666452a21848218b96c29d3dc5de6d3a8
2017-11-28 18:35:29 +00:00