Home
last modified time | relevance | path

Searched refs:FaceAuthenticateOptions (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DSysUiFaceAuthenticateOptions.kt19 import android.hardware.face.FaceAuthenticateOptions
20 import android.hardware.face.FaceAuthenticateOptions.AUTHENTICATE_REASON_ALTERNATE_BIOMETRIC_BOUNCE…
21 import android.hardware.face.FaceAuthenticateOptions.AUTHENTICATE_REASON_ASSISTANT_VISIBLE
22 import android.hardware.face.FaceAuthenticateOptions.AUTHENTICATE_REASON_NOTIFICATION_PANEL_CLICKED
23 import android.hardware.face.FaceAuthenticateOptions.AUTHENTICATE_REASON_OCCLUDING_APP_REQUESTED
24 import android.hardware.face.FaceAuthenticateOptions.AUTHENTICATE_REASON_PICK_UP_GESTURE_TRIGGERED
25 import android.hardware.face.FaceAuthenticateOptions.AUTHENTICATE_REASON_PRIMARY_BOUNCER_SHOWN
26 import android.hardware.face.FaceAuthenticateOptions.AUTHENTICATE_REASON_STARTED_WAKING_UP
27 import android.hardware.face.FaceAuthenticateOptions.AUTHENTICATE_REASON_SWIPE_UP_ON_BOUNCER
28 import android.hardware.face.FaceAuthenticateOptions.AUTHENTICATE_REASON_UDFPS_POINTER_DOWN
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/log/
DOperationContextExt.java32 import android.hardware.face.FaceAuthenticateOptions;
106 if (options instanceof FaceAuthenticateOptions) { in toAidlContext()
107 return toAidlContext((FaceAuthenticateOptions) options); in toAidlContext()
123 public OperationContext toAidlContext(@NonNull FaceAuthenticateOptions options) { in toAidlContext()
154 private int getAuthReason(@NonNull FaceAuthenticateOptions options) { in getAuthReason()
156 case FaceAuthenticateOptions.AUTHENTICATE_REASON_STARTED_WAKING_UP: in getAuthReason()
158 case FaceAuthenticateOptions.AUTHENTICATE_REASON_PRIMARY_BOUNCER_SHOWN: in getAuthReason()
160 case FaceAuthenticateOptions.AUTHENTICATE_REASON_ASSISTANT_VISIBLE: in getAuthReason()
162 case FaceAuthenticateOptions.AUTHENTICATE_REASON_ALTERNATE_BIOMETRIC_BOUNCER_SHOWN: in getAuthReason()
164 case FaceAuthenticateOptions.AUTHENTICATE_REASON_NOTIFICATION_PANEL_CLICKED: in getAuthReason()
[all …]
/frameworks/base/core/java/android/hardware/face/
DFaceAuthenticateOptions.java46 public class FaceAuthenticateOptions implements AuthenticateOptions, Parcelable { class
184 /* package-private */ FaceAuthenticateOptions( in FaceAuthenticateOptions() method in FaceAuthenticateOptions
305 public @NonNull FaceAuthenticateOptions setSensorId( int value) { in setSensorId()
317 public @NonNull FaceAuthenticateOptions setOpPackageName(@NonNull String value) { in setOpPackageName()
330 public @NonNull FaceAuthenticateOptions setAttributionTag(@NonNull String value) { in setAttributionTag()
345 FaceAuthenticateOptions that = (FaceAuthenticateOptions) o; in equals()
399 protected FaceAuthenticateOptions(@NonNull android.os.Parcel in) { in FaceAuthenticateOptions() method in FaceAuthenticateOptions
457 public static final @NonNull Parcelable.Creator<FaceAuthenticateOptions> CREATOR
458 = new Parcelable.Creator<FaceAuthenticateOptions>() {
460 public FaceAuthenticateOptions[] newArray(int size) {
[all …]
DIFaceService.aidl28 import android.hardware.face.FaceAuthenticateOptions;
60 in FaceAuthenticateOptions options); in authenticate()
66 … long detectFace(IBinder token, IFaceServiceReceiver receiver, in FaceAuthenticateOptions options); in detectFace()
76 in FaceAuthenticateOptions options, long requestId, int cookie, in prepareForAuthentication()
DFaceAuthenticateOptions.aidl19 parcelable FaceAuthenticateOptions;
DFaceManager.java230 authenticate(crypto, cancel, callback, handler, new FaceAuthenticateOptions.Builder() in authenticate()
258 @NonNull FaceAuthenticateOptions options) { in authenticate()
302 @NonNull FaceDetectionCallback callback, @NonNull FaceAuthenticateOptions options) { in detectFace()
/frameworks/base/core/tests/coretests/src/android/hardware/face/
DFaceManagerTest.java90 private ArgumentCaptor<FaceAuthenticateOptions> mOptionsCaptor;
133 new FaceAuthenticateOptions.Builder() in authenticate_withOptions()
143 new FaceAuthenticateOptions.Builder() in authenticate_withOptions()
158 new FaceAuthenticateOptions.Builder().build()); in authenticate_errorWhenUnavailable()
205 new FaceAuthenticateOptions.Builder().build()); in detectClient_onError()
227 new FaceAuthenticateOptions.Builder().build()); in authenticate_onErrorCanceled()
230 new FaceAuthenticateOptions.Builder().build()); in authenticate_onErrorCanceled()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DServiceProvider.java25 import android.hardware.face.FaceAuthenticateOptions;
89 @NonNull FaceAuthenticateOptions options, in scheduleFaceDetect()
96 @NonNull FaceAuthenticateOptions options, in scheduleAuthenticate()
101 @NonNull FaceAuthenticateOptions options, long requestId, in scheduleAuthenticate()
DFaceAuthenticator.java26 import android.hardware.face.FaceAuthenticateOptions;
69 sensorReceiver, new FaceAuthenticateOptions.Builder() in prepareForAuthentication()
DFaceService.java39 import android.hardware.face.FaceAuthenticateOptions;
265 final IFaceServiceReceiver receiver, final FaceAuthenticateOptions options) { in authenticate()
296 final IFaceServiceReceiver receiver, final FaceAuthenticateOptions options) { in detectFace()
321 FaceAuthenticateOptions options, long requestId, int cookie, in prepareForAuthentication()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/
DFaceServiceTest.java35 import android.hardware.face.FaceAuthenticateOptions;
208 FaceAuthenticateOptions faceAuthenticateOptions = new FaceAuthenticateOptions.Builder() in testOptionsForAuthentication()
223 FaceAuthenticateOptions faceAuthenticateOptions = new FaceAuthenticateOptions.Builder() in testOptionsForDetect()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DFaceDetectClient.java32 import android.hardware.face.FaceAuthenticateOptions;
59 private final FaceAuthenticateOptions mOptions;
67 @NonNull FaceAuthenticateOptions options, in FaceDetectClient()
80 @NonNull FaceAuthenticateOptions options, in FaceDetectClient()
DFaceAuthenticationClient.java47 import android.hardware.face.FaceAuthenticateOptions;
77 extends AuthenticationClient<AidlSession, FaceAuthenticateOptions>
102 boolean restricted, @NonNull FaceAuthenticateOptions options, int cookie, in FaceAuthenticationClient()
121 boolean restricted, @NonNull FaceAuthenticateOptions options, int cookie, in FaceAuthenticationClient()
DFaceProvider.java36 import android.hardware.face.FaceAuthenticateOptions;
521 @NonNull FaceAuthenticateOptions options, int statsClient) { in scheduleFaceDetect()
548 @NonNull FaceAuthenticateOptions options, in scheduleAuthenticate()
592 @NonNull FaceAuthenticateOptions options, boolean restricted, int statsClient, in scheduleAuthenticate()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
DFaceDetectClientTest.java40 import android.hardware.face.FaceAuthenticateOptions;
188 new FaceAuthenticateOptions.Builder() in createClient()
194 FaceAuthenticateOptions.AUTHENTICATE_REASON_OCCLUDING_APP_REQUESTED) in createClient()
DFaceAuthenticationClientTest.java60 import android.hardware.face.FaceAuthenticateOptions;
152 private ArgumentCaptor<FaceAuthenticateOptions> mFaceAuthenticateOptionsCaptor;
524 final FaceAuthenticateOptions options = new FaceAuthenticateOptions.Builder() in createClient()
530 FaceAuthenticateOptions.AUTHENTICATE_REASON_ASSISTANT_VISIBLE) in createClient()
DFaceProviderTest.java43 import android.hardware.face.FaceAuthenticateOptions;
247 new FaceAuthenticateOptions.Builder() in testAuthenticateCallbackHandler()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/deviceentry/data/repository/
DDeviceEntryFaceAuthRepositoryTest.kt27 import android.hardware.face.FaceAuthenticateOptions
28 import android.hardware.face.FaceAuthenticateOptions.AUTHENTICATE_REASON_ALTERNATE_BIOMETRIC_BOUNCE…
29 import android.hardware.face.FaceAuthenticateOptions.AUTHENTICATE_REASON_NOTIFICATION_PANEL_CLICKED
30 import android.hardware.face.FaceAuthenticateOptions.AUTHENTICATE_REASON_SWIPE_UP_ON_BOUNCER
135 @Captor private lateinit var faceAuthenticateOptions: ArgumentCaptor<FaceAuthenticateOptions>
402 .detectFace(any(), any(), any(FaceAuthenticateOptions::class.java)) in faceDetectDoesNotRunIfDetectionIsNotSupported()
1253 any(FaceAuthenticateOptions::class.java) in faceAuthenticateIsNotCalled()
1259 .detectFace(any(), any(), any(FaceAuthenticateOptions::class.java)) in faceDetectIsNotCalled()