Searched refs:CredentialHash (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStorage.java | 113 public static class CredentialHash { class in LockSettingsStorage 115 private CredentialHash(byte[] hash, @CredentialType int type) { in CredentialHash() method in LockSettingsStorage.CredentialHash 130 static CredentialHash create(byte[] hash, int type) { in create() 134 return new CredentialHash(hash, type); in create() 137 static CredentialHash createEmptyHash() { in createEmptyHash() 138 return new CredentialHash(null, LockPatternUtils.CREDENTIAL_TYPE_NONE); in createEmptyHash() 255 private CredentialHash readPasswordHashIfExists(int userId) { in readPasswordHashIfExists() 258 return new CredentialHash(stored, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD_OR_PIN); in readPasswordHashIfExists() 263 private CredentialHash readPatternHashIfExists(int userId) { in readPatternHashIfExists() 266 return new CredentialHash(stored, LockPatternUtils.CREDENTIAL_TYPE_PATTERN); in readPatternHashIfExists() [all …]
|
D | LockSettingsService.java | 134 import com.android.server.locksettings.LockSettingsStorage.CredentialHash; 1686 mStorage.writeCredentialHash(CredentialHash.createEmptyHash(), userId); in setLockCredentialInternal() 1699 CredentialHash currentHandle = mStorage.readCredentialHash(userId); in setLockCredentialInternal() 1739 CredentialHash willStore = CredentialHash.create(enrolledHandle, credential.getType()); in setLockCredentialInternal() 2244 final CredentialHash storedHash = mStorage.readCredentialHash(userId); in doVerifyCredential() 2299 private VerifyCredentialResponse verifyCredential(int userId, CredentialHash storedHash, in verifyCredential()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsStorageTests.java | 53 import com.android.server.locksettings.LockSettingsStorage.CredentialHash; 487 mStorage.writeCredentialHash(CredentialHash.create( in writePasswordBytes() 492 mStorage.writeCredentialHash(CredentialHash.create( in writePatternBytes() 497 CredentialHash cred = mStorage.readCredentialHash(userId); in assertPasswordBytes() 503 CredentialHash cred = mStorage.readCredentialHash(userId); in assertPatternBytes()
|
D | LockSettingsServiceTests.java | 48 import com.android.server.locksettings.LockSettingsStorage.CredentialHash; 520 mStorage.writeCredentialHash(CredentialHash.create(oldHash, in initializeStorageWithCredential() 523 mStorage.writeCredentialHash(CredentialHash.create(oldHash, in initializeStorageWithCredential()
|
/frameworks/base/services/ |
D | art-profile | 23555 HSPLcom/android/server/locksettings/LockSettingsStorage$CredentialHash;-><init>([BI)V 23556 …tings/LockSettingsStorage$CredentialHash;->createEmptyHash()Lcom/android/server/locksettings/LockS… 23590 …Storage;->readCredentialHash(I)Lcom/android/server/locksettings/LockSettingsStorage$CredentialHash; 23593 …e;->readPasswordHashIfExists(I)Lcom/android/server/locksettings/LockSettingsStorage$CredentialHash; 23594 …ge;->readPatternHashIfExists(I)Lcom/android/server/locksettings/LockSettingsStorage$CredentialHash; 54147 Lcom/android/server/locksettings/LockSettingsStorage$CredentialHash;
|