Commit graph

6 commits

Author SHA1 Message Date
Mikhail Naganov
a5273c760c Make audio*-base.h files autogenerated again
Major change: audio-base.h is generated from "core" types.hal,
new file audio_common-base.h is generated from "common" types.hal.

In order to be able to add system-only constants to generated
enums, the latter are made anonymous, values got "HAL_" prefix.
Then in system/audio.h a full enum is constructed.

Removed audio_drain_type_t from exported, as it belongs to
libhardware only.

Added missing enums that were introduced at the system side
only in Android R.

Bug: 122858783
Test: m
Change-Id: I8c017912395a03beacea077fd562fae2329ad975
2020-10-26 20:15:17 +00:00
Valerie Hau
ec98306549 Adding Dataspace BT2020_SRGB and ColorMode BT2020_SRGB
BT2020_SRGB is BT2020 with SRGB transfer function.  Adding to types V1.2
and upgrading methods that utilize Dataspace and ColorMode

Bug: 115335239
Test: ./libsurfaceflinger_unittest --gtest_filter=GetBestColorMode.*
Change-Id: Ic807183ae2bd0212cd8c5d7a24c93db0a1bc28fb
2018-10-22 11:19:52 -07:00
Craig Donner
243da4d2b8 graphics: add graphics common 1.1 HAL with new pixel formats and usages.
Bug: 66900669
Test: Build
Change-Id: Ie8ba599230c7491aee337c8c333a96859c1ce83d
2018-01-19 10:16:22 -08:00
Steven Moreland
34af50a7a5 Update base files script works anywhere.
Test: update-base-files.sh
Change-Id: I8a7e935cc685c8d389a46b28e33ea20c61bcc1ac
2017-09-25 18:43:27 -07:00
Hridya Valsaraju
529331c4cb Add annotations to create gnss-base.h
This is required to make sure that the constants in gps.h does not
ever go out of sync with the enums created out of them in the HAL
interface definition.

Test: mm

Change-Id: I103cf46d198e9f5de9e0cfd64f2795f0094ecb39
2017-01-23 08:41:15 -08:00
Steven Moreland
4e84644ddc Add script to generate all *-base.h's.
In order to resolve b/31800672, we added a target to hidl,
-Lexport-headers, which creates a C compatible header file that targets
can link against to get access to hidl constants without having to link
against the hidl code directly. However, these files are (for some
reason) not generated at build time. Until they are, this file can be
used to update and keep track of them.

Bug: 32883144
Test: ran script
Change-Id: Ib07433f98c4152ca34b48789dcb117eb262241cb
2016-12-12 09:48:00 -08:00