mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge changes from topic "move_fmq" am: 1fa07549e1 am: 1af8658a9b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1456140 Change-Id: Id59edf5972e64c4245e4082cafe9411f223d28ad
This commit is contained in:
21
common/fmq/aidl/Android.bp
Normal file
21
common/fmq/aidl/Android.bp
Normal file
@@ -0,0 +1,21 @@
|
||||
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,
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
@@ -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,
|
||||
@@ -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,
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package android.hardware.common;
|
||||
package android.hardware.common.fmq;
|
||||
|
||||
/*
|
||||
* Included in MQDescriptor, for use with libfmq.
|
||||
@@ -14,9 +14,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package android.hardware.common;
|
||||
package android.hardware.common.fmq;
|
||||
|
||||
import android.hardware.common.GrantorDescriptor;
|
||||
import android.hardware.common.fmq.GrantorDescriptor;
|
||||
|
||||
/*
|
||||
* For use with libfmq. This is created from an instance of AidlMessageQueue,
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package android.hardware.common;
|
||||
package android.hardware.common.fmq;
|
||||
|
||||
/*
|
||||
* For use with android.hardware.common.MQDescriptor to specify which type of
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package android.hardware.common;
|
||||
package android.hardware.common.fmq;
|
||||
|
||||
/*
|
||||
* For use with android.hardware.common.MQDescriptor to specify which type of
|
||||
@@ -52,6 +52,7 @@ bool ShouldCheckMissingHalsInFcm(const std::string& package) {
|
||||
"android.hardware.radio.config@1.2",
|
||||
// AIDL
|
||||
"android.hardware.common",
|
||||
"android.hardware.common.fmq",
|
||||
"android.hardware.graphics.common",
|
||||
"android.hardware.keymaster",
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ cc_test {
|
||||
static_libs: [
|
||||
"android.hardware.tests.msgq@1.0",
|
||||
"android.fmq.test-ndk_platform",
|
||||
"android.hardware.common-unstable-ndk_platform",
|
||||
"android.hardware.common.fmq-unstable-ndk_platform",
|
||||
],
|
||||
whole_static_libs: [
|
||||
"android.hardware.tests.msgq@1.0-impl",
|
||||
|
||||
Reference in New Issue
Block a user