Home
last modified time | relevance | path

Searched refs:lockPatternUtils (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/tests/TrustTests/src/android/trust/test/lib/
DScreenLockRule.kt40 private val lockPatternUtils = LockPatternUtils(context) in <lambda>() constant
62 .that(lockPatternUtils.isSecure(context.userId)) in <lambda>()
86 lockPatternUtils.setLockCredential( in <lambda>()
91 wait("screen lock set") { lockPatternUtils.isSecure(context.userId) } in <lambda>()
96 instantLockSavedValue = lockPatternUtils.getPowerButtonInstantlyLocks(context.userId) in <lambda>()
97 lockPatternUtils.setPowerButtonInstantlyLocks(true, context.userId) in <lambda>()
101 var lockCredentialUnset = lockPatternUtils.setLockCredential( in <lambda>()
110 lockPatternUtils.setLockScreenDisabled(true, context.userId) in <lambda>()
112 lockPatternUtils.isLockScreenDisabled(context.userId) in <lambda>()
114 wait("screen lock insecure") { !lockPatternUtils.isSecure(context.userId) } in <lambda>()
[all …]
DTrustAgentRule.kt44 private val lockPatternUtils = LockPatternUtils(context) constant
77 .plus(lockPatternUtils.getEnabledTrustAgents(userId)) in enableTrustAgent()
79 lockPatternUtils.setEnabledTrustAgents(agents, userId) in enableTrustAgent()
92 val agents = lockPatternUtils.getEnabledTrustAgents(userId).toMutableList() in disableTrustAgent()
95 lockPatternUtils.setEnabledTrustAgents(agents, userId) in disableTrustAgent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/dagger/
DControlsComponentTest.kt63 private lateinit var lockPatternUtils: LockPatternUtils variable in com.android.systemui.controls.dagger.ControlsComponentTest
117 `when`(lockPatternUtils.getStrongAuthForUser(anyInt())) in testFeatureEnabledAfterBootVisibility()
126 `when`(lockPatternUtils.getStrongAuthForUser(anyInt())) in testFeatureEnabledAndCannotShowOnLockScreenVisibility()
137 `when`(lockPatternUtils.getStrongAuthForUser(anyInt())) in testFeatureEnabledAndCanShowOnLockScreenVisibility()
149 `when`(lockPatternUtils.getStrongAuthForUser(anyInt())) in testFeatureEnabledAndCanShowWhileUnlockedVisibility()
184 lockPatternUtils, in setupComponent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthCredentialViewTest.kt60 @Mock lateinit var lockPatternUtils: LockPatternUtils variable in com.android.systemui.biometrics.AuthCredentialViewTest
81 `when`(lockPatternUtils.getCredentialTypeForUser(anyInt())) in testAuthCredentialPatternView_onErrorTimeoutFinish_setPatternEnabled()
83 `when`(lockPatternUtils.getKeyguardStoredPasswordQuality(anyInt())) in testAuthCredentialPatternView_onErrorTimeoutFinish_setPatternEnabled()
146 lockPatternUtils,
DAuthContainerViewTest.kt75 lateinit var lockPatternUtils: LockPatternUtils variable in com.android.systemui.biometrics.AuthContainerViewTest
358 whenever(lockPatternUtils.getKeyguardStoredPasswordQuality(eq(200))).thenReturn( in testCredentialViewUsesEffectiveUserId()
437 whenever(lockPatternUtils.getKeyguardStoredPasswordQuality(eq(20))).thenReturn( in initializeCredentialPasswordContainer()
509 lockPatternUtils,
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DEmergencyButtonControllerTest.kt60 @Mock lateinit var lockPatternUtils: LockPatternUtils variable in com.android.keyguard.EmergencyButtonControllerTest
80 lockPatternUtils, in setup()
91 Mockito.`when`(lockPatternUtils.isSecure(anyInt())).thenReturn(true) in testUpdateEmergencyButton()
DKeyguardPinViewControllerTest.kt55 @Mock private lateinit var lockPatternUtils: LockPatternUtils variable in com.android.keyguard.KeyguardPinViewControllerTest
91 lockPatternUtils, in setup()
DKeyguardSimPinViewControllerTest.kt51 @Mock private lateinit var lockPatternUtils: LockPatternUtils variable in com.android.keyguard.KeyguardSimPinViewControllerTest
79 lockPatternUtils, in setup()
DKeyguardSimPukViewControllerTest.kt47 @Mock private lateinit var lockPatternUtils: LockPatternUtils variable in com.android.keyguard.KeyguardSimPukViewControllerTest
78 lockPatternUtils, in setup()
DKeyguardPasswordViewControllerTest.kt50 @Mock lateinit var lockPatternUtils: LockPatternUtils variable in com.android.keyguard.KeyguardPasswordViewControllerTest
84 lockPatternUtils, in setup()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPinViewController.java37 SecurityMode securityMode, LockPatternUtils lockPatternUtils, in KeyguardPinViewController() argument
44 super(view, keyguardUpdateMonitor, securityMode, lockPatternUtils, keyguardSecurityCallback, in KeyguardPinViewController()
DKeyguardSecurityModel.java54 KeyguardSecurityModel(@Main Resources resources, LockPatternUtils lockPatternUtils, in KeyguardSecurityModel() argument
58 mLockPatternUtils = lockPatternUtils; in KeyguardSecurityModel()
DEmergencyButtonController.java98 LockPatternUtils lockPatternUtils, in EmergencyButtonController() argument
109 mLockPatternUtils = lockPatternUtils; in EmergencyButtonController()
228 LockPatternUtils lockPatternUtils, in Factory() argument
240 mLockPatternUtils = lockPatternUtils; in Factory()
DKeyguardPinBasedInputViewController.java55 LockPatternUtils lockPatternUtils, in KeyguardPinBasedInputViewController() argument
62 super(view, keyguardUpdateMonitor, securityMode, lockPatternUtils, keyguardSecurityCallback, in KeyguardPinBasedInputViewController()
DKeyguardInputViewController.java171 LockPatternUtils lockPatternUtils, in Factory() argument
181 mLockPatternUtils = lockPatternUtils; in Factory()
DKeyguardAbsKeyInputViewController.java76 LockPatternUtils lockPatternUtils, in KeyguardAbsKeyInputViewController() argument
84 mLockPatternUtils = lockPatternUtils; in KeyguardAbsKeyInputViewController()
DKeyguardPasswordViewController.java98 LockPatternUtils lockPatternUtils, in KeyguardPasswordViewController() argument
108 super(view, keyguardUpdateMonitor, securityMode, lockPatternUtils, keyguardSecurityCallback, in KeyguardPasswordViewController()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java689 final LockPatternUtils lockPatternUtils = new LockPatternUtils(this); in getLockSettings() local
690 final boolean ownerInfoEnabled = lockPatternUtils.isOwnerInfoEnabled(userId); in getLockSettings()
691 final String ownerInfo = lockPatternUtils.getOwnerInfo(userId); in getLockSettings()
692 final boolean lockPatternEnabled = lockPatternUtils.isLockPatternEnabled(userId); in getLockSettings()
693 final boolean visiblePatternEnabled = lockPatternUtils.isVisiblePatternEnabled(userId); in getLockSettings()
695 lockPatternUtils.getPowerButtonInstantlyLocks(userId); in getLockSettings()
706 if (lockPatternUtils.isVisiblePatternEverChosen(userId)) { in getLockSettings()
710 if (lockPatternUtils.isPowerButtonInstantlyLocksEverChosen(userId)) { in getLockSettings()
714 if (lockPatternUtils.isPinEnhancedPrivacyEverChosen(userId)) { in getLockSettings()
716 out.writeUTF(lockPatternUtils.isPinEnhancedPrivacyEnabled(userId) ? "1" : "0"); in getLockSettings()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DBiometricSettingsRepository.kt103 lockPatternUtils: LockPatternUtils,
274 lockPatternUtils.registerStrongAuthTracker(callback) in currUserId()
275 awaitClose { lockPatternUtils.unregisterStrongAuthTracker(callback) } in currUserId()
282 lockPatternUtils.isBiometricAllowedForUser(
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/dagger/
DControlsComponent.kt49 private val lockPatternUtils: LockPatternUtils, constant in com.android.systemui.controls.dagger.ControlsComponent
93 if (lockPatternUtils.getStrongAuthForUser(userTracker.userHandle.identifier) in isEnabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractorParameterizedTest.kt220 @Mock private lateinit var lockPatternUtils: LockPatternUtils in data() variable in com.android.systemui.keyguard.domain.interactor.KeyguardQuickAffordanceInteractorParameterizedTest
327 lockPatternUtils = lockPatternUtils, in data()
394 whenever(lockPatternUtils.getStrongAuthForUser(any())) in setUpMocks()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
DBiometricSettingsRepositoryTest.kt77 @Mock private lateinit var lockPatternUtils: LockPatternUtils in <lambda>() variable in com.android.systemui.keyguard.data.repository.BiometricSettingsRepositoryTest
108 lockPatternUtils = lockPatternUtils, in <lambda>()
151 verify(lockPatternUtils).registerStrongAuthTracker(captor.capture()) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/dagger/
DKeyguardModule.java93 LockPatternUtils lockPatternUtils, in newKeyguardViewMediator() argument
123 lockPatternUtils, in newKeyguardViewMediator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardStateControllerImpl.java110 LockPatternUtils lockPatternUtils, in KeyguardStateControllerImpl() argument
117 mLockPatternUtils = lockPatternUtils; in KeyguardStateControllerImpl()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsShellCommand.java66 LockSettingsShellCommand(LockPatternUtils lockPatternUtils, Context context, int callingPid, in LockSettingsShellCommand() argument
68 mLockPatternUtils = lockPatternUtils; in LockSettingsShellCommand()

12