mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge changes from topic "move_fmq"
* changes: Add android.hardware.common.fmq to fcm_exclude Move AIDL FMQ types from android.hardware.common
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
|
// 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.
|
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||||
|
|
||||||
package android.hardware.common;
|
package android.hardware.common.fmq;
|
||||||
@VintfStability
|
@VintfStability
|
||||||
parcelable GrantorDescriptor {
|
parcelable GrantorDescriptor {
|
||||||
int offset;
|
int offset;
|
||||||
@@ -15,10 +15,10 @@
|
|||||||
// with such a backward incompatible change, it has a high risk of breaking
|
// 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.
|
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||||
|
|
||||||
package android.hardware.common;
|
package android.hardware.common.fmq;
|
||||||
@VintfStability
|
@VintfStability
|
||||||
parcelable MQDescriptor {
|
parcelable MQDescriptor {
|
||||||
android.hardware.common.GrantorDescriptor[] grantors;
|
android.hardware.common.fmq.GrantorDescriptor[] grantors;
|
||||||
ParcelFileDescriptor fileDescriptor;
|
ParcelFileDescriptor fileDescriptor;
|
||||||
int quantum;
|
int quantum;
|
||||||
int flags;
|
int flags;
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
// with such a backward incompatible change, it has a high risk of breaking
|
// 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.
|
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||||
|
|
||||||
package android.hardware.common;
|
package android.hardware.common.fmq;
|
||||||
@VintfStability
|
@VintfStability
|
||||||
enum SynchronizedReadWrite {
|
enum SynchronizedReadWrite {
|
||||||
EMPTY = 0,
|
EMPTY = 0,
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
// with such a backward incompatible change, it has a high risk of breaking
|
// 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.
|
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||||
|
|
||||||
package android.hardware.common;
|
package android.hardware.common.fmq;
|
||||||
@VintfStability
|
@VintfStability
|
||||||
enum UnsynchronizedWrite {
|
enum UnsynchronizedWrite {
|
||||||
EMPTY = 0,
|
EMPTY = 0,
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package android.hardware.common;
|
package android.hardware.common.fmq;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Included in MQDescriptor, for use with libfmq.
|
* Included in MQDescriptor, for use with libfmq.
|
||||||
@@ -14,9 +14,9 @@
|
|||||||
* limitations under the License.
|
* 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,
|
* For use with libfmq. This is created from an instance of AidlMessageQueue,
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* 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
|
* For use with android.hardware.common.MQDescriptor to specify which type of
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* 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
|
* 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",
|
"android.hardware.radio.config@1.2",
|
||||||
// AIDL
|
// AIDL
|
||||||
"android.hardware.common",
|
"android.hardware.common",
|
||||||
|
"android.hardware.common.fmq",
|
||||||
"android.hardware.graphics.common",
|
"android.hardware.graphics.common",
|
||||||
"android.hardware.keymaster",
|
"android.hardware.keymaster",
|
||||||
|
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ cc_test {
|
|||||||
static_libs: [
|
static_libs: [
|
||||||
"android.hardware.tests.msgq@1.0",
|
"android.hardware.tests.msgq@1.0",
|
||||||
"android.fmq.test-ndk_platform",
|
"android.fmq.test-ndk_platform",
|
||||||
"android.hardware.common-unstable-ndk_platform",
|
"android.hardware.common.fmq-unstable-ndk_platform",
|
||||||
],
|
],
|
||||||
whole_static_libs: [
|
whole_static_libs: [
|
||||||
"android.hardware.tests.msgq@1.0-impl",
|
"android.hardware.tests.msgq@1.0-impl",
|
||||||
|
|||||||
Reference in New Issue
Block a user