Home
last modified time | relevance | path

Searched refs:shouldListenForFingerprint (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardUpdateMonitorTest.java912 assertThat(mKeyguardUpdateMonitor.shouldListenForFingerprint(true)).isEqualTo(true); in testStartUdfpsServiceBeginsOnKeyguard()
924 assertThat(mKeyguardUpdateMonitor.shouldListenForFingerprint(false)).isEqualTo(false); in testOccludingAppFingerprintListeningState()
928 assertThat(mKeyguardUpdateMonitor.shouldListenForFingerprint(true)).isEqualTo(true); in testOccludingAppFingerprintListeningState()
942 assertThat(mKeyguardUpdateMonitor.shouldListenForFingerprint(false)).isEqualTo(true); in testOccludingAppRequestsFingerprint()
948 assertThat(mKeyguardUpdateMonitor.shouldListenForFingerprint(false)).isEqualTo(false); in testOccludingAppRequestsFingerprint()
961 assertThat(mKeyguardUpdateMonitor.shouldListenForFingerprint(true)).isEqualTo(false); in testStartUdfpsServiceNoAuthenticationSinceLastBoot()
974 assertThat(mKeyguardUpdateMonitor.shouldListenForFingerprint(true)).isEqualTo(true); in testStartUdfpsServiceStrongAuthRequiredAfterTimeout()
988 assertThat(mKeyguardUpdateMonitor.shouldListenForFingerprint(true)).isEqualTo(false); in testShouldNotListenForUdfps_whenTrustEnabled()
1002 assertThat(mKeyguardUpdateMonitor.shouldListenForFingerprint(true)).isEqualTo(false); in testShouldNotListenForUdfps_whenFaceAuthenticated()
1017 assertThat(mKeyguardUpdateMonitor.shouldListenForFingerprint(true)).isEqualTo(false); in testShouldNotListenForUdfps_whenInLockDown()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardUpdateMonitor.java2169 final boolean shouldListenForFingerprint = shouldListenForFingerprint(isUdfpsSupported()); in updateFingerprintListeningState()
2172 if (runningOrRestarting && !shouldListenForFingerprint) { in updateFingerprintListeningState()
2178 } else if (!runningOrRestarting && shouldListenForFingerprint) { in updateFingerprintListeningState()
2275 protected boolean shouldListenForFingerprint(boolean isUdfps) { in shouldListenForFingerprint() method in KeyguardUpdateMonitor
3484 + " expected=" + (shouldListenForFingerprint(isUdfpsEnrolled()) ? 1 : 0)); in dump()
3492 pw.println(" shouldListenForUdfps=" + shouldListenForFingerprint(true)); in dump()