Home
last modified time | relevance | path

Searched refs:AuthenticateOptions (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/log/
DBiometricContextProviderTest.java34 import android.hardware.biometrics.AuthenticateOptions;
120 AuthenticateOptions.DISPLAY_STATE_UNKNOWN, false, in testIsAod()
121 AuthenticateOptions.DISPLAY_STATE_AOD, true, in testIsAod()
122 AuthenticateOptions.DISPLAY_STATE_LOCKSCREEN, false, in testIsAod()
123 AuthenticateOptions.DISPLAY_STATE_NO_UI, false, in testIsAod()
124 AuthenticateOptions.DISPLAY_STATE_SCREENSAVER, false in testIsAod()
137 AuthenticateOptions.DISPLAY_STATE_UNKNOWN, true, in testIsAwake()
138 AuthenticateOptions.DISPLAY_STATE_LOCKSCREEN, true, in testIsAwake()
139 AuthenticateOptions.DISPLAY_STATE_SCREENSAVER, true, in testIsAwake()
140 AuthenticateOptions.DISPLAY_STATE_NO_UI, false, in testIsAwake()
[all …]
DOperationContextExtTest.java24 import android.hardware.biometrics.AuthenticateOptions;
92 AuthenticateOptions.DISPLAY_STATE_UNKNOWN, DisplayState.UNKNOWN, in mapsDisplayStatesToAidl()
93 AuthenticateOptions.DISPLAY_STATE_AOD, DisplayState.AOD, in mapsDisplayStatesToAidl()
94 AuthenticateOptions.DISPLAY_STATE_NO_UI, DisplayState.NO_UI, in mapsDisplayStatesToAidl()
95 AuthenticateOptions.DISPLAY_STATE_LOCKSCREEN, DisplayState.LOCKSCREEN, in mapsDisplayStatesToAidl()
96 AuthenticateOptions.DISPLAY_STATE_SCREENSAVER, DisplayState.SCREENSAVER, in mapsDisplayStatesToAidl()
134 final int displayState = AuthenticateOptions.DISPLAY_STATE_AOD; in updatesFromSource()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/
DLogContextInteractor.kt19 import android.hardware.biometrics.AuthenticateOptions in <lambda>()
87 KeyguardState.PRIMARY_BOUNCER -> AuthenticateOptions.DISPLAY_STATE_LOCKSCREEN in <lambda>()
88 KeyguardState.AOD -> AuthenticateOptions.DISPLAY_STATE_AOD in <lambda>()
90 KeyguardState.DOZING -> AuthenticateOptions.DISPLAY_STATE_NO_UI in <lambda>()
91 KeyguardState.DREAMING -> AuthenticateOptions.DISPLAY_STATE_SCREENSAVER in <lambda>()
92 else -> AuthenticateOptions.DISPLAY_STATE_UNKNOWN in <lambda>()
100 displayState.map { it == AuthenticateOptions.DISPLAY_STATE_AOD }.distinctUntilChanged() in <lambda>()
106 AuthenticateOptions.DISPLAY_STATE_LOCKSCREEN, in <lambda>()
107 AuthenticateOptions.DISPLAY_STATE_SCREENSAVER, in <lambda>()
108 AuthenticateOptions.DISPLAY_STATE_UNKNOWN -> true in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
DLogContextInteractorImplTest.kt19 import android.hardware.biometrics.AuthenticateOptions
143 assertThat(displayState()).isEqualTo(AuthenticateOptions.DISPLAY_STATE_NO_UI) in displayStateChanges()
146 assertThat(displayState()).isEqualTo(AuthenticateOptions.DISPLAY_STATE_NO_UI) in displayStateChanges()
149 assertThat(displayState()).isEqualTo(AuthenticateOptions.DISPLAY_STATE_SCREENSAVER) in displayStateChanges()
152 assertThat(displayState()).isEqualTo(AuthenticateOptions.DISPLAY_STATE_AOD) in displayStateChanges()
155 assertThat(displayState()).isEqualTo(AuthenticateOptions.DISPLAY_STATE_LOCKSCREEN) in displayStateChanges()
158 assertThat(displayState()).isEqualTo(AuthenticateOptions.DISPLAY_STATE_LOCKSCREEN) in displayStateChanges()
161 assertThat(displayState()).isEqualTo(AuthenticateOptions.DISPLAY_STATE_LOCKSCREEN) in displayStateChanges()
164 assertThat(displayState()).isEqualTo(AuthenticateOptions.DISPLAY_STATE_UNKNOWN) in displayStateChanges()
167 assertThat(displayState()).isEqualTo(AuthenticateOptions.DISPLAY_STATE_LOCKSCREEN) in displayStateChanges()
[all …]
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintAuthenticateOptions.java23 import android.hardware.biometrics.AuthenticateOptions;
41 public final class FingerprintAuthenticateOptions implements AuthenticateOptions, Parcelable {
62 @AuthenticateOptions.DisplayState
118 @AuthenticateOptions.DisplayState int displayState, in FingerprintAuthenticateOptions()
127 AuthenticateOptions.DisplayState.class, null, mDisplayState); in FingerprintAuthenticateOptions()
165 public @AuthenticateOptions.DisplayState int getDisplayState() { in getDisplayState()
330 AuthenticateOptions.DisplayState.class, null, mDisplayState); in FingerprintAuthenticateOptions()
364 private @AuthenticateOptions.DisplayState int mDisplayState;
411 public @NonNull Builder setDisplayState(@AuthenticateOptions.DisplayState int value) { in setDisplayState()
/frameworks/base/services/core/java/com/android/server/biometrics/log/
DBiometricContext.java22 import android.hardware.biometrics.AuthenticateOptions;
77 @AuthenticateOptions.DisplayState
96 @Nullable AuthenticateOptions options); in subscribe()
DBiometricContextProvider.java26 import android.hardware.biometrics.AuthenticateOptions;
89 private int mDisplayState = AuthenticateOptions.DISPLAY_STATE_UNKNOWN;
186 return mDisplayState == AuthenticateOptions.DISPLAY_STATE_AOD; in isAod()
192 case AuthenticateOptions.DISPLAY_STATE_LOCKSCREEN: in isAwake()
193 case AuthenticateOptions.DISPLAY_STATE_SCREENSAVER: in isAwake()
194 case AuthenticateOptions.DISPLAY_STATE_UNKNOWN: in isAwake()
234 @Nullable AuthenticateOptions options) { in subscribe()
DOperationContextExt.java22 import android.hardware.biometrics.AuthenticateOptions;
105 public OperationContext toAidlContext(@NonNull AuthenticateOptions options) { in toAidlContext()
311 private static int toAidlDisplayState(@AuthenticateOptions.DisplayState int state) { in toAidlDisplayState()
313 case AuthenticateOptions.DISPLAY_STATE_AOD: in toAidlDisplayState()
315 case AuthenticateOptions.DISPLAY_STATE_LOCKSCREEN: in toAidlDisplayState()
317 case AuthenticateOptions.DISPLAY_STATE_NO_UI: in toAidlDisplayState()
319 case AuthenticateOptions.DISPLAY_STATE_SCREENSAVER: in toAidlDisplayState()
/frameworks/base/core/java/android/hardware/face/
DFaceAuthenticateOptions.java25 import android.hardware.biometrics.AuthenticateOptions;
46 public class FaceAuthenticateOptions implements AuthenticateOptions, Parcelable {
61 @AuthenticateOptions.DisplayState
187 @AuthenticateOptions.DisplayState int displayState, in FaceAuthenticateOptions()
196 AuthenticateOptions.DisplayState.class, null, mDisplayState); in FaceAuthenticateOptions()
256 public @AuthenticateOptions.DisplayState int getDisplayState() { in getDisplayState()
416 AuthenticateOptions.DisplayState.class, null, mDisplayState); in FaceAuthenticateOptions()
479 private @AuthenticateOptions.DisplayState int mDisplayState;
516 public @NonNull Builder setDisplayState(@AuthenticateOptions.DisplayState int value) { in setDisplayState()
/frameworks/base/core/java/android/hardware/biometrics/
DAuthenticateOptions.java31 public interface AuthenticateOptions { interface
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DAuthenticationClient.java26 import android.hardware.biometrics.AuthenticateOptions;
48 public abstract class AuthenticationClient<T, O extends AuthenticateOptions>
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
DBiometricSchedulerTest.java42 import android.hardware.biometrics.AuthenticateOptions;
1027 private static class TestAuthenticateOptions implements AuthenticateOptions {