Home
last modified time | relevance | path

Searched refs:isLockScreenDisabled (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DChangeScreenLockPreferenceControllerTest.java106 when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(true); in updateState_notSecureDisableKeyguard_shouldNotShowGear()
117 when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(true); in updateState_notSecureDisableKeyguard_summaryShouldShowOff()
129 when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(false); in updateState_notSecureWithSwipeKeyguard_shouldNotShowGear()
140 when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(false); in updateState_notSecureWithSwipeKeyguard_summaryShouldShowSwipe()
152 when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(false); in updateState_secureWithPinKeyguard_shouldShowGear()
165 when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(false); in updateState_secureWithPinKeyguard_summaryShouldShowPin()
180 when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(false); in updateState_secureWithPasswordKeyguard_shouldShowGear()
193 when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(false); in updateState_secureWithPasswordKeyguard_summaryShouldShowPassword()
207 when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(false); in updateState_secureWithPatternKeyguard_shouldShowGear()
220 when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(false); in updateState_secureWithPatternKeyguard_summaryShouldShowPattern()
DOwnerInfoPreferenceControllerTest.java167 doReturn(true).when(mLockPatternUtils).isLockScreenDisabled(anyInt()); in updateEnableState_lockScreenDisabled_shouldDisablePreference()
178 doReturn(false).when(mLockPatternUtils).isLockScreenDisabled(anyInt()); in updateEnableState_lockScreenEnabled_shouldEnablePreference()
192 doReturn(false).when(mLockPatternUtils).isLockScreenDisabled(anyInt()); in handlePreferenceTreeClick_shouldLaunchOwnerInfoSettings()
DLockscreenDashboardFragmentTest.java128 when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(true); in isPageSearchable_notLocked_shouldBeSearchable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/screenlock/
DLockScreenPreferenceControllerTest.java91 when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(true); in getAvailabilityStatus_notSecure_lockscreenDisabled_AVAILABLE()
99 when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(false); in getAvailabilityStatus_notSecure_lockscreenEnabled_AVAILABLE()
/packages/apps/Settings/tests/unit/src/com/android/settings/security/
DScreenLockPreferenceDetailsUtilsTest.java116 when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(true); in getSummary_unsecureAndDisabledPattern_shouldReturnUnlockModeOff()
127 when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(false); in getSummary_unsecurePattern_shouldReturnUnlockModeNone()
/packages/apps/Settings/src/com/android/settings/security/
DOwnerInfoPreferenceController.java101 mOwnerInfoPref.setEnabled(!mLockPatternUtils.isLockScreenDisabled(MY_USER_ID)); in updateEnableState()
DScreenLockPreferenceDetailsUtils.java172 || mLockPatternUtils.isLockScreenDisabled(userId)) { in getSummaryResId()
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/
DShadowLockPatternUtils.java235 public boolean isLockScreenDisabled(int userId) { in isLockScreenDisabled() method in ShadowLockPatternUtils
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGeneric.java740 if (mLockPatternUtils.isLockScreenDisabled(credentialOwner)) { in getKeyForCurrent()