Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e862c31 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Add authenticatorId changes to Fingerprint aidl

Also adds a top-level README for the biometric package

Bug: 159667191
Bug: 168541000

Test: make -j56 android.hardware.biometrics.fingerprint-update-api
Test: make -j56 VtsHalBiometricsFingerprintTargetTest

Change-Id: I3dba8e7ee16700865662c1a00b75576d2513f930
parent 7d3fdf5e
Loading
Loading
Loading
Loading

biometrics/README.md

0 → 100644
+12 −0
Original line number Diff line number Diff line
## Biometric HALs ##
---

## Overview: ##

The interfaces within the biometrics.* HAL tree are used by the Android Biometric Services
(e.g. FingerprintService, FaceService) to discover and operate biometric sensors on the device.

More details and versioning information can be found within each particular HAL.

More complete information about the Android Biometric HALs and subsystem can be found at
[source.android.com](https://source.android.com/security/biometric).
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -21,6 +21,6 @@ interface IFingerprint {
  android.hardware.biometrics.fingerprint.SensorProps[] getSensorProps();
  android.hardware.biometrics.fingerprint.ISession createSession(in int sensorId, in int userId, in android.hardware.biometrics.fingerprint.ISessionCallback cb);
  void setResetLockoutCallback(in android.hardware.biometrics.fingerprint.IResetLockoutCallback cb);
  void generateChallenge(in int sensorId, in int userId, in long keystoreOperationId, in int timeoutSec, in android.hardware.biometrics.fingerprint.IGenerateChallengeCallback cb);
  void generateChallenge(in int sensorId, in int userId, in int timeoutSec, in android.hardware.biometrics.fingerprint.IGenerateChallengeCallback cb);
  void revokeChallenge(in int sensorId, in int userId, in android.hardware.biometrics.fingerprint.IRevokeChallengeCallback cb);
}
+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ interface ISession {
  void enumerateEnrollments(in int cookie);
  void removeEnrollments(in int cookie, in int[] enrollmentIds);
  void getAuthenticatorId(in int cookie);
  void invalidateAuthenticatorId(in int cookie, in android.hardware.keymaster.HardwareAuthToken hat);
  void resetLockout(in int cookie, in android.hardware.keymaster.HardwareAuthToken hat);
  void onPointerDown(in int pointerId, in int x, in int y, in float minor, in float major);
  void onPointerUp(in int pointerId);
+2 −0
Original line number Diff line number Diff line
@@ -26,4 +26,6 @@ interface ISessionCallback {
  void onInteractionDetected();
  void onEnrollmentsEnumerated(in int[] enrollmentIds);
  void onEnrollmentsRemoved(in int[] enrollmentIds);
  void onAuthenticatorIdRetrieved(in long authenticatorId);
  void onAuthenticatorIdInvalidated();
}
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ interface IFingerprint {

    void setResetLockoutCallback(in IResetLockoutCallback cb);

    void generateChallenge(in int sensorId, in int userId, in long keystoreOperationId, in int timeoutSec, in IGenerateChallengeCallback cb);
    void generateChallenge(in int sensorId, in int userId, in int timeoutSec, in IGenerateChallengeCallback cb);

    void revokeChallenge(in int sensorId, in int userId, in IRevokeChallengeCallback cb);
}
Loading