Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java37 final PasswordMetrics metrics = new PasswordMetrics(); in testIsDefault()
51 final PasswordMetrics metrics = new PasswordMetrics( in testIsNotDefault()
58 final PasswordMetrics metrics = PasswordMetrics.computeForPassword(""); in testComputeForEmptyPassword()
74 final PasswordMetrics metrics; in testParceling()
76 new PasswordMetrics( in testParceling()
80 metrics = PasswordMetrics.CREATOR.createFromParcel(parcel); in testParceling()
98 final PasswordMetrics metrics = PasswordMetrics.computeForPassword("6B~0z1Z3*8A"); in testComputeForPassword_metrics()
111 PasswordMetrics.computeForPassword("a1").quality); in testComputeForPassword_quality()
113 PasswordMetrics.computeForPassword("a").quality); in testComputeForPassword_quality()
115 PasswordMetrics.computeForPassword("*~&%$").quality); in testComputeForPassword_quality()
[all …]
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java35 public class PasswordMetrics implements Parcelable { class
49 public PasswordMetrics() {} in PasswordMetrics() method in PasswordMetrics
51 public PasswordMetrics(int quality, int length) { in PasswordMetrics() method in PasswordMetrics
56 public PasswordMetrics(int quality, int length, int letters, int upperCase, int lowerCase, in PasswordMetrics() method in PasswordMetrics
67 private PasswordMetrics(Parcel in) { in PasswordMetrics() method in PasswordMetrics
101 public static final Parcelable.Creator<PasswordMetrics> CREATOR
102 = new Parcelable.Creator<PasswordMetrics>() {
103 public PasswordMetrics createFromParcel(Parcel in) {
104 return new PasswordMetrics(in);
107 public PasswordMetrics[] newArray(int size) {
[all …]
DPasswordMetrics.aidl20 parcelable PasswordMetrics;
DIDevicePolicyManager.aidl25 import android.app.admin.PasswordMetrics;
127 void setActivePasswordState(in PasswordMetrics metrics, int userHandle); in setActivePasswordState()
DDevicePolicyManager.java4310 public void setActivePasswordState(PasswordMetrics metrics, int userHandle) { in setActivePasswordState()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java22 import android.app.admin.PasswordMetrics;
771 final int computedQuality = PasswordMetrics.computeForPassword(password).quality; in saveLockPassword()
1460 final int computedQuality = PasswordMetrics.computeForPassword(credential).quality;
/frameworks/base/services/core/java/com/android/server/
DLockSettingsService.java34 import android.app.admin.PasswordMetrics;
1581 final PasswordMetrics metrics; in notifyActivePasswordMetricsAvailable()
1583 metrics = new PasswordMetrics(); in notifyActivePasswordMetricsAvailable()
1585 metrics = PasswordMetrics.computeForPassword(password); in notifyActivePasswordMetricsAvailable()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java81 import android.app.admin.PasswordMetrics;
479 @NonNull PasswordMetrics mActivePasswordMetrics = new PasswordMetrics();
715 PasswordMetrics minimumPasswordMetrics = new PasswordMetrics(
2578 final PasswordMetrics metrics = policy.mActivePasswordMetrics; in saveSettingsLocked()
2871 final PasswordMetrics m = policy.mActivePasswordMetrics; in loadSettingsLocked()
4319 final PasswordMetrics metrics = PasswordMetrics.computeForPassword(password); in resetPasswordInternal()
5422 public void setActivePasswordState(PasswordMetrics metrics, int userHandle) { in setActivePasswordState()
5432 metrics = new PasswordMetrics(); in setActivePasswordState()
/frameworks/base/
DAndroid.mk658 frameworks/base/core/java/android/app/admin/PasswordMetrics.aidl \
Dcompiled-classes-phone570 android.app.admin.PasswordMetrics
571 android.app.admin.PasswordMetrics$1
/frameworks/base/services/
Dprofile-classes104 Landroid/app/admin/PasswordMetrics;
105 Landroid/app/admin/PasswordMetrics$1;