Home
last modified time | relevance | path

Searched refs:getBadRemoteGuessCounter (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbTest.java318 assertEquals(badGuessCounter, mRecoverableKeyStoreDb.getBadRemoteGuessCounter(userId)); in setUserSerialNumbers_keepsPlatformKeyGenerationId()
324 assertEquals(0, mRecoverableKeyStoreDb.getBadRemoteGuessCounter(42)); in getRemoteBadGuessCounter_returnsZeroAsDefaultValue()
337 assertEquals(badGuessCounter, mRecoverableKeyStoreDb.getBadRemoteGuessCounter(userId)); in getRemoteBadGuessCounter_returnsStoredValue()
338 assertEquals(badGuessCounter2, mRecoverableKeyStoreDb.getBadRemoteGuessCounter(userId2)); in getRemoteBadGuessCounter_returnsStoredValue()
351 assertEquals(badGuessCounter, mRecoverableKeyStoreDb.getBadRemoteGuessCounter(userId)); in getBadRemoteGuessCounter_returnsStoredValue()
352 assertEquals(badGuessCounter2, mRecoverableKeyStoreDb.getBadRemoteGuessCounter(userId2)); in getBadRemoteGuessCounter_returnsStoredValue()
368 assertEquals(badGuessCounter, mRecoverableKeyStoreDb.getBadRemoteGuessCounter(userId)); in setPlatformKeyGenerationId_keepsUserSerialNumber()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncTaskTest.java844 assertThat(mRecoverableKeyStoreDb.getBadRemoteGuessCounter(TEST_USER_ID)).isEqualTo(5); in run_unlock_keepsRemoteLskfVerificationCounter()
845 assertThat(mRecoverableKeyStoreDb.getBadRemoteGuessCounter(TEST_USER_ID_2)).isEqualTo(4); in run_unlock_keepsRemoteLskfVerificationCounter()
865 assertThat(mRecoverableKeyStoreDb.getBadRemoteGuessCounter(TEST_USER_ID)).isEqualTo(0); in run_secretChange_resetsRemoteLskfVerificationCounter()
866 assertThat(mRecoverableKeyStoreDb.getBadRemoteGuessCounter(TEST_USER_ID_2)).isEqualTo(4); in run_secretChange_resetsRemoteLskfVerificationCounter()
DRecoverableKeyStoreManagerTest.java1434 assertThat(mRecoverableKeyStoreDb.getBadRemoteGuessCounter(mUserId)).isEqualTo(0); in validateRemoteLockscreen_guessValid()
1451 assertThat(mRecoverableKeyStoreDb.getBadRemoteGuessCounter(mUserId)).isEqualTo(4); in validateRemoteLockscreen_timeout()
1467 assertThat(mRecoverableKeyStoreDb.getBadRemoteGuessCounter(mUserId)).isEqualTo(5); in validateRemoteLockscreen_guessInvalid()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManager.java1030 int badGuesses = mDatabase.getBadRemoteGuessCounter(userId); in startRemoteLockscreenValidation()
1050 int badGuesses = mDatabase.getBadRemoteGuessCounter(userId); in validateRemoteLockscreen()
1113 int badGuesses = mDatabase.getBadRemoteGuessCounter(userId); in handleVerifyCredentialResponse()
DKeySyncTask.java171 if (mCredentialUpdated && mRecoverableKeyStoreDb.getBadRemoteGuessCounter(mUserId) != 0) { in syncKeys()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDb.java414 public int getBadRemoteGuessCounter(int userId) { in getBadRemoteGuessCounter() method in RecoverableKeyStoreDb