Home
last modified time | relevance | path

Searched refs:mKeyguardBypassController (Results 1 – 25 of 30) sorted by relevance

12

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DBiometricsUnlockControllerTest.java92 private KeyguardBypassController mKeyguardBypassController; field in BiometricsUnlockControllerTest
116 when(mKeyguardBypassController.onBiometricAuthenticated(any(), anyBoolean())) in setUp()
119 when(mKeyguardBypassController.canPlaySubtleWindowAnimations()).thenReturn(true); in setUp()
126 mUpdateMonitor, res.getResources(), mKeyguardBypassController, mDozeParameters, in setUp()
223 when(mKeyguardBypassController.getBypassEnabled()).thenReturn(true); in onBiometricAuthenticated_whenFace_andBypass_dismissKeyguard()
241 when(mKeyguardBypassController.getBypassEnabled()).thenReturn(false); in onBiometricAuthenticated_whenFace_andNonBypassAndUdfps_dismissKeyguard()
261 when(mKeyguardBypassController.getBypassEnabled()).thenReturn(true); in onBiometricAuthenticated_whenFace_andBypass_encrypted_showBouncer()
335 reset(mKeyguardBypassController); in onBiometricAuthenticated_whenBypassOnBouncer_dismissBouncer()
337 when(mKeyguardBypassController.getBypassEnabled()).thenReturn(true); in onBiometricAuthenticated_whenBypassOnBouncer_dismissBouncer()
338 when(mKeyguardBypassController.onBiometricAuthenticated(any(), anyBoolean())) in onBiometricAuthenticated_whenBypassOnBouncer_dismissBouncer()
[all …]
H A DKeyguardStatusBarViewControllerTest.java81 private KeyguardBypassController mKeyguardBypassController; field in KeyguardStatusBarViewControllerTest
120 mKeyguardBypassController, in setup()
232 when(mKeyguardBypassController.getBypassEnabled()).thenReturn(true); in updateViewState_bypassEnabledAndShouldListenForFace_viewHidden()
246 when(mKeyguardBypassController.getBypassEnabled()).thenReturn(false); in updateViewState_bypassNotEnabled_viewShown()
260 when(mKeyguardBypassController.getBypassEnabled()).thenReturn(true); in updateViewState_shouldNotListenForFace_viewShown()
H A DNotificationIconAreaControllerTest.java59 KeyguardBypassController mKeyguardBypassController; field in NotificationIconAreaControllerTest
86 mKeyguardBypassController, in setup()
H A DKeyguardBouncerTest.java89 private KeyguardBypassController mKeyguardBypassController; field in KeyguardBouncerTest
133 mKeyguardBypassController, mHandler, mKeyguardSecurityModel, in setup()
413 when(mKeyguardBypassController.getBypassEnabled()).thenReturn(true); in testShow_delaysIfFaceAuthIsRunning_unlessBypass()
H A DNotificationShadeWindowControllerImplTest.java71 @Mock private KeyguardBypassController mKeyguardBypassController; field in NotificationShadeWindowControllerImplTest
90 mConfigurationController, mKeyguardViewMediator, mKeyguardBypassController, in setUp()
H A DNotificationPanelViewControllerTest.java181 private KeyguardBypassController mKeyguardBypassController; field in NotificationPanelViewControllerTest
375 mKeyguardBypassController, in setup()
382 mKeyguardBypassController, mHeadsUpManager, in setup()
412 coordinator, expansionHandler, mDynamicPrivacyController, mKeyguardBypassController, in setup()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationShelfController.java39 private final KeyguardBypassController mKeyguardBypassController; field in NotificationShelfController
51 mKeyguardBypassController = keyguardBypassController; in NotificationShelfController()
82 && !(mAmbientState.isOnKeyguard() && mKeyguardBypassController.getBypassEnabled()); in canModifyColorOfNotifications()
H A DKeyguardIndicationController.java138 private final KeyguardBypassController mKeyguardBypassController; field in KeyguardIndicationController
210 mKeyguardBypassController = keyguardBypassController; in KeyguardIndicationController()
904 if (mKeyguardBypassController.getUserHasDeviceEntryIntent()) { in showTryFingerprintMsg()
1116 && !mKeyguardBypassController.canBypass()) { in onBiometricAuthenticated()
H A DNotificationMediaManager.java103 private final KeyguardBypassController mKeyguardBypassController; field in NotificationMediaManager
191 mKeyguardBypassController = keyguardBypassController; in NotificationMediaManager()
618 if (mediaMetadata != null && !mKeyguardBypassController.getBypassEnabled()) { in updateMediaMetaData()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarHeadsUpChangeListener.java37 private final KeyguardBypassController mKeyguardBypassController; field in StatusBarHeadsUpChangeListener
61 mKeyguardBypassController = keyguardBypassController; in StatusBarHeadsUpChangeListener()
90 boolean bypassKeyguard = mKeyguardBypassController.getBypassEnabled() in onHeadsUpPinnedModeChanged()
H A DBiometricUnlockController.java151 private final KeyguardBypassController mKeyguardBypassController; field in BiometricUnlockController
290 mKeyguardBypassController = keyguardBypassController; in BiometricUnlockController()
291 mKeyguardBypassController.setUnlockController(this); in BiometricUnlockController()
378 || mKeyguardBypassController.onBiometricAuthenticated( in onBiometricAuthenticated()
585 boolean bypass = mKeyguardBypassController.getBypassEnabled() in calculateModeForPassiveAuth()
586 || mKeyguardBypassController.getUserHasDeviceEntryIntent(); in calculateModeForPassiveAuth()
614 || mKeyguardBypassController.getAltBouncerShowing()) && unlockingAllowed) { in calculateModeForPassiveAuth()
615 if (bypass && mKeyguardBypassController.canPlaySubtleWindowAnimations()) { in calculateModeForPassiveAuth()
H A DKeyguardBouncer.java94 private final KeyguardBypassController mKeyguardBypassController; field in KeyguardBouncer
135 mKeyguardBypassController = keyguardBypassController; in KeyguardBouncer()
213 && !mKeyguardBypassController.getBypassEnabled()) { in show()
653 private final KeyguardBypassController mKeyguardBypassController; field in KeyguardBouncer.Factory
672 mKeyguardBypassController = keyguardBypassController; in Factory()
683 mKeyguardBypassController, mHandler, mKeyguardSecurityModel, in create()
H A DKeyguardStatusBarViewController.java90 private final KeyguardBypassController mKeyguardBypassController; field in KeyguardStatusBarViewController
181 mFirstBypassAttempt = mKeyguardBypassController.getBypassEnabled();
246 mKeyguardBypassController = bypassController; in KeyguardStatusBarViewController()
252 mFirstBypassAttempt = mKeyguardBypassController.getBypassEnabled(); in KeyguardStatusBarViewController()
H A DNotificationPanelViewController.java286 private final KeyguardBypassController mKeyguardBypassController; field in NotificationPanelViewController
785 mKeyguardBypassController = bypassController; in NotificationPanelViewController()
896 if (mKeyguardBypassController.getBypassEnabled()) { in onFinishInflate()
1294 boolean bypassEnabled = mKeyguardBypassController.getBypassEnabled(); in updateClockAppearance()
2163 mKeyguardBypassController.setQSExpanded(expanded); in setQsExpanded()
2320 if (mKeyguardBypassController.getBypassEnabled()) { in setQSClippingBounds()
2542 if (!mKeyguardBypassController.getBypassEnabled()) { in getKeyguardNotificationStaticPadding()
2947 && !mKeyguardBypassController.getBypassEnabled()) { in updateNotificationTranslucency()
2985 if (mKeyguardBypassController.getBypassEnabled() && isOnKeyguard()) { in getHeaderTranslation()
3337 if (mKeyguardBypassController.getBypassEnabled() && isOnKeyguard()) { in updateExpandedHeight()
[all …]
H A DNotificationShadeWindowControllerImpl.java93 private final KeyguardBypassController mKeyguardBypassController; field in NotificationShadeWindowControllerImpl
131 mKeyguardBypassController = keyguardBypassController; in NotificationShadeWindowControllerImpl()
311 boolean bypassOnKeyguard = mKeyguardBypassController.getBypassEnabled() in applyKeyguardFlags()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
H A DKeyguardSliceProviderTest.java84 private KeyguardBypassController mKeyguardBypassController; field in KeyguardSliceProviderTest
145 when(mKeyguardBypassController.getBypassEnabled()).thenReturn(true); in onBindSlice_readsMedia_withBypass_notDozing()
266 mKeyguardBypassController = KeyguardSliceProviderTest.this.mKeyguardBypassController; in TestableKeyguardSliceProvider()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DExpandableNotificationRowController.java69 private final KeyguardBypassController mKeyguardBypassController; field in ExpandableNotificationRowController
125 mKeyguardBypassController = keyguardBypassController; in ExpandableNotificationRowController()
154 mKeyguardBypassController, in init()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DUdfpsControllerTest.java147 private KeyguardBypassController mKeyguardBypassController; field in UdfpsControllerTest
237 mKeyguardBypassController, in setUp()
312 verify(mKeyguardBypassController, never()).setUserHasDeviceEntryIntent(true); in onActionMove_dozing_setDeviceEntryIntent()
335 verify(mKeyguardBypassController).setUserHasDeviceEntryIntent(true); in onActionMove_onKeyguard_setDeviceEntryIntent()
358 verify(mKeyguardBypassController, never()).setUserHasDeviceEntryIntent(anyBoolean()); in onActionMove_onEnrollment_neverSetDeviceEntryIntent()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardUpdateMonitorTest.java155 private KeyguardBypassController mKeyguardBypassController; field in KeyguardUpdateMonitorTest
545 mKeyguardUpdateMonitor.setKeyguardBypassController(mKeyguardBypassController); in skipsAuthentication_whenEncryptedKeyguard()
567 when(mKeyguardBypassController.canBypass()).thenReturn(true); in testStrongAuthExceptOnBouncer()
568 mKeyguardUpdateMonitor.setKeyguardBypassController(mKeyguardBypassController); in testStrongAuthExceptOnBouncer()
594 mKeyguardUpdateMonitor.setKeyguardBypassController(mKeyguardBypassController); in testTriesToAuthenticate_whenTrustOnAgentKeyguard_ifBypass()
597 when(mKeyguardBypassController.canBypass()).thenReturn(true); in testTriesToAuthenticate_whenTrustOnAgentKeyguard_ifBypass()
1028 when(mKeyguardBypassController.canBypass()).thenReturn(true); in testShouldNotUpdateBiometricListeningStateOnStatusBarStateChange()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardSliceProvider.java141 public KeyguardBypassController mKeyguardBypassController; field in KeyguardSliceProvider
224 boolean keepWhenAwake = mKeyguardBypassController != null in needsMediaLocked()
225 && mKeyguardBypassController.getBypassEnabled() && mDozeParameters.getAlwaysOn(); in needsMediaLocked()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardUpdateMonitor.java319 private KeyguardBypassController mKeyguardBypassController; field in KeyguardUpdateMonitor
1515 if (mKeyguardBypassController != null) {
1526 if (mKeyguardBypassController != null) {
1539 if (mKeyguardBypassController != null) {
2368 final boolean canBypass = mKeyguardBypassController != null in shouldListenForFace()
2369 && mKeyguardBypassController.canBypass(); in shouldListenForFace()
2533 final boolean isBypassEnabled = mKeyguardBypassController != null in startListeningForFace()
2534 && mKeyguardBypassController.isBypassEnabled(); in startListeningForFace()
2923 if (mKeyguardBypassController != null) { in onKeyguardVisibilityChanged()
2925 mKeyguardBypassController.setUserHasDeviceEntryIntent(false); in onKeyguardVisibilityChanged()
[all …]
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationStackScrollLayoutControllerTest.java110 @Mock private KeyguardBypassController mKeyguardBypassController; field in NotificationStackScrollLayoutControllerTest
162 mKeyguardBypassController, in setUp()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DNotificationEntryManagerInflationTest.java139 @Mock private KeyguardBypassController mKeyguardBypassController; field in NotificationEntryManagerInflationTest
259 mKeyguardBypassController, in setUp()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DUdfpsController.java130 @NonNull private final KeyguardBypassController mKeyguardBypassController; field in UdfpsController
607 mKeyguardBypassController = keyguardBypassController; in UdfpsController()
1007 mKeyguardBypassController.setUserHasDeviceEntryIntent(true); in onFingerDown()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationStackScrollLayoutController.java175 private final KeyguardBypassController mKeyguardBypassController; field in NotificationStackScrollLayoutController
666 mKeyguardBypassController = keyguardBypassController; in NotificationStackScrollLayoutController()
756 mView.setKeyguardBypassEnabled(mKeyguardBypassController.getBypassEnabled()); in attach()
757 mKeyguardBypassController in attach()

12