Home
last modified time | relevance | path

Searched refs:isLockPatternSecure (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/
DLockScreenSafetySourceTest.java173 when(mScreenLockPreferenceDetailsUtils.isLockPatternSecure()).thenReturn(true); in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsSec_setStatusLevelInfo()
198 when(mScreenLockPreferenceDetailsUtils.isLockPatternSecure()).thenReturn(false); in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setStatusLevelRec()
223 when(mScreenLockPreferenceDetailsUtils.isLockPatternSecure()).thenReturn(true); in setSafetySourceData_whenPwdQualIsMan_whenLockPattIsSec_setStatusLevelUnsp()
248 when(mScreenLockPreferenceDetailsUtils.isLockPatternSecure()).thenReturn(false); in setSafetySourceData_whenPwdQualIsMan_whenLockPattIsNotSec_setStatusLevelUnsp()
273 when(mScreenLockPreferenceDetailsUtils.isLockPatternSecure()).thenReturn(true); in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsSec_doesNotSetIssues()
292 when(mScreenLockPreferenceDetailsUtils.isLockPatternSecure()).thenReturn(false); in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue()
341 when(mScreenLockPreferenceDetailsUtils.isLockPatternSecure()).thenReturn(true); in setSafetySourceData_whenPwdQualIsMan_whenLockPattIsSec_doesNotSetIssues()
360 when(mScreenLockPreferenceDetailsUtils.isLockPatternSecure()).thenReturn(false); in setSafetySourceData_whenPwdQualIsMan_whenLockPattIsNotSec_doesNotSetIssues()
416 when(mScreenLockPreferenceDetailsUtils.isLockPatternSecure()).thenReturn(true); in setSafetySourceData_whenPasswordQualityIsNotManaged_setEnabled()
/packages/apps/Settings/src/com/android/settings/safetycenter/
DLockScreenSafetySource.java85 final boolean isLockPatternSecure = screenLockPreferenceDetailsUtils.isLockPatternSecure(); in setSafetySourceData()
88 ? isLockPatternSecure in setSafetySourceData()
107 if (lockScreenAllowedByAdmin && !isLockPatternSecure) { in setSafetySourceData()
/packages/apps/Settings/src/com/android/settings/security/
DScreenLockPreferenceDetailsUtils.java87 public boolean isLockPatternSecure() { in isLockPatternSecure() method in ScreenLockPreferenceDetailsUtils
95 return isLockPatternSecure(); in shouldShowGearMenu()
/packages/apps/Settings/tests/unit/src/com/android/settings/security/
DScreenLockPreferenceDetailsUtilsTest.java259 assertThat(mScreenLockPreferenceDetailsUtils.isLockPatternSecure()).isTrue(); in isLockPatternSecure_patternIsSecure_shouldReturnTrue()
266 assertThat(mScreenLockPreferenceDetailsUtils.isLockPatternSecure()).isFalse(); in isLockPatternSecure_patternIsNotSecure_shouldReturnFalse()