interfaces: com.fingerprints: Add IFpcFingerprintAuthenticator
* From sunstone fpc stack Change-Id: I5a3ba0161bec5bc4788c02a5aa896a9ad1b1f3d0
This commit is contained in:
parent
088c127231
commit
263cc79a71
@ -6,6 +6,7 @@ hidl_interface {
|
||||
system_ext_specific: true,
|
||||
srcs: [
|
||||
"types.hal",
|
||||
"IAuthenticatorCallback.hal",
|
||||
"ICalibrationCallback.hal",
|
||||
"ICryptCallback.hal",
|
||||
"IFingerprintAuthenticator.hal",
|
||||
@ -17,6 +18,7 @@ hidl_interface {
|
||||
"IFingerprintRecalibration.hal",
|
||||
"IFingerprintSenseTouch.hal",
|
||||
"IFingerprintSensorTest.hal",
|
||||
"IFpcFingerprintAuthenticator.hal",
|
||||
"IIlluminationTuningCallback.hal",
|
||||
"IImageCaptureCallback.hal",
|
||||
"IImageInjectionCallback.hal",
|
||||
|
@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Copyright (C) 2024 The LineageOS Project
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
package com.fingerprints.extension@1.0;
|
||||
|
||||
interface IAuthenticatorCallback {
|
||||
oneway onAcquired(uint32_t status);
|
||||
|
||||
oneway onAuthenticated(uint32_t fingerId);
|
||||
|
||||
oneway onEnrollResult(uint32_t fingerId, uint32_t remaining);
|
||||
|
||||
oneway onEnumerate(uint32_t fingerId, uint32_t remaining);
|
||||
|
||||
oneway onError(uint32_t errorCode);
|
||||
|
||||
oneway onRemoved(uint32_t fingerId, uint32_t remaining);
|
||||
};
|
@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright (C) 2024 The LineageOS Project
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
package com.fingerprints.extension@1.0;
|
||||
|
||||
import IAuthenticatorCallback;
|
||||
|
||||
interface IFpcFingerprintAuthenticator {
|
||||
oneway authenticate();
|
||||
|
||||
oneway cancel();
|
||||
|
||||
oneway enroll();
|
||||
|
||||
oneway enumerate();
|
||||
|
||||
oneway remove(uint32_t fingerId);
|
||||
|
||||
oneway setNotify(IAuthenticatorCallback callback);
|
||||
};
|
Loading…
Reference in New Issue
Block a user