Home
last modified time | relevance | path

Searched refs:getCounterId (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/
DKeyChainSnapshotTest.java53 assertEquals(COUNTER_ID, createKeyChainSnapshot().getCounterId()); in build_setsCounterId()
111 assertEquals(COUNTER_ID, snapshot.getCounterId()); in writeToParcel_writesCounterId()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySnapshotStorageTest.java157 assertEquals(b.getCounterId(), a.getCounterId()); in assertKeyChainSnapshotsAreEqual()
DRecoverableKeyStoreDbTest.java831 assertThat(mRecoverableKeyStoreDb.getCounterId(userId, uid)).isNull(); in setCounterId_defaultValueAndTwoUpdates()
834 assertThat(mRecoverableKeyStoreDb.getCounterId(userId, uid)).isEqualTo( in setCounterId_defaultValueAndTwoUpdates()
838 assertThat(mRecoverableKeyStoreDb.getCounterId(userId, uid)).isEqualTo( in setCounterId_defaultValueAndTwoUpdates()
/frameworks/base/core/java/android/security/keystore/recovery/
DKeyChainSnapshot.java104 public long getCounterId() { in getCounterId() method in KeyChainSnapshot
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializer.java159 writePropertyTag(xmlSerializer, TAG_COUNTER_ID, keyChainSnapshot.getCounterId()); in writeKeyChainSnapshotProperties()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializerTest.java70 assertThat(roundTrip().getCounterId()).isEqualTo(COUNTER_ID); in roundTrip_persistsCounterId()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManagerTest.java461 Long counterId0 = mRecoverableKeyStoreDb.getCounterId(userId, uid); in initRecoveryService_regeneratesCounterId()
464 Long counterId1 = mRecoverableKeyStoreDb.getCounterId(userId, uid); in initRecoveryService_regeneratesCounterId()
467 Long counterId2 = mRecoverableKeyStoreDb.getCounterId(userId, uid); in initRecoveryService_regeneratesCounterId()
DKeySyncTaskTest.java534 Long counterId = mRecoverableKeyStoreDb.getCounterId(TEST_USER_ID, TEST_RECOVERY_AGENT_UID); in run_sendsEncryptedKeysIfAvailableToSync_withRawPublicKey()
547 assertThat(keyChainSnapshot.getCounterId()).isEqualTo(counterId); in run_sendsEncryptedKeysIfAvailableToSync_withRawPublicKey()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeySyncTask.java312 counterId = mRecoverableKeyStoreDb.getCounterId(mUserId, recoveryAgentUid); in syncKeysForAgent()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDb.java805 public Long getCounterId(int userId, int uid) { in getCounterId() method in RecoverableKeyStoreDb
/frameworks/base/api/
Dsystem-current.txt6146 method public long getCounterId();
/frameworks/base/services/
Dart-profile8530 PLcom/android/server/locksettings/recoverablekeystore/storage/RecoverableKeyStoreDb;->getCounterId(…