mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Clean up android.hardware.common types" am: c26ba2dd21
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1402395 Change-Id: Ia34d9090ffa262eb2fd71e8b95ab7b66db188ab7
This commit is contained in:
@@ -18,8 +18,6 @@
|
|||||||
package android.hardware.common;
|
package android.hardware.common;
|
||||||
@VintfStability
|
@VintfStability
|
||||||
parcelable GrantorDescriptor {
|
parcelable GrantorDescriptor {
|
||||||
int flags;
|
|
||||||
int fdIndex;
|
|
||||||
int offset;
|
int offset;
|
||||||
long extent;
|
long extent;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,10 +16,17 @@
|
|||||||
|
|
||||||
package android.hardware.common;
|
package android.hardware.common;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Included in MQDescriptor, for use with libfmq.
|
||||||
|
*/
|
||||||
@VintfStability
|
@VintfStability
|
||||||
parcelable GrantorDescriptor {
|
parcelable GrantorDescriptor {
|
||||||
int flags;
|
/*
|
||||||
int fdIndex;
|
* The offset of this descriptor in the shared memory in bytes.
|
||||||
|
*/
|
||||||
int offset;
|
int offset;
|
||||||
|
/*
|
||||||
|
* The size of this descriptor in bytes.
|
||||||
|
*/
|
||||||
long extent;
|
long extent;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,6 +18,11 @@ package android.hardware.common;
|
|||||||
|
|
||||||
import android.hardware.common.GrantorDescriptor;
|
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
|
@VintfStability
|
||||||
parcelable MQDescriptor {
|
parcelable MQDescriptor {
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user