Home
last modified time | relevance | path

Searched refs:fromQuality (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/password/
DScreenLockTypeTest.java32 assertThat(ScreenLockType.fromQuality(DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC)) in fromQuality_shouldReturnLockWithAssociatedQuality()
34 assertThat(ScreenLockType.fromQuality(DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC)) in fromQuality_shouldReturnLockWithAssociatedQuality()
36 assertThat(ScreenLockType.fromQuality(DevicePolicyManager.PASSWORD_QUALITY_BIOMETRIC_WEAK)) in fromQuality_shouldReturnLockWithAssociatedQuality()
38 assertThat(ScreenLockType.fromQuality(DevicePolicyManager.PASSWORD_QUALITY_COMPLEX)) in fromQuality_shouldReturnLockWithAssociatedQuality()
40 assertThat(ScreenLockType.fromQuality(DevicePolicyManager.PASSWORD_QUALITY_MANAGED)) in fromQuality_shouldReturnLockWithAssociatedQuality()
42 assertThat(ScreenLockType.fromQuality(DevicePolicyManager.PASSWORD_QUALITY_NUMERIC)) in fromQuality_shouldReturnLockWithAssociatedQuality()
44 assertThat(ScreenLockType.fromQuality(DevicePolicyManager.PASSWORD_QUALITY_NUMERIC_COMPLEX)) in fromQuality_shouldReturnLockWithAssociatedQuality()
46 assertThat(ScreenLockType.fromQuality(DevicePolicyManager.PASSWORD_QUALITY_SOMETHING)) in fromQuality_shouldReturnLockWithAssociatedQuality()
48 assertThat(ScreenLockType.fromQuality(DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED)) in fromQuality_shouldReturnLockWithAssociatedQuality()
/packages/apps/Settings/src/com/android/settings/password/
DScreenLockType.java80 public static ScreenLockType fromQuality(int quality) { in fromQuality() method in ScreenLockType
DChooseLockGeneric.java740 ScreenLockType.fromQuality( in getKeyForCurrent()