diff --git a/interfaces/Android.bp b/interfaces/Android.bp index 90998d3..f98bad3 100644 --- a/interfaces/Android.bp +++ b/interfaces/Android.bp @@ -1,3 +1,8 @@ +hidl_package_root { + name: "com.fingerprints", + path: "hardware/xiaomi/interfaces/fingerprints", +} + hidl_package_root { name: "vendor.goodix", path: "hardware/xiaomi/interfaces/goodix", diff --git a/interfaces/fingerprints/extension/1.0/Android.bp b/interfaces/fingerprints/extension/1.0/Android.bp new file mode 100644 index 0000000..bcb5bbf --- /dev/null +++ b/interfaces/fingerprints/extension/1.0/Android.bp @@ -0,0 +1,14 @@ +// This file is autogenerated by hidl-gen -Landroidbp. + +hidl_interface { + name: "com.fingerprints.extension@1.0", + root: "com.fingerprints", + system_ext_specific: true, + srcs: [ + "IFingerprintNavigation.hal", + ], + interfaces: [ + "android.hidl.base@1.0", + ], + gen_java: true, +} diff --git a/interfaces/fingerprints/extension/1.0/IFingerprintNavigation.hal b/interfaces/fingerprints/extension/1.0/IFingerprintNavigation.hal new file mode 100644 index 0000000..02755fe --- /dev/null +++ b/interfaces/fingerprints/extension/1.0/IFingerprintNavigation.hal @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2021 The LineageOS Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.fingerprints.extension@1.0; + +interface IFingerprintNavigation { + setNavigation(bool enabled); + isEnabled() generates (bool isEnabled); +};