Home
last modified time | relevance | path

Searched refs:PasswordMetrics (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java30 import static android.app.admin.PasswordMetrics.complexityLevelToMinQuality;
31 import static android.app.admin.PasswordMetrics.getActualRequiredQuality;
32 import static android.app.admin.PasswordMetrics.getMinimumMetrics;
33 import static android.app.admin.PasswordMetrics.getTargetQualityMetrics;
34 import static android.app.admin.PasswordMetrics.sanitizeComplexityLevel;
55 final PasswordMetrics metrics = new PasswordMetrics(); in testIsDefault()
78 final PasswordMetrics metrics; in testParceling()
80 new PasswordMetrics( in testParceling()
84 metrics = PasswordMetrics.CREATOR.createFromParcel(parcel); in testParceling()
102 final PasswordMetrics metrics = in testComputeForPassword_metrics()
[all …]
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java52 public class PasswordMetrics implements Parcelable { class
66 public PasswordMetrics() {} in PasswordMetrics() method in PasswordMetrics
68 public PasswordMetrics(int quality) { in PasswordMetrics() method in PasswordMetrics
72 public PasswordMetrics(int quality, int length) { in PasswordMetrics() method in PasswordMetrics
77 public PasswordMetrics(int quality, int length, int letters, int upperCase, int lowerCase, in PasswordMetrics() method in PasswordMetrics
88 private PasswordMetrics(Parcel in) { in PasswordMetrics() method in PasswordMetrics
121 public static PasswordMetrics getMinimumMetrics(@PasswordComplexity int complexityLevel, in getMinimumMetrics()
140 public static PasswordMetrics getTargetQualityMetrics( in getTargetQualityMetrics()
144 for (PasswordMetrics metrics : targetBucket.mMetrics) { in getTargetQualityMetrics()
217 public static final @android.annotation.NonNull Parcelable.Creator<PasswordMetrics> CREATOR
[all …]
DPasswordMetrics.aidl20 parcelable PasswordMetrics;
DIDevicePolicyManager.aidl26 import android.app.admin.PasswordMetrics;
134 void setActivePasswordState(in PasswordMetrics metrics, int userHandle); in setActivePasswordState()
DDevicePolicyManager.java5699 public void setActivePasswordState(PasswordMetrics metrics, int userHandle) { in setActivePasswordState()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java33 import android.app.admin.PasswordMetrics;
361 final PasswordMetrics metric = PasswordMetrics.computeForCredential( in testTokenBasedResetPassword()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java32 import android.app.admin.PasswordMetrics;
977 final int passwordQuality = PasswordMetrics.computeForPassword(password).quality; in saveLockPassword()
1824 final int quality = PasswordMetrics.computeForCredential(type, credential).quality;
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java129 import android.app.admin.PasswordMetrics;
740 final SparseArray<PasswordMetrics> mUserPasswordMetrics = new SparseArray<>();
973 PasswordMetrics minimumPasswordMetrics = new PasswordMetrics(
2307 PasswordMetrics getUserPasswordMetricsLocked(int userHandle) { in getUserPasswordMetricsLocked()
4145 final PasswordMetrics metrics = ap.minimumPasswordMetrics; in setPasswordQuality()
4176 PasswordMetrics metrics = getUserPasswordMetricsLocked(credentialOwner); in updatePasswordValidityCheckpointLocked()
4178 metrics = new PasswordMetrics(); in updatePasswordValidityCheckpointLocked()
4294 final PasswordMetrics metrics = ap.minimumPasswordMetrics; in setPasswordMinimumLength()
4539 final PasswordMetrics metrics = ap.minimumPasswordMetrics; in setPasswordMinimumUpperCase()
4567 final PasswordMetrics metrics = ap.minimumPasswordMetrics; in setPasswordMinimumLowerCase()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java65 import android.app.admin.PasswordMetrics;
4212 PasswordMetrics passwordMetricsNoSymbols = new PasswordMetrics( in testIsActivePasswordSufficient()
4243 PasswordMetrics passwordMetricsWithSymbols = new PasswordMetrics( in testIsActivePasswordSufficient()
4270 PasswordMetrics passwordMetricsNoSymbols = new PasswordMetrics( in testIsActivePasswordSufficient_noLockScreen()
4288 private void setActivePasswordState(PasswordMetrics passwordMetrics) in setActivePasswordState()
5229 PasswordMetrics.computeForPassword("asdf".getBytes())); in testGetPasswordComplexity_currentUserHasPassword()
5246 PasswordMetrics.computeForPassword("asdf".getBytes())); in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword()
5249 PasswordMetrics.computeForPassword("parentUser".getBytes())); in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java46 import android.app.admin.PasswordMetrics;
1978 final PasswordMetrics metrics = in notifyActivePasswordMetricsAvailable()
1979 PasswordMetrics.computeForCredential(credentialType, password); in notifyActivePasswordMetricsAvailable()
/frameworks/base/config/
Dpreloaded-classes506 android.app.admin.PasswordMetrics$1
507 android.app.admin.PasswordMetrics
/frameworks/base/services/
Dart-profile6297 …icy/DevicePolicyManagerService;->getUserPasswordMetricsLocked(I)Landroid/app/admin/PasswordMetrics;
6320 …ervice;->isPasswordSufficientForUserWithoutCheckpointLocked(Landroid/app/admin/PasswordMetrics;IZ)Z
6339 …aybeLogPasswordComplexitySet(Landroid/content/ComponentName;IZLandroid/app/admin/PasswordMetrics;)V
6373 …cepolicy/DevicePolicyManagerService;->setActivePasswordState(Landroid/app/admin/PasswordMetrics;I)V
8228 …><init>(Lcom/android/server/locksettings/LockSettingsService;Landroid/app/admin/PasswordMetrics;I)V
8294 …a$notifyActivePasswordMetricsAvailable$0$LockSettingsService(Landroid/app/admin/PasswordMetrics;I)V