davinci: fod: Implement in-screen fingerprint HAL

Change-Id: I8fd985bf4eab1747351f9e717cc33fa6d5ab1517
This commit is contained in:
Demon000
2019-07-02 01:32:47 +02:00
committed by Arian
parent 03c116e1c0
commit ac23ec6af9
8 changed files with 339 additions and 1 deletions

38
fod/Android.bp Normal file
View File

@@ -0,0 +1,38 @@
//
// Copyright (C) 2019 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.
cc_binary {
name: "vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.davinci",
vintf_fragments: ["vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.davinci.xml"],
init_rc: ["vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.davinci.rc"],
defaults: ["hidl_defaults"],
relative_install_path: "hw",
srcs: [
"service.cpp",
"FingerprintInscreen.cpp",
],
vendor: true,
shared_libs: [
"libbase",
"libhardware",
"libhidlbase",
"libhidltransport",
"liblog",
"libhwbinder",
"libutils",
"vendor.lineage.biometrics.fingerprint.inscreen@1.0",
"vendor.xiaomi.hardware.fingerprintextension@1.0",
],
}