Searched refs:isScreenLockEnabled (Results 1 – 5 of 5) sorted by relevance
119 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()
131 public boolean isScreenLockEnabled(ScreenLockType type, int quality) { in isScreenLockEnabled() method in ChooseLockGenericController188 if (includeDisabled || isScreenLockEnabled(lock, upgradedQuality)) {
640 boolean enabled = mController.isScreenLockEnabled(lock, quality); in disableUnusablePreferencesImpl()
629 boolean enabled = mController.isScreenLockEnabled(lock, quality); in disableUnusablePreferencesImpl()