xref: /aosp_15_r20/hardware/interfaces/biometrics/fingerprint/aidl/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
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.biometrics.fingerprint",
12    vendor_available: true,
13    srcs: [
14        "android/hardware/biometrics/fingerprint/*.aidl",
15    ],
16    imports: [
17        "android.hardware.biometrics.common-V4",
18        "android.hardware.keymaster-V4",
19    ],
20    stability: "vintf",
21    backend: {
22        java: {
23            platform_apis: true,
24        },
25        cpp: {
26            enabled: false,
27        },
28        ndk: {
29            apex_available: [
30                "//apex_available:platform",
31                "//apex_available:anyapex",
32            ],
33        },
34        rust: {
35            enabled: true,
36        },
37    },
38    versions_with_info: [
39        {
40            version: "1",
41            imports: [
42                "android.hardware.biometrics.common-V1",
43                "android.hardware.keymaster-V3",
44            ],
45        },
46        {
47            version: "2",
48            imports: [
49                "android.hardware.biometrics.common-V2",
50                "android.hardware.keymaster-V3",
51            ],
52        },
53        {
54            version: "3",
55            imports: [
56                "android.hardware.biometrics.common-V3",
57                "android.hardware.keymaster-V4",
58            ],
59        },
60        {
61            version: "4",
62            imports: [
63                "android.hardware.biometrics.common-V4",
64                "android.hardware.keymaster-V4",
65            ],
66        },
67
68    ],
69    frozen: true,
70}
71
72aidl_interface {
73    name: "android.hardware.biometrics.fingerprint.virtualhal",
74    srcs: [
75        "android/hardware/biometrics/fingerprint/virtualhal/*.aidl",
76    ],
77    imports: [
78        "android.hardware.biometrics.common-V4",
79        "android.hardware.keymaster-V4",
80        "android.hardware.biometrics.fingerprint-V4",
81    ],
82    vendor_available: true,
83    unstable: true,
84    backend: {
85        java: {
86            platform_apis: true,
87        },
88        cpp: {
89            enabled: false,
90        },
91        ndk: {
92            apex_available: [
93                "com.android.hardware.biometrics.fingerprint.virtual",
94                "//apex_available:platform",
95            ],
96        },
97    },
98    frozen: false,
99}
100