Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bab1ba54 authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

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
parent ff90be0e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -25,7 +25,8 @@ aidl_interface {
    ],
    backend: {
        java: {
            enabled: false,
            enabled: true,
            platform_apis: true,
        },
        cpp: {
            enabled: false,
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.graphics.common;
/* @hide */
@Backing(type="int") @VintfStability
enum BlendMode {
  INVALID = 0,
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.graphics.common;
/* @hide */
@Backing(type="long") @VintfStability
enum BufferUsage {
  CPU_READ_MASK = 15,
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.graphics.common;
/* @hide */
@Backing(type="long") @VintfStability
enum ChromaSiting {
  NONE = 0,
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.graphics.common;
/* @hide */
@Backing(type="int") @VintfStability
enum ColorTransform {
  IDENTITY = 0,
Loading