Searched refs:hasSecureLockScreen (Results 1 – 9 of 9) sorted by relevance
98 when(mLockPatternUtils.hasSecureLockScreen()).thenReturn(true); in setUp()153 when(mLockPatternUtils.hasSecureLockScreen()).thenReturn(false); in testChangePin_noLockScreen()157 verify(mLockPatternUtils).hasSecureLockScreen(); in testChangePin_noLockScreen()200 when(mLockPatternUtils.hasSecureLockScreen()).thenReturn(false); in testChangePassword_noLockScreen()204 verify(mLockPatternUtils).hasSecureLockScreen(); in testChangePassword_noLockScreen()245 when(mLockPatternUtils.hasSecureLockScreen()).thenReturn(false); in testChangePattern_noLockScreen()249 verify(mLockPatternUtils).hasSecureLockScreen(); in testChangePattern_noLockScreen()
102 boolean hasSecureLockScreen(); in hasSecureLockScreen() method
805 if (!hasSecureLockScreen() && newCredential.getType() != CREDENTIAL_TYPE_NONE) { in setLockCredential()1580 if (!hasSecureLockScreen() && credential.getType() != CREDENTIAL_TYPE_NONE) { in setLockCredentialWithToken()1860 public boolean hasSecureLockScreen() { in hasSecureLockScreen() method in LockPatternUtils1863 mHasSecureLockScreen = Boolean.valueOf(getLockSettings().hasSecureLockScreen()); in hasSecureLockScreen()
82 if (!mLockPatternUtils.hasSecureLockScreen()) { in onCommand()
1125 public boolean hasSecureLockScreen() { in hasSecureLockScreen() method in LockSettingsService
95 doReturn(true).when(mLockPatternUtils).hasSecureLockScreen(); in configureTest()
167 when(getServices().lockPatternUtils.hasSecureLockScreen()).thenReturn(true); in testCompMigrationAffiliated()
311 when(getServices().lockPatternUtils.hasSecureLockScreen()).thenReturn(true); in setUp()3427 when(getServices().lockPatternUtils.hasSecureLockScreen()).thenReturn(true); in testSetMaximumTimeToLockProfile()5523 when(getServices().lockPatternUtils.hasSecureLockScreen()).thenReturn(false); in testIsActivePasswordSufficient_noLockScreen()
4592 if (!mHasFeature || !mLockPatternUtils.hasSecureLockScreen()) {4615 if (!mLockPatternUtils.hasSecureLockScreen()) {4625 if (!mHasFeature || !mLockPatternUtils.hasSecureLockScreen()) {4673 if (!mHasFeature || !mLockPatternUtils.hasSecureLockScreen()) {4880 if (!mHasFeature || !mLockPatternUtils.hasSecureLockScreen()) {5510 if (!mLockPatternUtils.hasSecureLockScreen()) {5542 if (!mHasFeature || !mLockPatternUtils.hasSecureLockScreen()) {5585 if (!mHasFeature || !mLockPatternUtils.hasSecureLockScreen()) {5607 if (!mHasFeature || !mLockPatternUtils.hasSecureLockScreen()) {5678 if (!mLockPatternUtils.hasSecureLockScreen()) {[all …]