Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/ui/viewmodel/
DAutoCredentialViewModelTest.kt60 @Mock private lateinit var lockPatternUtils: LockPatternUtils variable in com.android.settings.biometrics2.ui.viewmodel.AutoCredentialViewModelTest
68 lockPatternUtils, in newAutoCredentialViewModel()
80 whenever(lockPatternUtils.getActivePasswordQuality(userId)).thenReturn( in setupGenerateChallenge()
92 whenever(lockPatternUtils.getActivePasswordQuality(userId)).thenReturn( in <lambda>()
114 whenever(lockPatternUtils.getActivePasswordQuality(userId)).thenReturn( in <lambda>()
137 whenever(lockPatternUtils.getActivePasswordQuality(userId)).thenReturn( in <lambda>()
160 whenever(lockPatternUtils.getActivePasswordQuality(userId)).thenReturn( in <lambda>()
183 whenever(lockPatternUtils.getActivePasswordQuality(userId)).thenReturn( in <lambda>()
207 whenever(lockPatternUtils.getActivePasswordQuality(userId)).thenReturn( in <lambda>()
214 lockPatternUtils.verifyGatekeeperPasswordHandle( in <lambda>()
[all …]
/packages/apps/Settings/src/com/android/settings/security/screenlock/
DScreenLockSettings.java78 DashboardFragment parent, LockPatternUtils lockPatternUtils) { in buildPreferenceControllers() argument
82 context, MY_USER_ID, lockPatternUtils)); in buildPreferenceControllers()
84 context, MY_USER_ID, lockPatternUtils)); in buildPreferenceControllers()
86 context, MY_USER_ID, lockPatternUtils)); in buildPreferenceControllers()
88 context, MY_USER_ID, lockPatternUtils)); in buildPreferenceControllers()
90 context, MY_USER_ID, lockPatternUtils, parent)); in buildPreferenceControllers()
DPinPrivacyPreferenceController.kt31 private val lockPatternUtils: LockPatternUtils constant
40 val credentialType = lockPatternUtils.getCredentialTypeForUser(userId) in isAvailable()
49 lockPatternUtils.setPinEnhancedPrivacyEnabled((value as Boolean), userId) in onPreferenceChange()
58 return lockPatternUtils.isPinEnhancedPrivacyEnabled(userId) in getCurrentPreferenceState()
DPatternVisiblePreferenceController.java37 LockPatternUtils lockPatternUtils) { in PatternVisiblePreferenceController() argument
40 mLockPatternUtils = lockPatternUtils; in PatternVisiblePreferenceController()
DPowerButtonInstantLockPreferenceController.java43 LockPatternUtils lockPatternUtils) { in PowerButtonInstantLockPreferenceController() argument
46 mLockPatternUtils = lockPatternUtils; in PowerButtonInstantLockPreferenceController()
DAutoPinConfirmPreferenceController.java46 LockPatternUtils lockPatternUtils, in AutoPinConfirmPreferenceController() argument
50 mLockPatternUtils = lockPatternUtils; in AutoPinConfirmPreferenceController()
DLockAfterTimeoutPreferenceController.java52 LockPatternUtils lockPatternUtils) { in LockAfterTimeoutPreferenceController() argument
55 mLockPatternUtils = lockPatternUtils; in LockAfterTimeoutPreferenceController()
/packages/apps/Settings/src/com/android/settings/security/
DScreenPinningSettings.java139 LockPatternUtils lockPatternUtils = new LockPatternUtils(getActivity()); in setScreenLockUsed() local
140 final int passwordQuality = lockPatternUtils in setScreenLockUsed()
172 LockPatternUtils lockPatternUtils = new LockPatternUtils(getActivity()); in onActivityResult() local
173 boolean validPassQuality = lockPatternUtils.getKeyguardStoredPasswordQuality( in onActivityResult()
184 private static int getCurrentSecurityTitle(LockPatternUtils lockPatternUtils) { in getCurrentSecurityTitle() argument
185 int quality = lockPatternUtils.getKeyguardStoredPasswordQuality(UserHandle.myUserId()); in getCurrentSecurityTitle()
196 if (lockPatternUtils.isLockPatternEnabled(UserHandle.myUserId())) { in getCurrentSecurityTitle()
279 final LockPatternUtils lockPatternUtils = new LockPatternUtils(context);
281 raw.title = res.getString(getCurrentSecurityTitle(lockPatternUtils));
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGenericController.java64 ManagedLockPasswordProvider managedPasswordProvider, LockPatternUtils lockPatternUtils, in ChooseLockGenericController() argument
70 mLockPatternUtils = lockPatternUtils; in ChooseLockGenericController()
94 LockPatternUtils lockPatternUtils) { in Builder() argument
99 lockPatternUtils); in Builder()
107 LockPatternUtils lockPatternUtils) { in Builder() argument
111 mLockPatternUtils = lockPatternUtils; in Builder()
DSetupChooseLockGeneric.java147 LockPatternUtils lockPatternUtils = new LockPatternUtils(getActivity()); in onActivityResult() local
149 lockPatternUtils.getKeyguardStoredPasswordQuality(UserHandle.myUserId())); in onActivityResult()
/packages/apps/Car/Settings/src/com/android/car/settings/setupservice/
DInitialLockSetupService.java72 LockPatternUtils lockPatternUtils = new LockPatternUtils(getApplicationContext()); in onBind() local
74 if (lockPatternUtils.getKeyguardStoredPasswordQuality(userId) in onBind()
143 LockPatternUtils lockPatternUtils = new LockPatternUtils( in setLock() local
145 int currentPassword = lockPatternUtils.getKeyguardStoredPasswordQuality(userId); in setLock()
159 if (!lockPatternUtils.setLockCredential(credential, in setLock()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/
DAutoCredentialViewModel.kt48 private val lockPatternUtils: LockPatternUtils, in <lambda>() constant
158 lockPatternUtils.removeGatekeeperPasswordHandle(gkPwHandle) in <lambda>()
182 get() = lockPatternUtils.getActivePasswordQuality(userId) == PASSWORD_QUALITY_UNSPECIFIED in <lambda>()
220 val response = lockPatternUtils in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/
DGatekeeperPasswordProvider.java40 public GatekeeperPasswordProvider(LockPatternUtils lockPatternUtils) { in GatekeeperPasswordProvider() argument
41 mLockPatternUtils = lockPatternUtils; in GatekeeperPasswordProvider()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DConfirmLockLockoutHelper.java51 LockPatternUtils lockPatternUtils) { in ConfirmLockLockoutHelper() argument
54 mLockPatternUtils = lockPatternUtils; in ConfirmLockLockoutHelper()
DChooseLockTypePreferenceController.java69 UserManager userManager, LockPatternUtils lockPatternUtils) { in ChooseLockTypePreferenceController() argument
72 mLockPatternUtils = lockPatternUtils; in ChooseLockTypePreferenceController()
DPasswordHelper.java85 PasswordHelper(Context context, @UserIdInt int userId, LockPatternUtils lockPatternUtils, in PasswordHelper() argument
89 mLockPatternUtils = lockPatternUtils; in PasswordHelper()
/packages/apps/Settings/src/com/android/settings/privatespace/
DPrivateProfileContextHelperActivity.java131 LockPatternUtils lockPatternUtils = in onSetNewProfileLockActionCompleted() local
135 if (result != null && lockPatternUtils.isSeparateProfileChallengeEnabled(getUserId())) { in onSetNewProfileLockActionCompleted()
/packages/apps/Settings/tests/uitests/src/com/android/settings/biometrics2/ui/view/
DFingerprintEnrollmentActivityTest.kt733 val lockPatternUtils = LockPatternUtils(context) in <lambda>() constant
743 lockPatternUtils, lockscreenCredential, in <lambda>()
749 val lockPatternUtils = LockPatternUtils(context) in <lambda>() constant
760 lockPatternUtils, lockscreenCredential, in <lambda>()
766 val lockPatternUtils = LockPatternUtils(context) in <lambda>() constant
777 lockPatternUtils, lockscreenCredential, in <lambda>()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsDialogBuilder.java214 final LockPatternUtils lockPatternUtils = new LockPatternUtils(mActivity); in isUserSecure() local
215 if (lockPatternUtils.isSecure(userId)) { in isUserSecure()
222 return lockPatternUtils.isSecure(parentUser.id); in isUserSecure()
DTrustedCredentialsFragment.java447 LockPatternUtils lockPatternUtils = new LockPatternUtils(getActivity()); in checkGroupExpandableAndStartWarningActivity() local
448 if (lockPatternUtils.isSeparateProfileChallengeEnabled(groupUserId)) { in checkGroupExpandableAndStartWarningActivity()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DRestrictedLockUtilsInternal.java443 LockPatternUtils lockPatternUtils = new LockPatternUtils(context); in checkIfPasswordQualityIsSet() local
468 if (sProxy.isSeparateProfileChallengeEnabled(lockPatternUtils, userId)) { in checkIfPasswordQualityIsSet()
521 final LockPatternUtils lockPatternUtils = new LockPatternUtils(context); in checkForLockSetting() local
532 sProxy.isSeparateProfileChallengeEnabled(lockPatternUtils, userInfo.id); in checkForLockSetting()
/packages/apps/Settings/src/com/android/settings/biometrics2/factory/
DBiometricsViewModelFactory.java77 final LockPatternUtils lockPatternUtils = in create() local
82 return (T) new AutoCredentialViewModel(application, lockPatternUtils, in create()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/keyguard/
DCarKeyguardViewMediator.java101 LockPatternUtils lockPatternUtils, in CarKeyguardViewMediator() argument
143 userTracker, falsingCollector, lockPatternUtils, broadcastDispatcher, in CarKeyguardViewMediator()
DCarKeyguardModule.java116 LockPatternUtils lockPatternUtils, in newKeyguardViewMediator() argument
164 lockPatternUtils, in newKeyguardViewMediator()