Home
last modified time | relevance | path

Searched refs:isScreenLockEnabled (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockGenericControllerTest.java119 assertThat(mController.isScreenLockEnabled(lock, lock.maxQuality + 1)) in isScreenLockEnabled_lowerQuality_shouldReturnFalse()
128 assertThat(mController.isScreenLockEnabled(lock, lock.defaultQuality)) in isScreenLockEnabled_equalQuality_shouldReturnTrue()
137 assertThat(mController.isScreenLockEnabled(lock, lock.maxQuality - 1)) in isScreenLockEnabled_higherQuality_shouldReturnTrue()
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGenericController.java131 public boolean isScreenLockEnabled(ScreenLockType type, int quality) { in isScreenLockEnabled() method in ChooseLockGenericController
188 if (includeDisabled || isScreenLockEnabled(lock, upgradedQuality)) {
DChooseLockGeneric.java640 boolean enabled = mController.isScreenLockEnabled(lock, quality); in disableUnusablePreferencesImpl()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DChooseLockGenericController.java131 public boolean isScreenLockEnabled(ScreenLockType type, int quality) { in isScreenLockEnabled() method in ChooseLockGenericController
188 if (includeDisabled || isScreenLockEnabled(lock, upgradedQuality)) {
DChooseLockGeneric.java629 boolean enabled = mController.isScreenLockEnabled(lock, quality); in disableUnusablePreferencesImpl()