interfaces: Add vendor.oplus.hardware.biometrics.fingerprint@2.1
Change-Id: I542c979b72b82dfb517f2c9f7f9cbfe58fab54bf
This commit is contained in:
4
interfaces/Android.bp
Normal file
4
interfaces/Android.bp
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
hidl_package_root {
|
||||||
|
name: "vendor.oplus",
|
||||||
|
path: "hardware/oplus/interfaces/oplus",
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
// This file is autogenerated by hidl-gen -Landroidbp.
|
||||||
|
|
||||||
|
hidl_interface {
|
||||||
|
name: "vendor.oplus.hardware.biometrics.fingerprint@2.1",
|
||||||
|
root: "vendor.oplus",
|
||||||
|
system_ext_specific: true,
|
||||||
|
srcs: [
|
||||||
|
"IBiometricsFingerprint.hal",
|
||||||
|
"IBiometricsFingerprintClientCallbackEx.hal",
|
||||||
|
],
|
||||||
|
interfaces: [
|
||||||
|
"android.hardware.biometrics.fingerprint@2.1",
|
||||||
|
"android.hardware.biometrics.fingerprint@2.2",
|
||||||
|
"android.hardware.biometrics.fingerprint@2.3",
|
||||||
|
"android.hidl.base@1.0",
|
||||||
|
],
|
||||||
|
gen_java: true,
|
||||||
|
}
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2022 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 vendor.oplus.hardware.biometrics.fingerprint@2.1;
|
||||||
|
|
||||||
|
import android.hardware.biometrics.fingerprint@2.1::types;
|
||||||
|
import android.hardware.biometrics.fingerprint@2.3;
|
||||||
|
import IBiometricsFingerprintClientCallbackEx;
|
||||||
|
|
||||||
|
interface IBiometricsFingerprint extends @2.3::IBiometricsFingerprint {
|
||||||
|
setHalCallback(IBiometricsFingerprintClientCallbackEx clientCallback) generates (uint64_t deviceId);
|
||||||
|
sendFingerprintCmd(int32_t cmdId, vec<int8_t> in_buf) generates (RequestStatus debugErrno);
|
||||||
|
};
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2022 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 vendor.oplus.hardware.biometrics.fingerprint@2.1;
|
||||||
|
|
||||||
|
interface IBiometricsFingerprintClientCallbackEx {
|
||||||
|
oneway onEngineeringInfoUpdated(uint32_t lenth, vec<uint32_t> keys, vec<string> values);
|
||||||
|
oneway onFingerprintCmd(int32_t cmdId, vec<uint32_t> result, uint32_t resultLen);
|
||||||
|
};
|
||||||
6
interfaces/update-makefiles.sh
Executable file
6
interfaces/update-makefiles.sh
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
source $ANDROID_BUILD_TOP/system/tools/hidl/update-makefiles-helper.sh
|
||||||
|
|
||||||
|
do_makefiles_update \
|
||||||
|
"vendor.oplus:hardware/oplus/interfaces/oplus"
|
||||||
Reference in New Issue
Block a user