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

Commit ce09e187 authored by Ilya Matyukhin's avatar Ilya Matyukhin
Browse files

Update framework with IFace getSensorConfig

Bug: 183738533
Test: atest CtsBiometricsTestCases
Change-Id: I95f10b133c62e4cda680bba925ec1c956f636b7f
parent 7804da16
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package com.android.server.biometrics.sensors.face.aidl;

import android.hardware.biometrics.common.ICancellationSignal;
import android.hardware.biometrics.face.EnrollmentStageConfig;
import android.hardware.biometrics.face.Error;
import android.hardware.biometrics.face.IFace;
import android.hardware.biometrics.face.ISession;
@@ -56,6 +57,11 @@ public class TestHal extends IFace.Stub {
                cb.onChallengeRevoked(challenge);
            }

            @Override
            public EnrollmentStageConfig[] getEnrollmentConfig(byte enrollmentType) {
                return new EnrollmentStageConfig[0];
            }

            @Override
            public ICancellationSignal enroll(HardwareAuthToken hat,
                    byte enrollmentType, byte[] features, NativeHandle previewSurface) {