Merge "Clean up android.hardware.common types"

This commit is contained in:
Devin Moore
2020-08-25 22:53:38 +00:00
committed by Gerrit Code Review
3 changed files with 14 additions and 4 deletions

View File

@@ -18,8 +18,6 @@
package android.hardware.common;
@VintfStability
parcelable GrantorDescriptor {
int flags;
int fdIndex;
int offset;
long extent;
}

View File

@@ -16,10 +16,17 @@
package android.hardware.common;
/*
* Included in MQDescriptor, for use with libfmq.
*/
@VintfStability
parcelable GrantorDescriptor {
int flags;
int fdIndex;
/*
* The offset of this descriptor in the shared memory in bytes.
*/
int offset;
/*
* The size of this descriptor in bytes.
*/
long extent;
}

View File

@@ -18,6 +18,11 @@ package android.hardware.common;
import android.hardware.common.GrantorDescriptor;
/*
* For use with libfmq. This is created from an instance of AidlMessageQueue,
* and is used to pass information required to create another instance of that
* queue for fast communication.
*/
@VintfStability
parcelable MQDescriptor {
/*