mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 05:49:27 +00:00
Merge "Generate fmq java-source."
This commit is contained in:
@@ -25,6 +25,7 @@ aidl_interface {
|
||||
backend: {
|
||||
java: {
|
||||
sdk_version: "module_current",
|
||||
srcs_available: true,
|
||||
},
|
||||
cpp: {
|
||||
enabled: false,
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.common.fmq;
|
||||
/* @hide */
|
||||
@VintfStability
|
||||
parcelable GrantorDescriptor {
|
||||
int fdIndex;
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.common.fmq;
|
||||
/* @hide */
|
||||
@VintfStability
|
||||
parcelable MQDescriptor<T, Flavor> {
|
||||
android.hardware.common.fmq.GrantorDescriptor[] grantors;
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.common.fmq;
|
||||
/* @hide */
|
||||
@VintfStability
|
||||
enum SynchronizedReadWrite {
|
||||
EMPTY = 0,
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.common.fmq;
|
||||
/* @hide */
|
||||
@VintfStability
|
||||
enum UnsynchronizedWrite {
|
||||
EMPTY = 0,
|
||||
|
||||
@@ -18,6 +18,7 @@ package android.hardware.common.fmq;
|
||||
|
||||
/*
|
||||
* Included in MQDescriptor, for use with libfmq.
|
||||
* @hide
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable GrantorDescriptor {
|
||||
|
||||
@@ -26,6 +26,7 @@ import android.hardware.common.fmq.GrantorDescriptor;
|
||||
* T - is used to specify the type of the payload
|
||||
* Flavor - is used to specify the type of the queue using
|
||||
* android.hardware.common.SynchronizedReadWrite or UnsynchronizedWrite
|
||||
* @hide
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable MQDescriptor<T, Flavor> {
|
||||
|
||||
@@ -20,6 +20,7 @@ package android.hardware.common.fmq;
|
||||
* For use with android.hardware.common.MQDescriptor to specify which type of
|
||||
* queue to use. SynchronizedReadWrite is single reader, single writer, with no
|
||||
* overflow. All messages written need to be read.
|
||||
* @hide
|
||||
*/
|
||||
@VintfStability
|
||||
enum SynchronizedReadWrite {
|
||||
|
||||
@@ -20,6 +20,7 @@ package android.hardware.common.fmq;
|
||||
* For use with android.hardware.common.MQDescriptor to specify which type of
|
||||
* queue to use. UnsynchronizedWrite is single writer, multiple reader, with
|
||||
* overflow. If messages are not read fast enough, they can be overwritten.
|
||||
* @hide
|
||||
*/
|
||||
@VintfStability
|
||||
enum UnsynchronizedWrite {
|
||||
|
||||
Reference in New Issue
Block a user