Home
last modified time | relevance | path

Searched refs:shouldListenForFace (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DKeyguardStatusBarViewControllerTest.java231 when(mKeyguardUpdateMonitor.shouldListenForFace()).thenReturn(true); in updateViewState_bypassEnabledAndShouldListenForFace_viewHidden()
245 when(mKeyguardUpdateMonitor.shouldListenForFace()).thenReturn(true); in updateViewState_bypassNotEnabled_viewShown()
259 when(mKeyguardUpdateMonitor.shouldListenForFace()).thenReturn(false); in updateViewState_shouldNotListenForFace_viewShown()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardUpdateMonitor.java2243 boolean shouldListenForFace = shouldListenForFace(); in updateFaceListeningState()
2244 if (mFaceRunningState == BIOMETRIC_STATE_RUNNING && !shouldListenForFace) { in updateFaceListeningState()
2251 } else if (mFaceRunningState != BIOMETRIC_STATE_RUNNING && shouldListenForFace) { in updateFaceListeningState()
2347 public boolean shouldListenForFace() { in shouldListenForFace() method in KeyguardUpdateMonitor
3512 + " expected=(" + (shouldListenForFace() ? 1 : 0)); in dump()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardStatusBarViewController.java401 mFirstBypassAttempt && mKeyguardUpdateMonitor.shouldListenForFace() in updateViewState()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardUpdateMonitorTest.java1034 assertThat(mKeyguardUpdateMonitor.shouldListenForFace()).isEqualTo(true); in testShouldNotUpdateBiometricListeningStateOnStatusBarStateChange()