Home
last modified time | relevance | path

Searched refs:getSnapshotVersion (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeySyncTask.java203 (mRecoverableKeyStoreDb.getSnapshotVersion(mUserId, recoveryAgentUid) != null) in syncKeysForAgent()
358 getSnapshotVersion(recoveryAgentUid, shouldRecreateCurrentVersion)) in syncKeysForAgent()
380 int getSnapshotVersion(int recoveryAgentUid, boolean shouldRecreateCurrentVersion) in getSnapshotVersion() method in KeySyncTask
382 Long snapshotVersion = mRecoverableKeyStoreDb.getSnapshotVersion(mUserId, recoveryAgentUid); in getSnapshotVersion()
436 if (mRecoverableKeyStoreDb.getSnapshotVersion(mUserId, recoveryAgentUid) != null) { in shouldCreateSnapshot()
DRecoverableKeyStoreManager.java266 if (mDatabase.getSnapshotVersion(userId, uid) != null) { in initRecoveryService()
383 if (mDatabase.getSnapshotVersion(userId, uid) != null) { in setServerParams()
449 if (mDatabase.getSnapshotVersion(userId, uid) != null) { in setRecoverySecretTypes()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySnapshotStorageTest.java126 assertEquals(snapshotVersion, snapshot.getSnapshotVersion()); in put_overwritesOldFiles()
158 assertEquals(b.getSnapshotVersion(), a.getSnapshotVersion()); in assertKeyChainSnapshotsAreEqual()
DRecoverableKeyStoreDbTest.java848 assertThat(mRecoverableKeyStoreDb.getSnapshotVersion(userId, uid)).isNull(); in setSnapshotVersion_defaultValueAndTwoUpdates()
850 assertThat(mRecoverableKeyStoreDb.getSnapshotVersion(userId, uid)).isEqualTo( in setSnapshotVersion_defaultValueAndTwoUpdates()
853 assertThat(mRecoverableKeyStoreDb.getSnapshotVersion(userId, uid)).isEqualTo( in setSnapshotVersion_defaultValueAndTwoUpdates()
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/
DKeyChainSnapshotTest.java58 assertEquals(SNAPSHOT_VERSION, createKeyChainSnapshot().getSnapshotVersion()); in build_setsSnapshotVersion()
118 assertEquals(SNAPSHOT_VERSION, snapshot.getSnapshotVersion()); in writeToParcel_writesSnapshotVersion()
/frameworks/base/core/java/android/security/keystore/recovery/
DKeyChainSnapshot.java90 public int getSnapshotVersion() { in getSnapshotVersion() method in KeyChainSnapshot
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncTaskTest.java618 assertThat(keyChainSnapshot.getSnapshotVersion()).isEqualTo(1); // default value; in run_setsCorrectSnapshotVersion()
624 assertThat(keyChainSnapshot.getSnapshotVersion()).isEqualTo(2); // Updated in run_setsCorrectSnapshotVersion()
637 assertThat(keyChainSnapshot.getSnapshotVersion()).isEqualTo(1); // default value; in run_recreatesMissingSnapshot()
644 assertThat(keyChainSnapshot.getSnapshotVersion()).isEqualTo(1); // Same version in run_recreatesMissingSnapshot()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializer.java157 keyChainSnapshot.getSnapshotVersion()); in writeKeyChainSnapshotProperties()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializerTest.java75 assertThat(roundTrip().getSnapshotVersion()).isEqualTo(SNAPSHOT_VERSION); in roundTrip_persistsSnapshotVersion()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDb.java865 public Long getSnapshotVersion(int userId, int uid) { in getSnapshotVersion() method in RecoverableKeyStoreDb
/frameworks/base/api/
Dsystem-current.txt6968 method public int getSnapshotVersion();
/frameworks/base/non-updatable-api/
Dsystem-current.txt6866 method public int getSnapshotVersion();
/frameworks/base/services/
Dart-profile8419 PLcom/android/server/locksettings/recoverablekeystore/KeySyncTask;->getSnapshotVersion(IZ)I
8540 …r/locksettings/recoverablekeystore/storage/RecoverableKeyStoreDb;->getSnapshotVersion(II)Ljava/lan…