/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | BiometricsUnlockControllerTest.java | 92 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 D | KeyguardStatusBarViewControllerTest.java | 81 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 D | NotificationIconAreaControllerTest.java | 59 KeyguardBypassController mKeyguardBypassController; field in NotificationIconAreaControllerTest 86 mKeyguardBypassController, in setup()
|
H A D | KeyguardBouncerTest.java | 89 private KeyguardBypassController mKeyguardBypassController; field in KeyguardBouncerTest 133 mKeyguardBypassController, mHandler, mKeyguardSecurityModel, in setup() 413 when(mKeyguardBypassController.getBypassEnabled()).thenReturn(true); in testShow_delaysIfFaceAuthIsRunning_unlessBypass()
|
H A D | NotificationShadeWindowControllerImplTest.java | 71 @Mock private KeyguardBypassController mKeyguardBypassController; field in NotificationShadeWindowControllerImplTest 90 mConfigurationController, mKeyguardViewMediator, mKeyguardBypassController, in setUp()
|
H A D | NotificationPanelViewControllerTest.java | 181 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 D | NotificationShelfController.java | 39 private final KeyguardBypassController mKeyguardBypassController; field in NotificationShelfController 51 mKeyguardBypassController = keyguardBypassController; in NotificationShelfController() 82 && !(mAmbientState.isOnKeyguard() && mKeyguardBypassController.getBypassEnabled()); in canModifyColorOfNotifications()
|
H A D | KeyguardIndicationController.java | 138 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 D | NotificationMediaManager.java | 103 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 D | StatusBarHeadsUpChangeListener.java | 37 private final KeyguardBypassController mKeyguardBypassController; field in StatusBarHeadsUpChangeListener 61 mKeyguardBypassController = keyguardBypassController; in StatusBarHeadsUpChangeListener() 90 boolean bypassKeyguard = mKeyguardBypassController.getBypassEnabled() in onHeadsUpPinnedModeChanged()
|
H A D | BiometricUnlockController.java | 151 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 D | KeyguardBouncer.java | 94 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 D | KeyguardStatusBarViewController.java | 90 private final KeyguardBypassController mKeyguardBypassController; field in KeyguardStatusBarViewController 181 mFirstBypassAttempt = mKeyguardBypassController.getBypassEnabled(); 246 mKeyguardBypassController = bypassController; in KeyguardStatusBarViewController() 252 mFirstBypassAttempt = mKeyguardBypassController.getBypassEnabled(); in KeyguardStatusBarViewController()
|
H A D | NotificationPanelViewController.java | 286 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 D | NotificationShadeWindowControllerImpl.java | 93 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 D | KeyguardSliceProviderTest.java | 84 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 D | ExpandableNotificationRowController.java | 69 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 D | UdfpsControllerTest.java | 147 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 D | KeyguardUpdateMonitorTest.java | 155 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 D | KeyguardSliceProvider.java | 141 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 D | KeyguardUpdateMonitor.java | 319 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 D | NotificationStackScrollLayoutControllerTest.java | 110 @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 D | NotificationEntryManagerInflationTest.java | 139 @Mock private KeyguardBypassController mKeyguardBypassController; field in NotificationEntryManagerInflationTest 259 mKeyguardBypassController, in setUp()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
H A D | UdfpsController.java | 130 @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 D | NotificationStackScrollLayoutController.java | 175 private final KeyguardBypassController mKeyguardBypassController; field in NotificationStackScrollLayoutController 666 mKeyguardBypassController = keyguardBypassController; in NotificationStackScrollLayoutController() 756 mView.setKeyguardBypassEnabled(mKeyguardBypassController.getBypassEnabled()); in attach() 757 mKeyguardBypassController in attach()
|