Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsShellCommandTest.java98 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()
/frameworks/base/core/java/com/android/internal/widget/
DILockSettings.aidl102 boolean hasSecureLockScreen(); in hasSecureLockScreen() method
DLockPatternUtils.java792 if (!hasSecureLockScreen() && newCredential.getType() != CREDENTIAL_TYPE_NONE) { in setLockCredential()
1568 if (!hasSecureLockScreen() && credential.getType() != CREDENTIAL_TYPE_NONE) { in setLockCredentialWithToken()
1860 public boolean hasSecureLockScreen() { in hasSecureLockScreen() method in LockPatternUtils
1863 mHasSecureLockScreen = Boolean.valueOf(getLockSettings().hasSecureLockScreen()); in hasSecureLockScreen()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsShellCommand.java80 if (!mLockPatternUtils.hasSecureLockScreen()) { in onCommand()
DLockSettingsService.java1305 public boolean hasSecureLockScreen() { in hasSecureLockScreen() method in LockSettingsService
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java167 when(getServices().lockPatternUtils.hasSecureLockScreen()).thenReturn(true); in testCompMigrationAffiliated()
DDevicePolicyManagerTest.java309 when(getServices().lockPatternUtils.hasSecureLockScreen()).thenReturn(true); in setUp()
3433 when(getServices().lockPatternUtils.hasSecureLockScreen()).thenReturn(true); in testSetMaximumTimeToLockProfile()
5527 when(getServices().lockPatternUtils.hasSecureLockScreen()).thenReturn(false); in testIsActivePasswordSufficient_noLockScreen()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockPatternUtilsTest.java100 when(mLockSettings.hasSecureLockScreen()).thenReturn(true); in configureTest()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java4667 if (!mHasFeature || !mLockPatternUtils.hasSecureLockScreen()) {
4690 if (!mLockPatternUtils.hasSecureLockScreen()) {
4700 if (!mHasFeature || !mLockPatternUtils.hasSecureLockScreen()) {
4748 if (!mHasFeature || !mLockPatternUtils.hasSecureLockScreen()) {
4955 if (!mHasFeature || !mLockPatternUtils.hasSecureLockScreen()) {
5705 if (!mLockPatternUtils.hasSecureLockScreen()) {
5737 if (!mHasFeature || !mLockPatternUtils.hasSecureLockScreen()) {
5780 if (!mHasFeature || !mLockPatternUtils.hasSecureLockScreen()) {
5802 if (!mHasFeature || !mLockPatternUtils.hasSecureLockScreen()) {
5873 if (!mLockPatternUtils.hasSecureLockScreen()) {
[all …]