/packages/apps/Settings/src/com/android/settings/ |
D | SecuritySettings.java | 158 private LockPatternUtils mLockPatternUtils; field in SecuritySettings 199 mLockPatternUtils = new LockPatternUtils(activity); in onCreate() 285 final int resid = getResIdForLockUnlockScreen(getActivity(), mLockPatternUtils, in createPreferenceHierarchy() 294 && mLockPatternUtils.isSeparateProfileChallengeAllowed(mProfileChallengeUserId)) { in createPreferenceHierarchy() 298 getActivity(), mLockPatternUtils, mManagedPasswordProvider, in createPreferenceHierarchy() 302 if (!mLockPatternUtils.isSeparateProfileChallengeEnabled(mProfileChallengeUserId)) { in createPreferenceHierarchy() 437 if (!mLockPatternUtils.isSecure(MY_USER_ID)) { in initTrustAgentPreference() 485 final boolean hasSecurity = mLockPatternUtils.isSecure(MY_USER_ID); in addTrustAgentSettings() 487 getActivity(), mTrustAgentManager, mLockPatternUtils, mDPM); in addTrustAgentSettings() 617 mVisiblePatternProfile.setChecked(mLockPatternUtils.isVisiblePatternEnabled( in onResume() [all …]
|
D | OwnerInfoSettings.java | 42 private LockPatternUtils mLockPatternUtils; field in OwnerInfoSettings 49 mLockPatternUtils = new LockPatternUtils(getActivity()); in onCreate() 65 String info = mLockPatternUtils.getOwnerInfo(mUserId); in initView() 77 mLockPatternUtils.setOwnerInfoEnabled(!TextUtils.isEmpty(info), mUserId); in onClick() 78 mLockPatternUtils.setOwnerInfo(info, mUserId); in onClick()
|
D | TrustAgentSettings.java | 52 private LockPatternUtils mLockPatternUtils; field in TrustAgentSettings 107 if (mLockPatternUtils == null) { in updateAgents() 108 mLockPatternUtils = new LockPatternUtils(getActivity()); in updateAgents() 143 List<ComponentName> activeTrustAgents = mLockPatternUtils.getEnabledTrustAgents( in loadActiveAgents() 151 mLockPatternUtils.setEnabledTrustAgents(mActiveAgents, in saveActiveAgents()
|
D | ScreenPinningSettings.java | 56 private LockPatternUtils mLockPatternUtils; field in ScreenPinningSettings 68 mLockPatternUtils = new LockPatternUtils(activity); in onActivityCreated() 117 int defaultValueIfSettingNull = mLockPatternUtils.isSecure(UserHandle.myUserId()) ? 1 : 0; in isScreenLockUsed() 160 int quality = mLockPatternUtils.getKeyguardStoredPasswordQuality( in getCurrentSecurityTitle() 172 if (mLockPatternUtils.isLockPatternEnabled(UserHandle.myUserId())) { in getCurrentSecurityTitle()
|
/packages/apps/Settings/src/com/android/settings/security/ |
D | OwnerInfoPreferenceController.java | 42 private final LockPatternUtils mLockPatternUtils; field in OwnerInfoPreferenceController 54 mLockPatternUtils = new LockPatternUtils(context); in OwnerInfoPreferenceController() 90 mOwnerInfoPref.setEnabled(!mLockPatternUtils.isLockScreenDisabled(MY_USER_ID)); in updateEnableState() 121 return mLockPatternUtils.isDeviceOwnerInfoEnabled(); in isDeviceOwnerInfoEnabled() 126 return mLockPatternUtils.getDeviceOwnerInfo(); in getDeviceOwnerInfo() 131 return mLockPatternUtils.isOwnerInfoEnabled(MY_USER_ID); in isOwnerInfoEnabled() 136 return mLockPatternUtils.getOwnerInfo(MY_USER_ID); in getOwnerInfo()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ConfirmDeviceCredentialBaseFragment.java | 90 protected LockPatternUtils mLockPatternUtils; field in ConfirmDeviceCredentialBaseFragment 110 mLockPatternUtils = new LockPatternUtils(getActivity()); in onCreate() 162 || !mLockPatternUtils.isFingerprintAllowedForUser(mEffectiveUserId) in isStrongAuthRequired() 187 updateErrorMessage(mLockPatternUtils.getCurrentFailedPasswordAttempts(mEffectiveUserId)); in refreshLockScreen() 289 mLockPatternUtils.reportSuccessfulPasswordAttempt(mEffectiveUserId); in reportSuccessfulAttempt() 293 mLockPatternUtils.userPresent(mEffectiveUserId); in reportSuccessfulAttempt() 299 mLockPatternUtils.getCurrentFailedPasswordAttempts(mEffectiveUserId) + 1); in reportFailedAttempt() 300 mLockPatternUtils.reportFailedPasswordAttempt(mEffectiveUserId); in reportFailedAttempt() 305 mLockPatternUtils.getMaximumFailedPasswordsForWipe(mEffectiveUserId); in updateErrorMessage()
|
D | ChooseLockGeneric.java | 148 private LockPatternUtils mLockPatternUtils; field in ChooseLockGeneric.ChooseLockGenericFragment 178 mLockPatternUtils = new LockPatternUtils(getActivity()); in onCreate() 226 && mLockPatternUtils.isSeparateProfileChallengeEnabled(mUserId)) { in onCreate() 235 maybeEnableEncryption(mLockPatternUtils.getKeyguardStoredPasswordQuality( in onCreate() 243 && !mLockPatternUtils.isSeparateProfileChallengeEnabled(mUserId); in onCreate() 274 if (!isUnlockMethodSecure(key) && mLockPatternUtils.isSecure(mUserId)) { in onPreferenceTreeClick() 326 final boolean required = mLockPatternUtils.isCredentialRequiredToDecrypt(!accEn); in maybeEnableEncryption() 358 mLockPatternUtils.getKeyguardStoredPasswordQuality(mUserId), false); in onActivityResult() 507 if (mLockPatternUtils.isLockScreenDisabled(credentialOwner)) { in getKeyForCurrent() 512 mLockPatternUtils.getKeyguardStoredPasswordQuality(credentialOwner)); in getKeyForCurrent() [all …]
|
D | ConfirmLockPassword.java | 124 final int storedQuality = mLockPatternUtils.getKeyguardStoredPasswordQuality( in onCreateView() 292 long deadline = mLockPatternUtils.getLockoutAttemptDeadline(mEffectiveUserId); in onResume() 300 mLockPatternUtils.getCurrentFailedPasswordAttempts(mEffectiveUserId)); in onResume() 317 mLockPatternUtils.getLockoutAttemptDeadline(mEffectiveUserId) != 0; in updatePasswordEntry() 392 mLockPatternUtils, pin, challenge, localUserId, onVerifyCallback) in startVerifyPassword() 394 mLockPatternUtils, pin, false, challenge, localUserId, in startVerifyPassword() 401 mLockPatternUtils, in startCheckPassword() 458 long deadline = mLockPatternUtils.setLockoutAttemptDeadline( in onPasswordChecked() 499 mLockPatternUtils.getCurrentFailedPasswordAttempts(mEffectiveUserId)); in handleAttemptLockout()
|
D | ConfirmLockPattern.java | 144 mLockPatternUtils.isTactileFeedbackEnabled()); in onCreateView() 145 mLockPatternView.setInStealthMode(!mLockPatternUtils.isVisiblePatternEnabled( in onCreateView() 160 if (!mFrp && !mLockPatternUtils.isLockPatternEnabled(mEffectiveUserId)) { in onCreateView() 216 long deadline = mLockPatternUtils.getLockoutAttemptDeadline(mEffectiveUserId); in onResume() 308 mLockPatternUtils.getCurrentFailedPasswordAttempts(mEffectiveUserId)); in updateStage() 467 mLockPatternUtils, pattern, challenge, localUserId, 470 mLockPatternUtils, LockPatternUtils.patternToString(pattern), 484 mLockPatternUtils, 516 long deadline = mLockPatternUtils.setLockoutAttemptDeadline( in onPatternChecked()
|
D | ChooseLockPassword.java | 201 private LockPatternUtils mLockPatternUtils; field in ChooseLockPassword.ChooseLockPasswordFragment 334 mLockPatternUtils = new LockPatternUtils(getActivity()); in onCreate() 581 final int dpmPasswordQuality = mLockPatternUtils.getRequestedPasswordQuality(mUserId); in processPasswordRequirements() 587 mLockPatternUtils.getRequestedMinimumPasswordLength(mUserId)); in processPasswordRequirements() 590 mPasswordMinLetters), mLockPatternUtils.getRequestedPasswordMinimumLetters( in processPasswordRequirements() 593 mPasswordMinUpperCase), mLockPatternUtils.getRequestedPasswordMinimumUpperCase( in processPasswordRequirements() 596 mPasswordMinLowerCase), mLockPatternUtils.getRequestedPasswordMinimumLowerCase( in processPasswordRequirements() 599 mPasswordMinNumeric), mLockPatternUtils.getRequestedPasswordMinimumNumeric( in processPasswordRequirements() 602 mPasswordMinSymbols), mLockPatternUtils.getRequestedPasswordMinimumSymbols( in processPasswordRequirements() 605 mPasswordMinNonLetter), mLockPatternUtils.getRequestedPasswordMinimumNonLetter( in processPasswordRequirements() [all …]
|
D | ChooseLockSettingsHelper.java | 46 @VisibleForTesting LockPatternUtils mLockPatternUtils; field in ChooseLockSettingsHelper 52 mLockPatternUtils = new LockPatternUtils(activity); in ChooseLockSettingsHelper() 61 return mLockPatternUtils; in utils() 225 switch (mLockPatternUtils.getKeyguardStoredPasswordQuality(effectiveUserId)) { in launchConfirmationActivity()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
D | OwnerInfoPreferenceControllerTest.java | 67 private LockPatternUtils mLockPatternUtils; field in OwnerInfoPreferenceControllerTest 86 ReflectionHelpers.setField(mController, "mLockPatternUtils", mLockPatternUtils); in setUp() 159 doReturn(true).when(mLockPatternUtils).isLockScreenDisabled(anyInt()); in updateEnableState_lockScreenDisabled_shouldDisablePreference() 170 doReturn(false).when(mLockPatternUtils).isLockScreenDisabled(anyInt()); in updateEnableState_lockScreenEnabled_shouldEnablePreference() 185 doReturn(false).when(mLockPatternUtils).isLockScreenDisabled(anyInt()); in performClick_shouldLaunchOwnerInfoSettings()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleAccessibilityServicePreferenceFragment.java | 59 private LockPatternUtils mLockPatternUtils; field in ToggleAccessibilityServicePreferenceFragment 88 mLockPatternUtils = new LockPatternUtils(getActivity()); in onCreate() 198 mLockPatternUtils.clearEncryptionPassword(); in onActivityResult() 243 switch (mLockPatternUtils.getKeyguardStoredPasswordQuality(UserHandle.myUserId())) { in createConfirmCredentialReasonMessage()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationSettingsBase.java | 91 protected LockPatternUtils mLockPatternUtils; field in NotificationSettingsBase 452 if (mLockPatternUtils == null) { in isLockScreenSecure() 453 mLockPatternUtils = new LockPatternUtils(getActivity()); in isLockScreenSecure() 455 boolean lockscreenSecure = mLockPatternUtils.isSecure(UserHandle.myUserId()); in isLockScreenSecure() 458 lockscreenSecure |= mLockPatternUtils.isSecure(parentUser.id); in isLockScreenSecure()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ChooseLockSettingsHelperTest.java | 154 helper.mLockPatternUtils = mockLockPatternUtils; in getChooseLockSettingsHelper()
|