Home
last modified time | relevance | path

Searched refs:getCredentialType (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockscreenRepairModeTest.java61 mService.getCredentialType(USER_REPAIR_MODE)); in verifyPin_writeRepairModePW()
74 mService.getCredentialType(USER_REPAIR_MODE)); in verifyPattern_writeRepairModePW()
87 mService.getCredentialType(USER_REPAIR_MODE)); in verifyPassword_writeRepairModePW()
112 mService.getCredentialType(USER_REPAIR_MODE)); in deleteRepairModePersistentData()
129 mService.getCredentialType(USER_REPAIR_MODE)); in verifyPin_userRepairMode()
146 mService.getCredentialType(USER_REPAIR_MODE)); in verifyPattern_userRepairMode()
163 mService.getCredentialType(USER_REPAIR_MODE)); in verifyPassword_userRepairMode()
179 mService.getCredentialType(USER_REPAIR_MODE)); in verifyCredential_userRepairMode_repairModeIsNotActive()
196 mService.getCredentialType(USER_REPAIR_MODE)); in verifyCredential_userRepairMode_wrongPin()
DLockscreenFrpTest.java65 assertEquals(CREDENTIAL_TYPE_PIN, mService.getCredentialType(USER_FRP)); in testFrpCredential_setPin()
75 assertEquals(CREDENTIAL_TYPE_PATTERN, mService.getCredentialType(USER_FRP)); in testFrpCredential_setPattern()
85 assertEquals(CREDENTIAL_TYPE_PASSWORD, mService.getCredentialType(USER_FRP)); in testFrpCredential_setPassword()
96 assertEquals(CREDENTIAL_TYPE_PATTERN, mService.getCredentialType(USER_FRP)); in testFrpCredential_changeCredential()
105 assertEquals(CREDENTIAL_TYPE_PASSWORD, mService.getCredentialType(USER_FRP)); in testFrpCredential_removeCredential()
109 assertEquals(CREDENTIAL_TYPE_NONE, mService.getCredentialType(USER_FRP)); in testFrpCredential_removeCredential()
132 assertEquals(CREDENTIAL_TYPE_PIN, mService.getCredentialType(USER_FRP)); in testFrpCredential_legacyPinTypePersistentData()
149 assertEquals(CREDENTIAL_TYPE_PASSWORD, mService.getCredentialType(USER_FRP)); in testFrpCredential_legacyPasswordTypePersistentData()
DLockSettingsServiceTests.java232 assertEquals(CREDENTIAL_TYPE_NONE, mService.getCredentialType(MANAGED_PROFILE_USER_ID)); in testManagedProfileChallengeUnification_parentUserNoPassword()
237 assertEquals(CREDENTIAL_TYPE_PASSWORD, mService.getCredentialType(MANAGED_PROFILE_USER_ID)); in testManagedProfileChallengeUnification_parentUserNoPassword()
243 assertEquals(CREDENTIAL_TYPE_NONE, mService.getCredentialType(MANAGED_PROFILE_USER_ID)); in testManagedProfileChallengeUnification_parentUserNoPassword()
588 assertEquals(CREDENTIAL_TYPE_NONE, mService.getCredentialType(userId)); in testSetCredentialFailsWithoutLockScreen()
605 assertEquals(CREDENTIAL_TYPE_PASSWORD, mService.getCredentialType(userId)); in assertVerifyCredential()
607 assertEquals(CREDENTIAL_TYPE_PIN, mService.getCredentialType(userId)); in assertVerifyCredential()
609 assertEquals(CREDENTIAL_TYPE_PATTERN, mService.getCredentialType(userId)); in assertVerifyCredential()
611 assertEquals(CREDENTIAL_TYPE_NONE, mService.getCredentialType(userId)); in assertVerifyCredential()
644 assertEquals(newCredential.getType(), mService.getCredentialType(userId)); in setCredential()
DSyntheticPasswordTests.java136 assertEquals(credential.getType(), mService.getCredentialType(userId)); in initSpAndSetCredential()
497 assertEquals(CREDENTIAL_TYPE_NONE, mService.getCredentialType(PRIMARY_USER_ID)); in testSetLockCredentialWithTokenFailsWithoutLockScreen()
505 assertEquals(CREDENTIAL_TYPE_NONE, mService.getCredentialType(PRIMARY_USER_ID)); in testSetLockCredentialWithTokenFailsWithoutLockScreen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/
DPromptSelectorInteractor.kt23 import com.android.systemui.biometrics.Utils.getCredentialType in <lambda>()
151 getCredentialType(lockPatternUtils, prompt.userInfo.deviceCredentialOwnerId) in isAllowed()
199 kind = getCredentialType(lockPatternUtils, effectiveUserId) in setPrompt()
222 kind = getCredentialType(lockPatternUtils, effectiveUserId) in setPrompt()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManagerTest.java1317 when(mLockSettingsService.getCredentialType(anyInt())).thenReturn( in startRemoteLockscreenValidation_credentialsNotSet()
1325 verify(mLockSettingsService).getCredentialType(mUserId); in startRemoteLockscreenValidation_credentialsNotSet()
1329 when(mLockSettingsService.getCredentialType(anyInt())).thenReturn( in startRemoteLockscreenValidation_checksPermission()
1341 when(mLockSettingsService.getCredentialType(anyInt())).thenReturn( in startRemoteLockscreenValidation_returnsCredentailsType()
1349 verify(mLockSettingsService).getCredentialType(anyInt()); in startRemoteLockscreenValidation_returnsCredentailsType()
1353 when(mLockSettingsService.getCredentialType(anyInt())).thenReturn( in startRemoteLockscreenValidation_returnsRemainingAttempts()
1365 when(mLockSettingsService.getCredentialType(anyInt())).thenReturn( in startRemoteLockscreenValidation_password()
1377 when(mLockSettingsService.getCredentialType(anyInt())).thenReturn( in validateRemoteLockscreen_noActiveSession()
1389 when(mLockSettingsService.getCredentialType(anyInt())).thenReturn( in validateRemoteLockscreen_decryptionError()
1406 when(mLockSettingsService.getCredentialType(anyInt())).thenReturn( in validateRemoteLockscreen_zeroRemainingAttempts()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DILockSettings.aidl58 int getCredentialType(int userId); in getCredentialType() method
DLockPatternUtils.java1012 return getLockSettings().getCredentialType(userHandle);
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/
DUtils.kt92 fun getCredentialType(utils: LockPatternUtils, userId: Int): PromptKind = in isDeviceCredentialAllowed() method
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockPatternUtilsTest.java95 when(mLockSettings.getCredentialType(DEMO_USER_ID)).thenReturn( in configureTest()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManager.java1021 savedCredentialType = lockSettingsService.getCredentialType(userId); in startRemoteLockscreenValidation()
1081 savedCredentialType = lockSettingsService.getCredentialType(userId); in validateRemoteLockscreen()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java773 int getCredentialType(long protectorId, int userId) { in getCredentialType() method in SyntheticPasswordManager
1131 && getCredentialType(protectorId, userInfo.id) != in migrateFrpPasswordLocked()
DLockSettingsService.java1466 public int getCredentialType(int userId) { in getCredentialType() method in LockSettingsService
1486 int rawType = mSpManager.getCredentialType(protectorId, userId); in getCredentialTypeInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthContainerView.java507 PromptKind credentialType = Utils.getCredentialType(mLockPatternUtils, mEffectiveUserId); in addCredentialView()
/frameworks/base/services/
Dart-wear-profile14807 PLcom/android/server/locksettings/LockSettingsService;->getCredentialType(I)I
14936 PLcom/android/server/locksettings/SyntheticPasswordManager;->getCredentialType(JI)I
/frameworks/base/boot/
Dboot-image-profile.txt22252 HSPLcom/android/internal/widget/ILockSettings$Stub$Proxy;->getCredentialType(I)I
/frameworks/base/config/
Dboot-image-profile.txt22316 HSPLcom/android/internal/widget/ILockSettings$Stub$Proxy;->getCredentialType(I)I