Searched refs:getBadRemoteGuessCounter (Results 1 – 6 of 6) sorted by relevance
318 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()
844 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()
1434 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()
1030 int badGuesses = mDatabase.getBadRemoteGuessCounter(userId); in startRemoteLockscreenValidation()1050 int badGuesses = mDatabase.getBadRemoteGuessCounter(userId); in validateRemoteLockscreen()1113 int badGuesses = mDatabase.getBadRemoteGuessCounter(userId); in handleVerifyCredentialResponse()
171 if (mCredentialUpdated && mRecoverableKeyStoreDb.getBadRemoteGuessCounter(mUserId) != 0) { in syncKeys()
414 public int getBadRemoteGuessCounter(int userId) { in getBadRemoteGuessCounter() method in RecoverableKeyStoreDb