Home
last modified time | relevance | path

Searched refs:BiometricType (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/data/repository/
DFakeDeviceEntryFingerprintAuthRepository.kt50 private var fpSensorType = MutableStateFlow<BiometricType?>(null)
51 override val availableFpSensorType: Flow<BiometricType?>
53 fun setAvailableFpSensorType(value: BiometricType?) { in setAvailableFpSensorType()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DActiveUnlockConfig.kt101 enum class BiometricType(val intValue: Int) { class
220 setOf(BiometricType.NONE.intValue)) in onChange()
349 return onUnlockIntentWhenBiometricEnrolled.contains(BiometricType.NONE.intValue) in shouldRequestActiveUnlockOnUnlockIntentFromBiometricEnrollment()
354 BiometricType.ANY_FINGERPRINT.intValue) || in shouldRequestActiveUnlockOnUnlockIntentFromBiometricEnrollment()
356 BiometricType.UNDER_DISPLAY_FINGERPRINT.intValue)) in shouldRequestActiveUnlockOnUnlockIntentFromBiometricEnrollment()
360 return onUnlockIntentWhenBiometricEnrolled.contains(BiometricType.ANY_FACE.intValue) in shouldRequestActiveUnlockOnUnlockIntentFromBiometricEnrollment()
378 for (biometricType in BiometricType.values()) { in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DDeviceEntryFingerprintAuthRepository.kt70 val availableFpSensorType: Flow<BiometricType?> in <lambda>()
96 override val availableFpSensorType: Flow<BiometricType?>
124 private fun getFpSensorType(): BiometricType? { in getFpSensorType()
125 return if (authController.isUdfpsSupported) BiometricType.UNDER_DISPLAY_FINGERPRINT in getFpSensorType()
126 else if (authController.isSfpsSupported) BiometricType.SIDE_FINGERPRINT in getFpSensorType()
127 else if (authController.isRearFpsSupported) BiometricType.REAR_FINGERPRINT else null in getFpSensorType()
DBiometricType.kt20 enum class BiometricType(val isFingerprint: Boolean) { class
DBiometricSettingsRepository.kt196 sensorBiometricType: BiometricType, in currentUserId()
225 sensorBiometricType: BiometricType, in selectedUserId()
229 if (sensorBiometricType == BiometricType.FACE) { in selectedUserId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DDeviceEntrySideFpsOverlayInteractor.kt27 import com.android.systemui.keyguard.data.repository.BiometricType in <lambda>()
67 if (sensorType == BiometricType.SIDE_FINGERPRINT) { in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/
DDeviceEntryFingerprintAuthRepositoryTest.kt140 assertThat(availableFpSensorType()).isEqualTo(BiometricType.SIDE_FINGERPRINT) in enabledFingerprintTypeProvidesTheCorrectOutputForSpfs()
150 assertThat(availableFpSensorType()).isEqualTo(BiometricType.UNDER_DISPLAY_FINGERPRINT) in enabledFingerprintTypeProvidesTheCorrectOutputForUdfps()
162 assertThat(availableFpSensorType()).isEqualTo(BiometricType.REAR_FINGERPRINT) in enabledFingerprintTypeProvidesTheCorrectOutputForRearFps()
182 assertThat(availableFpSensorType()).isEqualTo(BiometricType.UNDER_DISPLAY_FINGERPRINT) in enabledFingerprintTypeProvidesTheCorrectOutputAfterAllAuthenticatorsAreRegistered()
DBiometricSettingsRepositoryTest.kt44 import com.android.systemui.keyguard.data.repository.BiometricType.FACE
45 import com.android.systemui.keyguard.data.repository.BiometricType.REAR_FINGERPRINT
46 import com.android.systemui.keyguard.data.repository.BiometricType.SIDE_FINGERPRINT
47 import com.android.systemui.keyguard.data.repository.BiometricType.UNDER_DISPLAY_FINGERPRINT
810 private fun enrollmentChange(biometricType: BiometricType, userId: Int, enabled: Boolean) { in enrollmentChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthController.java82 import com.android.systemui.keyguard.data.repository.BiometricType;
358 BiometricType sensorBiometricType = BiometricType.UNKNOWN; in handleEnrollmentsChanged()
364 sensorBiometricType = BiometricType.UNDER_DISPLAY_FINGERPRINT; in handleEnrollmentsChanged()
367 sensorBiometricType = BiometricType.SIDE_FINGERPRINT; in handleEnrollmentsChanged()
370 sensorBiometricType = BiometricType.REAR_FINGERPRINT; in handleEnrollmentsChanged()
382 sensorBiometricType = BiometricType.FACE; in handleEnrollmentsChanged()
1380 @NonNull BiometricType biometricType, in onEnrollmentsChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/data/repository/
DDeviceEntryFaceAuthRepository.kt44 import com.android.systemui.keyguard.data.repository.BiometricType in <lambda>()
373 it == BiometricType.UNDER_DISPLAY_FINGERPRINT in isUdfps()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/deviceentry/data/repository/
DDeviceEntryFaceAuthRepositoryTest.kt60 import com.android.systemui.keyguard.data.repository.BiometricType
973 BiometricType.UNDER_DISPLAY_FINGERPRINT in detectDoesNotRunIfUdfpsIsRunning()