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.java36 final PasswordMetrics metrics = new PasswordMetrics(); in testIsDefault()
59 final PasswordMetrics metrics; in testParceling()
61 new PasswordMetrics( in testParceling()
65 metrics = PasswordMetrics.CREATOR.createFromParcel(parcel); in testParceling()
83 final PasswordMetrics metrics = PasswordMetrics.computeForPassword("6B~0z1Z3*8A"); in testComputeForPassword_metrics()
96 PasswordMetrics.computeForPassword("a1").quality); in testComputeForPassword_quality()
98 PasswordMetrics.computeForPassword("a").quality); in testComputeForPassword_quality()
100 PasswordMetrics.computeForPassword("*~&%$").quality); in testComputeForPassword_quality()
102 PasswordMetrics.computeForPassword("1").quality); in testComputeForPassword_quality()
105 PasswordMetrics.computeForPassword("1234").quality); in testComputeForPassword_quality()
[all …]
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java33 public class PasswordMetrics implements Parcelable { class
47 public PasswordMetrics() {} in PasswordMetrics() method in PasswordMetrics
49 public PasswordMetrics(int quality, int length) { in PasswordMetrics() method in PasswordMetrics
54 public PasswordMetrics(int quality, int length, int letters, int upperCase, int lowerCase, in PasswordMetrics() method in PasswordMetrics
65 private PasswordMetrics(Parcel in) { in PasswordMetrics() method in PasswordMetrics
99 public static final Parcelable.Creator<PasswordMetrics> CREATOR
100 = new Parcelable.Creator<PasswordMetrics>() {
101 public PasswordMetrics createFromParcel(Parcel in) {
102 return new PasswordMetrics(in);
105 public PasswordMetrics[] newArray(int size) {
[all …]
DPasswordMetrics.aidl20 parcelable PasswordMetrics;
DIDevicePolicyManager.aidl25 import android.app.admin.PasswordMetrics;
131 void setActivePasswordState(in PasswordMetrics metrics, int userHandle); in setActivePasswordState()
DDevicePolicyManager.java4849 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;
347 PasswordMetrics metric = PasswordMetrics.computeForPassword(PATTERN); in testTokenBasedResetPassword()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java31 import android.app.admin.PasswordMetrics;
853 PasswordMetrics.computeForPassword(password).quality, userHandle); in saveLockPassword()
965 int computedQuality = PasswordMetrics.computeForPassword(credential).quality; in computePasswordQuality()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java109 import android.app.admin.PasswordMetrics;
677 final SparseArray<PasswordMetrics> mUserPasswordMetrics = new SparseArray<>();
907 PasswordMetrics minimumPasswordMetrics = new PasswordMetrics(
2198 PasswordMetrics getUserPasswordMetricsLocked(int userHandle) { in getUserPasswordMetricsLocked()
3951 final PasswordMetrics metrics = ap.minimumPasswordMetrics; in setPasswordQuality()
3971 PasswordMetrics metrics = getUserPasswordMetricsLocked(credentialOwner); in updatePasswordValidityCheckpointLocked()
3973 metrics = new PasswordMetrics(); in updatePasswordValidityCheckpointLocked()
4063 final PasswordMetrics metrics = ap.minimumPasswordMetrics; in setPasswordMinimumLength()
4290 final PasswordMetrics metrics = ap.minimumPasswordMetrics; in setPasswordMinimumUpperCase()
4313 final PasswordMetrics metrics = ap.minimumPasswordMetrics; in setPasswordMinimumLowerCase()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java43 import android.app.admin.PasswordMetrics;
1841 final PasswordMetrics metrics; in notifyActivePasswordMetricsAvailable()
1843 metrics = new PasswordMetrics(); in notifyActivePasswordMetricsAvailable()
1845 metrics = PasswordMetrics.computeForPassword(password); in notifyActivePasswordMetricsAvailable()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java59 import android.app.admin.PasswordMetrics;
4211 PasswordMetrics passwordMetricsNoSymbols = new PasswordMetrics( in testIsActivePasswordSufficient()
4242 PasswordMetrics passwordMetricsWithSymbols = new PasswordMetrics( in testIsActivePasswordSufficient()
4252 private void setActivePasswordState(PasswordMetrics passwordMetrics) in setActivePasswordState()
/frameworks/base/config/
Dboot-image-profile.txt922 …droid/app/admin/DevicePolicyManager;->setActivePasswordState(Landroid/app/admin/PasswordMetrics;I)V
931 HPLandroid/app/admin/PasswordMetrics;->computeForPassword(Ljava/lang/String;)Landroid/app/admin/Pas…
932 HPLandroid/app/admin/PasswordMetrics;->maxLengthSequence(Ljava/lang/String;)I
15726 …roid/app/admin/IDevicePolicyManager;->setActivePasswordState(Landroid/app/admin/PasswordMetrics;I)V
15814 HSPLandroid/app/admin/PasswordMetrics$1;-><init>()V
54114 Landroid/app/admin/PasswordMetrics$1;
54115 Landroid/app/admin/PasswordMetrics;
Dhiddenapi-light-greylist.txt314 Landroid/app/admin/DevicePolicyManager;->setActivePasswordState(Landroid/app/admin/PasswordMetrics;…