Home
last modified time | relevance | path

Searched refs:SYNTHETIC_PASSWORD_ENABLED_KEY (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java24 import static com.android.internal.widget.LockPatternUtils.SYNTHETIC_PASSWORD_ENABLED_KEY;
88 mService.setLong(SYNTHETIC_PASSWORD_ENABLED_KEY, 0, UserHandle.USER_SYSTEM); in disableSyntheticPassword()
92 mService.setLong(SYNTHETIC_PASSWORD_ENABLED_KEY, 1, UserHandle.USER_SYSTEM); in enableSyntheticPassword()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java169 public static final String SYNTHETIC_PASSWORD_ENABLED_KEY = "enable-sp"; field in LockPatternUtils
1838 setLong(SYNTHETIC_PASSWORD_ENABLED_KEY, 1L, UserHandle.USER_SYSTEM);
1842 setLong(SYNTHETIC_PASSWORD_ENABLED_KEY, 0L, UserHandle.USER_SYSTEM);
1846 return getLong(SYNTHETIC_PASSWORD_ENABLED_KEY, 0, UserHandle.USER_SYSTEM) != 0;
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java26 import static com.android.internal.widget.LockPatternUtils.SYNTHETIC_PASSWORD_ENABLED_KEY;
2323 long enabled = getLong(SYNTHETIC_PASSWORD_ENABLED_KEY, in isSyntheticPasswordBasedCredentialLocked()
2332 long enabled = getLong(SYNTHETIC_PASSWORD_ENABLED_KEY, in shouldMigrateToSyntheticPasswordLocked()
2338 setLong(SYNTHETIC_PASSWORD_ENABLED_KEY, 1, UserHandle.USER_SYSTEM); in enableSyntheticPasswordLocked()