Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockGenericControllerTest.java282 mController.upgradeQuality(DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC); in upgradeQuality_noDpmRequirement_shouldReturnQuality()
292 mController.upgradeQuality(DevicePolicyManager.PASSWORD_QUALITY_SOMETHING); in upgradeQuality_dpmRequirement_shouldReturnRequiredQuality()
303 assertThat(mController.upgradeQuality(DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED)) in upgradeQuality_complexityHigh_minQualityNumericComplex()
313 assertThat(mController.upgradeQuality(DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED)) in upgradeQuality_complexityMedium_minQualityNumericComplex()
323 assertThat(mController.upgradeQuality(DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED)) in upgradeQuality_complexityLow_minQualitySomething()
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGenericController.java194 && type.maxQuality >= upgradeQuality(PASSWORD_QUALITY_UNSPECIFIED); in isScreenLockEnabled()
202 public int upgradeQuality(int quality) { in upgradeQuality() method in ChooseLockGenericController
DChooseLockGeneric.java831 quality = mController.upgradeQuality(quality); in updateUnlockMethodAndFinish()