Home
last modified time | relevance | path

Searched refs:mUnlockMethodCache (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DDynamicPrivacyController.java39 private final UnlockMethodCache mUnlockMethodCache; field in DynamicPrivacyController
66 mUnlockMethodCache = unlockMethodCache; in DynamicPrivacyController()
68 mUnlockMethodCache.addListener(this); in DynamicPrivacyController()
95 return (mUnlockMethodCache.canSkipBouncer() || mKeyguardMonitor.isKeyguardGoingAway() in isDynamicallyUnlocked()
110 || !mUnlockMethodCache.isMethodSecure()) { in isInLockedDownShade()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockIcon.java80 private final UnlockMethodCache mUnlockMethodCache; field in LockIcon
184 mUnlockMethodCache = UnlockMethodCache.getInstance(context); in LockIcon()
203 mUnlockMethodCache.addListener(this); in onAttachedToWindow()
221 mUnlockMethodCache.removeListener(this); in onDetachedFromWindow()
375 boolean canLock = mUnlockMethodCache.isMethodSecure() in updateClickability()
376 && mUnlockMethodCache.canSkipBouncer(); in updateClickability()
513 if ((mUnlockMethodCache.canSkipBouncer() || !mKeyguardShowing in getState()
DKeyguardBouncer.java71 private final UnlockMethodCache mUnlockMethodCache; field in KeyguardBouncer
112 mUnlockMethodCache = unlockMethodCache; in KeyguardBouncer()
176 if (mUnlockMethodCache.isFaceAuthEnabled() && !needsFullscreenBouncer() in show()
DBiometricUnlockController.java130 private final UnlockMethodCache mUnlockMethodCache; field in BiometricUnlockController
185 mUnlockMethodCache = unlockMethodCache; in BiometricUnlockController()
419 } else if (unlockingAllowed || !mUnlockMethodCache.isMethodSecure()) { in calculateModeForFingerprint()
DStatusBarNotificationPresenter.java126 private final UnlockMethodCache mUnlockMethodCache; field in StatusBarNotificationPresenter
155 mUnlockMethodCache = UnlockMethodCache.getInstance(mContext); in StatusBarNotificationPresenter()
401 row.setSecureStateProvider(mUnlockMethodCache::canSkipBouncer); in onBindRow()
DScrimController.java130 private final UnlockMethodCache mUnlockMethodCache; field in ScrimController
189 mUnlockMethodCache = UnlockMethodCache.getInstance(mContext); in ScrimController()
190 mDarkenWhileDragging = !mUnlockMethodCache.canSkipBouncer(); in ScrimController()
359 mDarkenWhileDragging = !mUnlockMethodCache.canSkipBouncer(); in onTrackingStarted()
DKeyguardBottomAreaView.java132 private UnlockMethodCache mUnlockMethodCache; field in KeyguardBottomAreaView
245 mUnlockMethodCache = UnlockMethodCache.getInstance(getContext()); in onFinishInflate()
246 mUnlockMethodCache.addListener(this); in onFinishInflate()
DStatusBar.java360 protected UnlockMethodCache mUnlockMethodCache; field in StatusBar
772 mUnlockMethodCache = UnlockMethodCache.getInstance(mContext); in start()
773 mUnlockMethodCache.addListener(this); in start()
1407 if (!mUnlockMethodCache.canSkipBouncer()) { in requestFaceAuth()
1657 return !mUnlockMethodCache.canSkipBouncer(); in isKeyguardCurrentlySecure()
2473 if (mUnlockMethodCache != null) { in dump()
2474 mUnlockMethodCache.dump(pw); in dump()
2729 && mUnlockMethodCache.canSkipBouncer() in dismissKeyguardThenExecute()
2874 boolean isSecure = mUnlockMethodCache.isMethodSecure(); in logStateToEventlog()
2875 boolean canSkipBouncer = mUnlockMethodCache.canSkipBouncer(); in logStateToEventlog()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java136 @Mock private UnlockMethodCache mUnlockMethodCache; field in StatusBarTest
259 mStatusBar = new TestableStatusBar(mStatusBarKeyguardViewManager, mUnlockMethodCache, in setup()
319 when(mUnlockMethodCache.canSkipBouncer()).thenReturn(true); in lockscreenStateMetrics_notShowing()
323 when(mUnlockMethodCache.isMethodSecure()).thenReturn(false); in lockscreenStateMetrics_notShowing()
337 when(mUnlockMethodCache.canSkipBouncer()).thenReturn(true); in lockscreenStateMetrics_notShowing_secure()
341 when(mUnlockMethodCache.isMethodSecure()).thenReturn(true); in lockscreenStateMetrics_notShowing_secure()
356 when(mUnlockMethodCache.canSkipBouncer()).thenReturn(true); in lockscreenStateMetrics_isShowing()
360 when(mUnlockMethodCache.isMethodSecure()).thenReturn(false); in lockscreenStateMetrics_isShowing()
375 when(mUnlockMethodCache.canSkipBouncer()).thenReturn(true); in lockscreenStateMetrics_isShowing_secure()
379 when(mUnlockMethodCache.isMethodSecure()).thenReturn(true); in lockscreenStateMetrics_isShowing_secure()
[all …]
DKeyguardBouncerTest.java86 private UnlockMethodCache mUnlockMethodCache; field in KeyguardBouncerTest
104 mExpansionCallback, mUnlockMethodCache, mKeyguardUpdateMonitor, in setup()
386 when(mUnlockMethodCache.isFaceAuthEnabled()).thenReturn(true); in testShow_delaysIfFaceAuthIsRunning()
399 when(mUnlockMethodCache.isFaceAuthEnabled()).thenReturn(true); in testShow_delaysIfFaceAuthIsRunning_unlessBypass()
DBiometricsUnlockControllerTest.java73 private UnlockMethodCache mUnlockMethodCache; field in BiometricsUnlockControllerTest
85 when(mUnlockMethodCache.isFaceAuthEnabled()).thenReturn(true); in setUp()
93 mKeyguardViewMediator, mScrimController, mStatusBar, mUnlockMethodCache, in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java97 private UnlockMethodCache mUnlockMethodCache; field in KeyguardIndicationControllerTest
145 mUnlockMethodCache, mStatusBarStateController, mKeyguardUpdateMonitor, in createController()
427 verify(mUnlockMethodCache).addListener(eq(mController)); in unlockMethodCache_listener()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java96 private final UnlockMethodCache mUnlockMethodCache; field in KeyguardSecurityContainer
136 mUnlockMethodCache = UnlockMethodCache.getInstance(context); in KeyguardSecurityContainer()
274 mSwipeUpToRetry = mUnlockMethodCache.isFaceAuthEnabled() in updateBiometricRetry()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java599 private final UnlockMethodCache mUnlockMethodCache; field in UserSwitcherController.BaseUserAdapter
604 mUnlockMethodCache = UnlockMethodCache.getInstance(controller.mContext); in BaseUserAdapter()
611 && !mUnlockMethodCache.canSkipBouncer(); in getUserCount()
633 && !mUnlockMethodCache.canSkipBouncer(); in getCount()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java90 private final UnlockMethodCache mUnlockMethodCache; field in KeyguardIndicationController
165 mUnlockMethodCache = unlockMethodCache; in KeyguardIndicationController()
195 mUnlockMethodCache.addListener(this); in KeyguardIndicationController()