Home
last modified time | relevance | path

Searched refs:authenticated (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DAuthenticationClient.java177 boolean authenticated, ArrayList<Byte> hardwareAuthToken) { in onAuthenticated() argument
179 authenticated, mRequireConfirmation, getTargetUserId(), isBiometricPrompt()); in onAuthenticated() local
184 Slog.v(TAG, "onAuthenticated(" + authenticated + ")" in onAuthenticated()
196 pm.incrementCryptoAuthForUser(getTargetUserId(), authenticated); in onAuthenticated() local
198 pm.incrementAuthForUser(getTargetUserId(), authenticated); in onAuthenticated() local
208 if (!mAllowBackgroundAuthentication && authenticated in onAuthenticated()
217 authenticated = false; in onAuthenticated()
225 if (authenticated) { in onAuthenticated()
303 AuthenticationClient.this.handleLifecycleAfterAuth(authenticated); in onAuthenticated()
380 protected abstract void handleLifecycleAfterAuth(boolean authenticated); in handleLifecycleAfterAuth() argument
DAuthenticationConsumer.java27 void onAuthenticated(BiometricAuthenticator.Identifier identifier, boolean authenticated, in onAuthenticated() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
DPromptViewModelTest.kt264 val authenticated by collectLastValue(viewModel.isAuthenticated) in <lambda>() constant
270 assertThat(authenticated?.isNotAuthenticated).isTrue() in <lambda>()
283 assertThat(authenticated?.isNotAuthenticated).isTrue() in <lambda>()
785 val authenticated by collectLastValue(viewModel.isAuthenticated) in <lambda>() constant
793 assertThat(authenticated?.isNotAuthenticated).isTrue() in <lambda>()
799 assertThat(authenticated?.isAuthenticated).isTrue() in <lambda>()
800 assertThat(authenticated?.delay).isEqualTo(DELAY) in <lambda>()
801 assertThat(authenticated?.needsUserConfirmation).isEqualTo(expectConfirmation) in <lambda>()
882 val authenticated by collectLastValue(viewModel.isAuthenticated) in <lambda>() constant
911 assertThat(authenticated?.isNotAuthenticated).isTrue() in <lambda>()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/
DAuthenticationStats.java84 public void authenticate(boolean authenticated) { in authenticate() argument
85 if (!authenticated) { in authenticate()
DAuthenticationStatsCollector.java113 public void authenticate(int userId, boolean authenticated) { in authenticate() argument
143 authenticationStats.authenticate(authenticated); in authenticate()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
DFingerprintAuthenticationClient.java163 protected void handleLifecycleAfterAuth(boolean authenticated) { in handleLifecycleAfterAuth() argument
164 if (authenticated) { in handleLifecycleAfterAuth()
178 boolean authenticated, in onAuthenticated() argument
180 super.onAuthenticated(identifier, authenticated, token); in onAuthenticated()
181 handleLockout(authenticated); in onAuthenticated()
182 if (authenticated) { in onAuthenticated()
205 private void handleLockout(boolean authenticated) { in handleLockout() argument
210 if (authenticated && !isBiometricPrompt()) { in handleLockout()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/deviceentry/data/repository/
DDeviceEntryFaceAuthRepositoryTest.kt155 private lateinit var authenticated: FlowValue<Boolean?> variable in com.android.systemui.deviceentry.data.repository.DeviceEntryFaceAuthRepositoryTest
261 assertThat(authenticated()).isTrue() in faceAuthRunsAndProvidesAuthStatusUpdates()
737 assertThat(authenticated()).isNotNull() in everythingEmitsADefaultValueAndDoesNotErrorOut()
750 assertThat(authenticated()).isFalse() in isAuthenticatedIsFalseWhenFaceAuthFails()
763 assertThat(authenticated()).isFalse() in isAuthenticatedIsFalseWhenFaceAuthErrorsOut()
778 assertThat(authenticated()).isTrue() in isAuthenticatedIsResetToFalseWhenDeviceStartsGoingToSleep()
782 assertThat(authenticated()).isFalse() in isAuthenticatedIsResetToFalseWhenDeviceStartsGoingToSleep()
797 assertThat(authenticated()).isTrue() in isAuthenticatedIsResetToFalseWhenDeviceGoesToSleep()
801 assertThat(authenticated()).isFalse() in isAuthenticatedIsResetToFalseWhenDeviceGoesToSleep()
816 assertThat(authenticated()).isTrue() in isAuthenticatedIsResetToFalseWhenUserIsSwitching()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
DHidlToAidlCallbackConverter.java47 final boolean authenticated = faceId != 0; in onAuthenticated()
54 if (authenticated) { in onAuthenticated()
/frameworks/base/services/core/jni/
Dcom_android_server_fingerprint_FingerprintService.cpp101 arg1 = msg.data.authenticated.finger.fid; in hal_notify_callback()
102 arg2 = msg.data.authenticated.finger.gid; in hal_notify_callback()
104 notifyKeystore(reinterpret_cast<uint8_t *>(&msg.data.authenticated.hat), in hal_notify_callback()
105 sizeof(msg.data.authenticated.hat)); in hal_notify_callback()
/frameworks/base/services/core/java/com/android/server/biometrics/log/
DBiometricLogger.java204 boolean authenticated, boolean requireConfirmation, int targetUserId, in logOnAuthenticated() argument
212 mAuthenticationStatsCollector.authenticate(targetUserId, authenticated); in logOnAuthenticated()
216 if (!authenticated) { in logOnAuthenticated()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DUsageStats.java47 public AuthenticationEvent(long startTime, long latency, boolean authenticated, int error, in AuthenticationEvent() argument
51 mAuthenticated = authenticated; in AuthenticationEvent()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DFaceAuthenticationClient.java243 protected void handleLifecycleAfterAuth(boolean authenticated) { in handleLifecycleAfterAuth() argument
258 boolean authenticated, ArrayList<Byte> token) { in onAuthenticated() argument
259 super.onAuthenticated(identifier, authenticated, token); in onAuthenticated()
265 authenticated, in onAuthenticated()
271 if (authenticated) { in onAuthenticated()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainerController.java220 public void dismiss(boolean authenticated, int targetId,
222 dismiss(authenticated, targetId, /* bypassSecondaryLockScreen */ false,
227 public boolean dismiss(boolean authenticated, int targetId,
230 authenticated, targetId, bypassSecondaryLockScreen, expectedSecurityMode);
656 public void dismiss(boolean authenticated, int targetUserId, in dismiss() argument
658 mKeyguardSecurityCallback.dismiss(authenticated, targetUserId, expectedSecurityMode); in dismiss()
827 public boolean showNextSecurityScreenOrFinish(boolean authenticated, int targetUserId, in showNextSecurityScreenOrFinish() argument
829 if (DEBUG) Log.d(TAG, "showNextSecurityScreenOrFinish(" + authenticated + ")"); in showNextSecurityScreenOrFinish()
862 } else if (authenticated) { in showNextSecurityScreenOrFinish()
DKeyguardUpdateMonitor.java456 BiometricAuthenticated(boolean authenticated, boolean isStrongBiometric) { in BiometricAuthenticated() argument
457 this.mAuthenticated = authenticated; in BiometricAuthenticated()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/log/
DBiometricLoggerTest.java116 final boolean authenticated = true; in testAuth()
122 authenticated, requireConfirmation, targetUserId, isBiometricPrompt); in testAuth()
129 verify(mAuthenticationStatsCollector).authenticate(eq(targetUserId), eq(authenticated)); in testAuth()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DBiometricViewBinder.kt271 combine(viewModel.isAuthenticated, viewModel.size) { (authenticated, _), size -> in <lambda>() method
273 authenticated -> false in <lambda>()
/frameworks/base/core/proto/android/server/
Dbiometrics.proto73 * Biometric authenticated, waiting for SysUI to finish animation
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java1766 public void reportUnlockAttempt(boolean authenticated, int userId) throws RemoteException {
1771 authenticated,
1775 mHandler.obtainMessage(MSG_DISPATCH_UNLOCK_ATTEMPT, authenticated ? 1 : 0, userId)
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
DBiometricSchedulerTest.java1097 protected void handleLifecycleAfterAuth(boolean authenticated) { in handleLifecycleAfterAuth() argument
1102 boolean authenticated, ArrayList<Byte> hardwareAuthToken) { in onAuthenticated() argument
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto4106 // Tag FIELD_AUTOFILL_AUTHENTICATION_STATUS: status of authenticated datasets or responses.
6197 // Tag used when the service returned an authenticated dataset or response.
/frameworks/proto_logging/stats/
Datoms.proto6363 // The ambient light lux when authenticated.
17707 * operation. Per operation keys must be user authenticated on each usage.