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

Commit 14b2cbe9 authored by Devin Moore's avatar Devin Moore
Browse files

Move AIDL FMQ types from android.hardware.common

Moved the types to andrdoid.hardware.common.fmq.
This allows modules to depend on the unstable version of the library
without conflicting with modules that depend on the stable version of
android.hardware.common.

Test: atest fmq_unit_tests fmq_test
Bug: 142326204
Change-Id: I3091f52c4e763a15fd9a1b7451a1455a06fb4c30
parent b5f2d23e
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
aidl_interface {
    name: "android.hardware.common.fmq",
    host_supported: true,
    vendor_available: true,
    vndk: {
        enabled: true,
        support_system_process: true,
    },
    srcs: [
        "android/hardware/common/fmq/*.aidl",
    ],
    stability: "vintf",
    backend: {
        java: {
            enabled: false,
        },
        cpp: {
            enabled: false,
        },
    },
}
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.common;
package android.hardware.common.fmq;
@VintfStability
parcelable GrantorDescriptor {
  int offset;
+2 −2
Original line number Diff line number Diff line
@@ -15,10 +15,10 @@
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.common;
package android.hardware.common.fmq;
@VintfStability
parcelable MQDescriptor {
  android.hardware.common.GrantorDescriptor[] grantors;
  android.hardware.common.fmq.GrantorDescriptor[] grantors;
  ParcelFileDescriptor fileDescriptor;
  int quantum;
  int flags;
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.common;
package android.hardware.common.fmq;
@VintfStability
enum SynchronizedReadWrite {
  EMPTY = 0,
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.common;
package android.hardware.common.fmq;
@VintfStability
enum UnsynchronizedWrite {
  EMPTY = 0,
Loading