Searched refs:isScreenLockEnabled (Results 1 – 3 of 3) sorted by relevance
125 assertThat(mController.isScreenLockEnabled(ScreenLockType.NONE)).isTrue(); in isScreenLockEnabled_Default()126 assertThat(mController.isScreenLockEnabled(ScreenLockType.SWIPE)).isTrue(); in isScreenLockEnabled_Default()127 assertThat(mController.isScreenLockEnabled(ScreenLockType.PATTERN)).isTrue(); in isScreenLockEnabled_Default()128 assertThat(mController.isScreenLockEnabled(ScreenLockType.PIN)).isTrue(); in isScreenLockEnabled_Default()129 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_Default()135 assertThat(mController.isScreenLockEnabled(ScreenLockType.NONE)).isTrue(); in isScreenLockEnabled_QualityUnspecified()136 assertThat(mController.isScreenLockEnabled(ScreenLockType.SWIPE)).isTrue(); in isScreenLockEnabled_QualityUnspecified()137 assertThat(mController.isScreenLockEnabled(ScreenLockType.PATTERN)).isTrue(); in isScreenLockEnabled_QualityUnspecified()138 assertThat(mController.isScreenLockEnabled(ScreenLockType.PIN)).isTrue(); in isScreenLockEnabled_QualityUnspecified()139 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_QualityUnspecified()[all …]
192 public boolean isScreenLockEnabled(ScreenLockType type) { in isScreenLockEnabled() method in ChooseLockGenericController243 if (isScreenLockVisible(lock) && isScreenLockEnabled(lock)) { in getVisibleAndEnabledScreenLockTypes()
757 boolean enabled = mController.isScreenLockEnabled(lock); in disableUnusablePreferences()