Home
last modified time | relevance | path

Searched refs:USER_FRP (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockscreenFrpTest.java23 import static com.android.internal.widget.LockPatternUtils.USER_FRP;
65 assertEquals(CREDENTIAL_TYPE_PIN, mService.getCredentialType(USER_FRP)); in testFrpCredential_setPin()
67 mService.verifyCredential(newPin("1234"), USER_FRP, 0 /* flags */) in testFrpCredential_setPin()
75 assertEquals(CREDENTIAL_TYPE_PATTERN, mService.getCredentialType(USER_FRP)); in testFrpCredential_setPattern()
77 mService.verifyCredential(newPattern("4321"), USER_FRP, 0 /* flags */) in testFrpCredential_setPattern()
85 assertEquals(CREDENTIAL_TYPE_PASSWORD, mService.getCredentialType(USER_FRP)); in testFrpCredential_setPassword()
87 mService.verifyCredential(newPassword("4321"), USER_FRP, 0 /* flags */) in testFrpCredential_setPassword()
96 assertEquals(CREDENTIAL_TYPE_PATTERN, mService.getCredentialType(USER_FRP)); in testFrpCredential_changeCredential()
98 mService.verifyCredential(newPattern("5678"), USER_FRP, 0 /* flags */) in testFrpCredential_changeCredential()
105 assertEquals(CREDENTIAL_TYPE_PASSWORD, mService.getCredentialType(USER_FRP)); in testFrpCredential_removeCredential()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockPatternUtilsTest.java295 assertTrue(LockPatternUtils.USER_FRP < 0); in testUserFrp_isNotRegularUser()
305 assertNotEquals(UserHandle.USER_NULL, LockPatternUtils.USER_FRP);
306 assertNotEquals(UserHandle.USER_ALL, LockPatternUtils.USER_FRP);
307 assertNotEquals(UserHandle.USER_CURRENT, LockPatternUtils.USER_FRP);
308 assertNotEquals(UserHandle.USER_CURRENT_OR_SELF, LockPatternUtils.USER_FRP);
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java181 public static final int USER_FRP = UserHandle.USER_NULL + 1; field in LockPatternUtils
1127 if (userId == USER_FRP) { in setLockoutAttemptDeadline()
1927 case USER_FRP: in isSpecialUserId()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java24 import static com.android.internal.widget.LockPatternUtils.USER_FRP;
798 if (userId == USER_FRP) { in getSpecialUserPersistentData()
DLockSettingsService.java44 import static com.android.internal.widget.LockPatternUtils.USER_FRP;
2374 if (userId == USER_FRP && Settings.Global.getInt(mContext.getContentResolver(), in doVerifyCredential()
2393 && userId == USER_FRP) { in doVerifyCredential()