Home
last modified time | relevance | path

Searched refs:PasswordMetrics (Results 1 – 14 of 14) 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.java5721 public void setActivePasswordState(PasswordMetrics metrics, int userHandle) { in setActivePasswordState()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java39 import android.app.admin.PasswordMetrics;
270 final PasswordMetrics metric = PasswordMetrics.computeForCredential( in testTokenBasedResetPassword()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java31 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.java130 import android.app.admin.PasswordMetrics;
744 final SparseArray<PasswordMetrics> mUserPasswordMetrics = new SparseArray<>();
977 PasswordMetrics minimumPasswordMetrics = new PasswordMetrics(
2315 PasswordMetrics getUserPasswordMetricsLocked(int userHandle) { in getUserPasswordMetricsLocked()
4153 final PasswordMetrics metrics = ap.minimumPasswordMetrics; in setPasswordQuality()
4184 PasswordMetrics metrics = getUserPasswordMetricsLocked(credentialOwner); in updatePasswordValidityCheckpointLocked()
4186 metrics = new PasswordMetrics(); in updatePasswordValidityCheckpointLocked()
4302 final PasswordMetrics metrics = ap.minimumPasswordMetrics; in setPasswordMinimumLength()
4547 final PasswordMetrics metrics = ap.minimumPasswordMetrics; in setPasswordMinimumUpperCase()
4575 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;
4239 PasswordMetrics passwordMetricsNoSymbols = new PasswordMetrics( in testIsActivePasswordSufficient()
4270 PasswordMetrics passwordMetricsWithSymbols = new PasswordMetrics( in testIsActivePasswordSufficient()
4297 PasswordMetrics passwordMetricsNoSymbols = new PasswordMetrics( in testIsActivePasswordSufficient_noLockScreen()
4315 private void setActivePasswordState(PasswordMetrics passwordMetrics) in setActivePasswordState()
5256 PasswordMetrics.computeForPassword("asdf".getBytes())); in testGetPasswordComplexity_currentUserHasPassword()
5273 PasswordMetrics.computeForPassword("asdf".getBytes())); in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword()
5276 PasswordMetrics.computeForPassword("parentUser".getBytes())); in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java46 import android.app.admin.PasswordMetrics;
2046 final PasswordMetrics metrics = in notifyActivePasswordMetricsAvailable()
2047 PasswordMetrics.computeForCredential(credentialType, password); in notifyActivePasswordMetricsAvailable()
/frameworks/base/config/
Dpreloaded-classes506 android.app.admin.PasswordMetrics$1
507 android.app.admin.PasswordMetrics
Dhiddenapi-greylist-max-o.txt2787 …min/IDevicePolicyManager$Stub$Proxy;->setActivePasswordState(Landroid/app/admin/PasswordMetrics;I)V
3314 Landroid/app/admin/IDevicePolicyManager;->setActivePasswordState(Landroid/app/admin/PasswordMetrics
3410 Landroid/app/admin/PasswordMetrics;-><init>()V
3411 Landroid/app/admin/PasswordMetrics;-><init>(II)V
3412 Landroid/app/admin/PasswordMetrics;-><init>(IIIIIIII)V
3413 Landroid/app/admin/PasswordMetrics;-><init>(Landroid/os/Parcel;)V
3414 Landroid/app/admin/PasswordMetrics;->categoryChar(C)I
3415 Landroid/app/admin/PasswordMetrics;->CHAR_DIGIT:I
3416 Landroid/app/admin/PasswordMetrics;->CHAR_LOWER_CASE:I
3417 Landroid/app/admin/PasswordMetrics;->CHAR_SYMBOL:I
[all …]
Dboot-image-profile.txt2542 …droid/app/admin/DevicePolicyManager;->setActivePasswordState(Landroid/app/admin/PasswordMetrics;I)V
2554 HSPLandroid/app/admin/PasswordMetrics$1;-><init>()V
2555 HPLandroid/app/admin/PasswordMetrics;->computeForCredential(I[B)Landroid/app/admin/PasswordMetrics;
2556 HSPLandroid/app/admin/PasswordMetrics;->computeForPassword([B)Landroid/app/admin/PasswordMetrics;
2557 HSPLandroid/app/admin/PasswordMetrics;->maxLengthSequence([B)I
32568 Landroid/app/admin/PasswordMetrics$1;
32569 Landroid/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