Generate fmq java-source.

Add @hide to adil to avoid API export in framework.

Bug: 194739778
Test: make and use fmq java-source in framework
Change-Id: Ie1f7e8f9a36a1f09258581d484843f372f56e03e
Merged-In: Ie1f7e8f9a36a1f09258581d484843f372f56e03e
This commit is contained in:
Hongguang
2021-07-29 18:42:13 -07:00
parent aa3873ce1c
commit 742ceab6f6
9 changed files with 9 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ aidl_interface {
backend: {
java: {
sdk_version: "module_current",
srcs_available: true,
},
cpp: {
enabled: false,

View File

@@ -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;

View File

@@ -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;

View File

@@ -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,

View File

@@ -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,

View File

@@ -18,6 +18,7 @@ package android.hardware.common.fmq;
/*
* Included in MQDescriptor, for use with libfmq.
* @hide
*/
@VintfStability
parcelable GrantorDescriptor {

View File

@@ -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> {

View File

@@ -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 {

View File

@@ -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 {