• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "hardware_interfaces_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["hardware_interfaces_license"],
8}
9
10aidl_interface {
11    name: "android.hardware.common.fmq",
12    host_supported: true,
13    vendor_available: true,
14    product_available: true,
15    double_loadable: true,
16    srcs: [
17        "android/hardware/common/fmq/*.aidl",
18    ],
19    imports: [
20        "android.hardware.common-V2",
21    ],
22    stability: "vintf",
23    backend: {
24        java: {
25            // There is no Java FMQ library, but we support the AIDL type
26            // to allow subsets of interfaces that include it to be used in Java
27            enabled: true,
28            sdk_version: "module_current",
29        },
30        cpp: {
31            // FMQ will not be supported in the cpp backend because the parcelables
32            // are not stable enough for use in shared memory
33            enabled: false,
34        },
35        ndk: {
36            apex_available: [
37                "//apex_available:platform",
38                "com.android.btservices",
39                "com.android.media.swcodec",
40            ],
41            min_sdk_version: "29",
42        },
43        rust: {
44            // FMQ is not supported in the rust backend, but we need this AIDL interface for
45            // HardwareBuffer.
46            enabled: true,
47        },
48    },
49    frozen: true,
50    versions_with_info: [
51        {
52            version: "1",
53            imports: ["android.hardware.common-V2"],
54        },
55    ],
56}
57