Home
last modified time | relevance | path

Searched refs:isUserInLockdown (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockPatternUtilsTest.java118 assertFalse(mLockPatternUtils.isUserInLockdown(USER_ID)); in isUserInLockDown()
125 assertTrue(mLockPatternUtils.isUserInLockdown(USER_ID)); in isUserInLockDown()
132 assertTrue(mLockPatternUtils.isUserInLockdown(USER_ID)); in isUserInLockDown()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/
DBiometricSettingsRepositoryTest.kt633 val isUserInLockdown = collectLastValue(underTest.isCurrentUserInLockdown) in userInLockdownUsesAuthFlagsToDetermineValue() constant
635 assertThat(isUserInLockdown()).isFalse() in userInLockdownUsesAuthFlagsToDetermineValue()
644 assertThat(isUserInLockdown()).isFalse() in userInLockdownUsesAuthFlagsToDetermineValue()
649 assertThat(isUserInLockdown()).isTrue() in userInLockdownUsesAuthFlagsToDetermineValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractor.kt128 ) { affordance, isDozing, isKeyguardShowing, isQuickSettingsVisible, isUserInLockdown -> in <lambda>() method
129 if (!isDozing && isKeyguardShowing && isQuickSettingsVisible && !isUserInLockdown) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DKeyguardNotificationVisibilityProviderTest.java425 when(mKeyguardUpdateMonitor.isUserInLockdown(NOTIF_USER_ID)).thenReturn(true); in lockdown()
670 when(mKeyguardUpdateMonitor.isUserInLockdown(NOTIF_USER_ID)).thenReturn(false); in setupUnfilteredState()
671 when(mKeyguardUpdateMonitor.isUserInLockdown(CURR_USER_ID)).thenReturn(false); in setupUnfilteredState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DKeyguardNotificationVisibilityProvider.kt220 keyguardUpdateMonitor.isUserInLockdown(user) -> true in userSettingsDisallowNotification()
/frameworks/base/core/java/android/service/quickaccesswallet/
DQuickAccessWalletClientImpl.java102 && !new LockPatternUtils(mContext).isUserInLockdown(currentUser); in isWalletFeatureAvailable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaCarouselControllerTest.kt826 whenever(keyguardUpdateMonitor.isUserInLockdown(context.userId)).thenReturn(true) in testOnLockDownMode_hideMediaCarousel()
836 whenever(keyguardUpdateMonitor.isUserInLockdown(context.userId)).thenReturn(false) in testLockDownModeOff_showMediaCarousel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardViewMediatorTest.java320 when(mLockPatternUtils.isUserInLockdown(anyInt())).thenReturn(true); in onLockdown_showKeyguard_evenIfKeyguardIsNotEnabledExternally()
413 when(mLockPatternUtils.isUserInLockdown(anyInt())).thenReturn(true); in doNotHideKeyguard_whenLockdown_onKeyguardNotEnabledExternally()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java782 if (mLockPatternUtils.isUserInLockdown(mSelectedUserInteractor.getSelectedUserId())) {
2048 if (mLockPatternUtils.isUserInLockdown(
2313 && !mLockPatternUtils.isUserInLockdown(
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java1392 public boolean isUserInLockdown(int userId) { in isUserInLockdown() method in LockPatternUtils
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DLegacyMediaDataManagerImplTest.kt286 whenever(keyguardUpdateMonitor.isUserInLockdown(any())).thenReturn(false) in setup()
912 whenever(keyguardUpdateMonitor.isUserInLockdown(any())).thenReturn(true) in testOnNotificationRemoved_lockDownMode()
DMediaDataProcessorTest.kt323 whenever(keyguardUpdateMonitor.isUserInLockdown(any())).thenReturn(false) in setup()
946 whenever(keyguardUpdateMonitor.isUserInLockdown(any())).thenReturn(true) in testOnNotificationRemoved_lockDownMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessor.kt1381 if (keyguardUpdateMonitor.isUserInLockdown(removed.userId)) { in <lambda>()
DLegacyMediaDataManagerImpl.kt1438 if (keyguardUpdateMonitor.isUserInLockdown(removed.userId)) { in onNotificationRemoved()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaCarouselController.kt296 if (keyguardUpdateMonitor.isUserInLockdown(userId)) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java1563 public boolean isUserInLockdown(int userId) { in isUserInLockdown() method in KeyguardUpdateMonitor
2850 && !isUserInLockdown(user); in shouldListenForFingerprint()