platform_hardware_interfaces/biometrics/face/aidl/Android.bp
Ilya Matyukhin 8453178f18 Add @hide to the biometric interfaces
This change allows the framework to depend on biometric AIDL types, for
example: `android.hardware.biometrics.fingerprint.PointerContext`.

The dependency can be introduced with a `-java-source` target, for
example: `:android.hardware.biometrics.common-V3-java-source`.

The "@hide" annotation informs Metalava that these types are not a
public API (not part of the SDK).

Bug: 218388821
Test: m android.hardware.biometrics.common-update-api
Test: m android.hardware.biometrics.face-update-api
Test: m android.hardware.biometrics.fingerprint-update-api
Change-Id: Ib3327594c64dbb800b9d1744869ceb490d63e553
2022-11-18 06:37:09 +00:00

50 lines
1.3 KiB
Text

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "hardware_interfaces_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["hardware_interfaces_license"],
}
aidl_interface {
name: "android.hardware.biometrics.face",
vendor_available: true,
srcs: [
"android/hardware/biometrics/face/**/*.aidl",
],
imports: [
"android.hardware.biometrics.common-V3",
"android.hardware.common-V2",
"android.hardware.keymaster-V4",
],
stability: "vintf",
backend: {
java: {
platform_apis: true,
},
cpp: {
enabled: false,
},
},
versions_with_info: [
{
version: "1",
imports: [
"android.hardware.biometrics.common-V1",
"android.hardware.common-V2",
"android.hardware.keymaster-V3",
],
},
{
version: "2",
imports: [
"android.hardware.biometrics.common-V2",
"android.hardware.common-V2",
"android.hardware.keymaster-V3",
],
},
],
}