/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/ |
D | BiometricStatusInteractorImplTest.kt | 28 import com.android.systemui.biometrics.shared.model.AuthenticationReason 29 import com.android.systemui.biometrics.shared.model.AuthenticationReason.SettingsOperations 63 assertThat(sfpsAuthenticationReason).isEqualTo(AuthenticationReason.NotRunning) in doesNotUpdatesSfpsAuthenticationReason_whenUdfpsAuthenticationStarted() 66 AuthenticationReason.BiometricPromptAuthentication in doesNotUpdatesSfpsAuthenticationReason_whenUdfpsAuthenticationStarted() 68 assertThat(sfpsAuthenticationReason).isEqualTo(AuthenticationReason.NotRunning) in doesNotUpdatesSfpsAuthenticationReason_whenUdfpsAuthenticationStarted() 78 assertThat(sfpsAuthenticationReason).isEqualTo(AuthenticationReason.NotRunning) in updatesSfpsAuthenticationReason_whenSfpsBiometricPromptAuthenticationStarted() 81 AuthenticationReason.BiometricPromptAuthentication in updatesSfpsAuthenticationReason_whenSfpsBiometricPromptAuthenticationStarted() 84 .isEqualTo(AuthenticationReason.BiometricPromptAuthentication) in updatesSfpsAuthenticationReason_whenSfpsBiometricPromptAuthenticationStarted() 94 assertThat(sfpsAuthenticationReason).isEqualTo(AuthenticationReason.NotRunning) in doesNotUpdateSfpsAuthenticationReason_whenSfpsDeviceEntryAuthenticationStarted() 97 AuthenticationReason.DeviceEntryAuthentication in doesNotUpdateSfpsAuthenticationReason_whenSfpsDeviceEntryAuthenticationStarted() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/shared/model/ |
D | AuthenticationReason.kt | 22 sealed interface AuthenticationReason { interface 24 data object DeviceEntryAuthentication : AuthenticationReason 28 AuthenticationReason 31 data object BiometricPromptAuthentication : AuthenticationReason 34 data object OtherAuthentication : AuthenticationReason 37 data object Unknown : AuthenticationReason 40 data object NotRunning : AuthenticationReason
|
D | AuthenticationState.kt | 37 val requestReason: AuthenticationReason 50 override val requestReason: AuthenticationReason, 68 override val requestReason: AuthenticationReason, 80 override val requestReason: AuthenticationReason, 96 override val requestReason: AuthenticationReason, 107 override val requestReason: AuthenticationReason 118 override val requestReason: AuthenticationReason 129 override val requestReason: AuthenticationReason 143 override val requestReason: AuthenticationReason,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/ |
D | BiometricStatusInteractor.kt | 23 import com.android.systemui.biometrics.shared.model.AuthenticationReason in <lambda>() 24 import com.android.systemui.biometrics.shared.model.AuthenticationReason.SettingsOperations in <lambda>() 38 val sfpsAuthenticationReason: Flow<AuthenticationReason> in <lambda>() 52 override val sfpsAuthenticationReason: Flow<AuthenticationReason> = 56 ) { reason: AuthenticationReason, sensorType -> in reason() 63 AuthenticationReason.NotRunning in reason() 78 private fun AuthenticationReason.isReasonToAlwaysUpdateSfpsOverlay( in isReasonToAlwaysUpdateSfpsOverlay() method 82 AuthenticationReason.DeviceEntryAuthentication -> false in isReasonToAlwaysUpdateSfpsOverlay() 83 AuthenticationReason.SettingsAuthentication(SettingsOperations.OTHER) -> in isReasonToAlwaysUpdateSfpsOverlay()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/ |
D | BiometricStatusRepositoryTest.kt | 35 import com.android.systemui.biometrics.shared.model.AuthenticationReason 36 import com.android.systemui.biometrics.shared.model.AuthenticationReason.SettingsOperations 80 assertThat(fingerprintAuthenticationReason).isEqualTo(AuthenticationReason.NotRunning) in updatesFingerprintAuthenticationReason_whenBiometricPromptAuthenticationStarted() 87 .isEqualTo(AuthenticationReason.BiometricPromptAuthentication) in updatesFingerprintAuthenticationReason_whenBiometricPromptAuthenticationStarted() 99 assertThat(fingerprintAuthenticationReason).isEqualTo(AuthenticationReason.NotRunning) in updatesFingerprintAuthenticationReason_whenDeviceEntryAuthenticationStarted() 109 .isEqualTo(AuthenticationReason.DeviceEntryAuthentication) in updatesFingerprintAuthenticationReason_whenDeviceEntryAuthenticationStarted() 121 assertThat(fingerprintAuthenticationReason).isEqualTo(AuthenticationReason.NotRunning) in updatesFingerprintAuthenticationReason_whenOtherAuthenticationStarted() 131 .isEqualTo(AuthenticationReason.OtherAuthentication) in updatesFingerprintAuthenticationReason_whenOtherAuthenticationStarted() 143 assertThat(fingerprintAuthenticationReason).isEqualTo(AuthenticationReason.NotRunning) in updatesFingerprintAuthenticationReason_whenSettingsAuthenticationStarted() 153 .isEqualTo(AuthenticationReason.SettingsAuthentication(SettingsOperations.OTHER)) in updatesFingerprintAuthenticationReason_whenSettingsAuthenticationStarted() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/ |
D | BiometricStatusRepository.kt | 38 import com.android.systemui.biometrics.shared.model.AuthenticationReason in <lambda>() 39 import com.android.systemui.biometrics.shared.model.AuthenticationReason.SettingsOperations in <lambda>() 65 val fingerprintAuthenticationReason: Flow<AuthenticationReason> in <lambda>() 153 AuthenticationReason.NotRunning in <lambda>() 173 AuthenticationState.Idle(requestReason = AuthenticationReason.NotRunning) in <lambda>() 202 override val fingerprintAuthenticationReason: Flow<AuthenticationReason> = 217 private fun Int.toAuthenticationReason(): AuthenticationReason = in toAuthenticationReason() 219 REASON_AUTH_BP -> AuthenticationReason.BiometricPromptAuthentication in toAuthenticationReason() 220 REASON_AUTH_KEYGUARD -> AuthenticationReason.DeviceEntryAuthentication in toAuthenticationReason() 221 REASON_AUTH_OTHER -> AuthenticationReason.OtherAuthentication in toAuthenticationReason() [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/biometrics/data/repository/ |
D | FakeBiometricStatusRepository.kt | 20 import com.android.systemui.biometrics.shared.model.AuthenticationReason 30 MutableStateFlow<AuthenticationReason>(AuthenticationReason.NotRunning) 31 override val fingerprintAuthenticationReason: StateFlow<AuthenticationReason> = 39 fun setFingerprintAuthenticationReason(reason: AuthenticationReason) { in setFingerprintAuthenticationReason()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/binder/ |
D | SideFpsOverlayViewBinderTest.kt | 43 import com.android.systemui.biometrics.shared.model.AuthenticationReason 153 AuthenticationReason.NotRunning in verifyIndicatorNotAdded_whenInRearDisplayMode() 177 AuthenticationReason.NotRunning in verifyIndicatorShowAndHide_onPrimaryBouncerShowAndHide() 213 AuthenticationReason.NotRunning in verifyIndicatorShowAndHide_onAlternateBouncerShowAndHide() 254 AuthenticationReason.BiometricPromptAuthentication in verifyIndicatorShownAndHidden_onSystemServerAuthenticationStartedAndStopped() 262 AuthenticationReason.NotRunning in verifyIndicatorShownAndHidden_onSystemServerAuthenticationStartedAndStopped() 282 AuthenticationReason.NotRunning in verifyIndicatorProgressBarInteraction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/ |
D | FingerprintAuthenticationModels.kt | 25 import com.android.systemui.biometrics.shared.model.AuthenticationReason 50 val authenticationReason: AuthenticationReason,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | SideFpsProgressBarViewModel.kt | 28 import com.android.systemui.biometrics.shared.model.AuthenticationReason in <lambda>() 102 it.authenticationReason == AuthenticationReason.DeviceEntryAuthentication || in <lambda>() 104 AuthenticationReason.BiometricPromptAuthentication in <lambda>() 173 sfpsAuthReason == AuthenticationReason.BiometricPromptAuthentication in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | SideFpsProgressBarViewModelTest.kt | 32 import com.android.systemui.biometrics.shared.model.AuthenticationReason 153 AuthenticationReason.DeviceEntryAuthentication, in whenFingerprintAcquiredStartsWhenNotDozing_wakesUpDevice() 173 AuthenticationReason.DeviceEntryAuthentication, in whenFingerprintAcquiredStartsWhenDozing_pulsesAod()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | SideFpsOverlayViewModelTest.kt | 41 import com.android.systemui.biometrics.shared.model.AuthenticationReason 291 AuthenticationReason.NotRunning in updatesLottieCallbacks_onShowIndicatorForDeviceEntry() 319 AuthenticationReason.BiometricPromptAuthentication in updatesLottieCallbacks_onShowIndicatorForSystemServer_inDarkMode() 345 AuthenticationReason.BiometricPromptAuthentication in updatesLottieCallbacks_onShowIndicatorForSystemServer_inLightMode()
|
D | PromptViewModelTest.kt | 68 import com.android.systemui.biometrics.shared.model.AuthenticationReason in <lambda>() 1666 AuthenticationReason.BiometricPromptAuthentication, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/ |
D | DeviceEntryFingerprintAuthRepository.kt | 25 import com.android.systemui.biometrics.shared.model.AuthenticationReason in <lambda>() 267 AuthenticationReason.DeviceEntryAuthentication, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/ |
D | SideFpsOverlayViewBinder.kt | 39 import com.android.systemui.biometrics.shared.model.AuthenticationReason.NotRunning in <lambda>()
|