Home
last modified time | relevance | path

Searched refs:hasFace (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/shared/model/
DBiometricModalities.kt30 get() = !hasFingerprint && !hasFace
45 val hasFace: Boolean constant in com.android.systemui.biometrics.shared.model.BiometricModalities
50 get() = hasFace && !hasFingerprint
54 get() = hasFingerprint && !hasFace
58 get() = hasFingerprint && hasFace
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/shared/model/
DBiometricModalitiesTest.kt50 assertThat(hasFace).isFalse() in hasUdfps()
70 assertThat(hasFace).isFalse() in hasSfps()
86 assertThat(hasFace).isFalse() in fingerprintOnly()
98 assertThat(hasFace).isTrue() in faceOnly()
136 assertThat(hasFace).isTrue() in faceAndFingerprint()
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricService.java277 final boolean hasFace = context.getPackageManager() in SettingObserver()
283 && hasFace && !hasFingerprint; in SettingObserver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
DPromptViewModel.kt227 private val isRetrySupported: Flow<Boolean> = modalities.map { it.hasFace } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
DPromptViewModelTest.kt272 assertThat(hasFace).isEqualTo(testCase.face != null) in <lambda>()