/frameworks/base/tests/TrustTests/src/android/trust/test/lib/ |
D | ScreenLockRule.kt | 40 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 …]
|
D | TrustAgentRule.kt | 44 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/ |
D | ControlsComponentTest.kt | 63 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/ |
D | AuthCredentialViewTest.kt | 60 @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,
|
D | AuthContainerViewTest.kt | 75 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/ |
D | EmergencyButtonControllerTest.kt | 60 @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()
|
D | KeyguardPinViewControllerTest.kt | 55 @Mock private lateinit var lockPatternUtils: LockPatternUtils variable in com.android.keyguard.KeyguardPinViewControllerTest 91 lockPatternUtils, in setup()
|
D | KeyguardSimPinViewControllerTest.kt | 51 @Mock private lateinit var lockPatternUtils: LockPatternUtils variable in com.android.keyguard.KeyguardSimPinViewControllerTest 79 lockPatternUtils, in setup()
|
D | KeyguardSimPukViewControllerTest.kt | 47 @Mock private lateinit var lockPatternUtils: LockPatternUtils variable in com.android.keyguard.KeyguardSimPukViewControllerTest 78 lockPatternUtils, in setup()
|
D | KeyguardPasswordViewControllerTest.kt | 50 @Mock lateinit var lockPatternUtils: LockPatternUtils variable in com.android.keyguard.KeyguardPasswordViewControllerTest 84 lockPatternUtils, in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPinViewController.java | 37 SecurityMode securityMode, LockPatternUtils lockPatternUtils, in KeyguardPinViewController() argument 44 super(view, keyguardUpdateMonitor, securityMode, lockPatternUtils, keyguardSecurityCallback, in KeyguardPinViewController()
|
D | KeyguardSecurityModel.java | 54 KeyguardSecurityModel(@Main Resources resources, LockPatternUtils lockPatternUtils, in KeyguardSecurityModel() argument 58 mLockPatternUtils = lockPatternUtils; in KeyguardSecurityModel()
|
D | EmergencyButtonController.java | 98 LockPatternUtils lockPatternUtils, in EmergencyButtonController() argument 109 mLockPatternUtils = lockPatternUtils; in EmergencyButtonController() 228 LockPatternUtils lockPatternUtils, in Factory() argument 240 mLockPatternUtils = lockPatternUtils; in Factory()
|
D | KeyguardPinBasedInputViewController.java | 55 LockPatternUtils lockPatternUtils, in KeyguardPinBasedInputViewController() argument 62 super(view, keyguardUpdateMonitor, securityMode, lockPatternUtils, keyguardSecurityCallback, in KeyguardPinBasedInputViewController()
|
D | KeyguardInputViewController.java | 171 LockPatternUtils lockPatternUtils, in Factory() argument 181 mLockPatternUtils = lockPatternUtils; in Factory()
|
D | KeyguardAbsKeyInputViewController.java | 76 LockPatternUtils lockPatternUtils, in KeyguardAbsKeyInputViewController() argument 84 mLockPatternUtils = lockPatternUtils; in KeyguardAbsKeyInputViewController()
|
D | KeyguardPasswordViewController.java | 98 LockPatternUtils lockPatternUtils, in KeyguardPasswordViewController() argument 108 super(view, keyguardUpdateMonitor, securityMode, lockPatternUtils, keyguardSecurityCallback, in KeyguardPasswordViewController()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 689 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/ |
D | BiometricSettingsRepository.kt | 103 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/ |
D | ControlsComponent.kt | 49 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/ |
D | KeyguardQuickAffordanceInteractorParameterizedTest.kt | 220 @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/ |
D | BiometricSettingsRepositoryTest.kt | 77 @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/ |
D | KeyguardModule.java | 93 LockPatternUtils lockPatternUtils, in newKeyguardViewMediator() argument 123 lockPatternUtils, in newKeyguardViewMediator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyguardStateControllerImpl.java | 110 LockPatternUtils lockPatternUtils, in KeyguardStateControllerImpl() argument 117 mLockPatternUtils = lockPatternUtils; in KeyguardStateControllerImpl()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsShellCommand.java | 66 LockSettingsShellCommand(LockPatternUtils lockPatternUtils, Context context, int callingPid, in LockSettingsShellCommand() argument 68 mLockPatternUtils = lockPatternUtils; in LockSettingsShellCommand()
|