interfaces: fingerprints: Initial reverse engineered 1.0 extension

Change-Id: I19d4736a01604b354e43029ea77e54b698517954
This commit is contained in:
Erfan Abdi 2019-09-20 01:48:13 +04:30 committed by Bruno Martins
parent 5ffacf20ed
commit 3a14026963
3 changed files with 41 additions and 0 deletions

View File

@ -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",

View File

@ -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,
}

View File

@ -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);
};