Commit Graph

13 Commits

Author SHA1 Message Date
Leon Scroggins III
bab1ba54ed Add a Java backend for android.hardware.graphics.common AIDL
This will allow SysUI to access the same struct (in
I27f119f927b23052c5fd8f068cbca75338fe7b91) that HWC uses to describe
its support for DISPLAY_DECORATION.

@hide each API individually. SysUI can access hidden APIs. Otherwise
leave the AIDL files are unchanged.

Bug: 216644902
Test: make
Change-Id: Id33f76e4c55b22d007c7e2314a4dfb778562bace
2022-02-04 15:49:06 -05:00
John Reck
d126297c23 Merge "Add front buffer usage" 2022-01-20 20:21:52 +00:00
Ady Abraham
ae12e389fd composer: add getDisplayPhysicalOrientation
Add an API to query the physical display orientation.

Bug: 213237830
Test: VTS
Change-Id: I4ea9ee5c8655be283e19156b0ce68e35674ac321
2022-01-19 01:13:28 +00:00
John Reck
ef1d9b6f8f Add front buffer usage
Test: Builds & boots
Bug: 193558894

Change-Id: I5e6aa11b47272d9d8aa8a8bac256861f7a0629cb
2022-01-13 16:09:54 -05:00
Ady Abraham
7d4d3dace1 Merge "Add Parcelable AidlComposer commands" 2021-12-08 05:03:16 +00:00
Ady Abraham
3192f3dfdb Add Parcelable AidlComposer commands
Change the command interface to use parcelables instead of FMQ.

Bug: 201008710
Test: VTS
Change-Id: Iac67330eb34a5bcf253580e8109a67bd90483d85
2021-12-08 00:19:29 +00:00
Leon Scroggins III
c0ae66a05e Add AIDL PixelFormat::R_8
Bug: 193170859
Bug: 209497983
Test: build and boot
Test: TODO (b/209458105)
Change-Id: I6f6b7f22e76609151a413ca6a6dbf55bd91911dd
2021-12-06 18:39:36 -05:00
Alec Mouri
70040729ee Add HDR-related revisions to graphics types
* Add standard metadata support for data described by the SMPTE 2094-10
standard. This corresponds to Dolby Vision support, and as such the
metadata will use an opaque format, similar to existing support for the
SMPTE 2094-40 standard.
* Relax P010 definition so that arbitrary semiplanar layouts are
supported. For devices implementing Gralloc 4, sufficient information is
exposed from PlaneLayout that clients are able to interpret the buffer
content correctly without the additional layout restrictions.
Furthermore, this brings the gralloc definition in-line with the relaxed
definition in android.media.ImageFormat.

Bug: 196617266
Bug: 200309502
Test: builds
Change-Id: I23774c81488292324de06dd4e3a8341421432a57
2021-09-29 15:13:04 -07:00
Ady Abraham
fd549c90db Add composer3 AIDL
This is the initial AIDL interface based on the HIDL interface
android.hardware.graphics.composer@2.4.

Test: Build
Bug: 198690211
Change-Id: I385ea8084f9a33c2b6dd79bb9a376692fec4a399
2021-09-23 14:33:27 -07:00
Jiyong Park
72b6359859 Freeze AIDL APIs for SC
Ignore-AOSP-First: part of SC finalization

Bug: 188713899
Test: m
Change-Id: Iee18cd05954dc8ea08cc4f985499a70977d1af4f
2021-05-25 10:13:26 +09:00
Jooyung Han
695ef7acfe aidl: Set explicit defaults to enum-type fields
Fixes: 179853398
Test: mma in hardware/interfaces/graphics
Change-Id: I6f93bca4ba3c8d538765fc9a811b9050c6142cc3
2021-04-27 12:17:39 +09:00
Jeongik Cha
7e2674589f Freeze vintf aidl interfaces
AIDL interfaces which are vintf-stable have to be frozen in release.
But these interfaces have been never frozen, so freeze them.

- android.hardware.common
- android.hardware.automotive.occupant_awareness
- android.hardware.rebootescrow
- android.hardware.graphics.common

Bug: 153510296
Bug: 153510400
Bug: 153510960
Bug: 153511702
Test: m
Change-Id: I56e53209eaf00518ec83f2a322e89d6d944eb0ac
2020-04-08 13:36:51 +00:00
Jiyong Park
aa13c7e985 Update the current API dump
All aidl_interface modules should by default considered as stable, in
case it is used across system and vendor partitions, or across modules.
Like other API surfaces, we need to have a dump for the current
(yet-to-be-released) version and update it when there is an API change.
This is done via .

Then the owner of the interface can freeze the current version as a
numbered version via .

This change shal be rejected only when the owner is certain that the
interface is not used across the updatable boundaries.

Bug: 152655547
Test: m
Change-Id: If547945d3bc8c8a73e2341ff9e90025ac10ce662
2020-03-30 14:58:16 +09:00