Searched refs:getSnapshotVersion (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncTask.java | 221 (mRecoverableKeyStoreDb.getSnapshotVersion(mUserId, recoveryAgentUid) != null) in syncKeysForAgent() 376 getSnapshotVersion(recoveryAgentUid, shouldRecreateCurrentVersion)) in syncKeysForAgent() 398 int getSnapshotVersion(int recoveryAgentUid, boolean shouldRecreateCurrentVersion) in getSnapshotVersion() method in KeySyncTask 400 Long snapshotVersion = mRecoverableKeyStoreDb.getSnapshotVersion(mUserId, recoveryAgentUid); in getSnapshotVersion() 454 if (mRecoverableKeyStoreDb.getSnapshotVersion(mUserId, recoveryAgentUid) != null) { in shouldCreateSnapshot()
|
D | RecoverableKeyStoreManager.java | 300 if (mDatabase.getSnapshotVersion(userId, uid) != null) { in initRecoveryService() 418 if (mDatabase.getSnapshotVersion(userId, uid) != null) { in setServerParams() 484 if (mDatabase.getSnapshotVersion(userId, uid) != null) { in setRecoverySecretTypes()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverySnapshotStorageTest.java | 126 assertEquals(snapshotVersion, snapshot.getSnapshotVersion()); in put_overwritesOldFiles() 158 assertEquals(b.getSnapshotVersion(), a.getSnapshotVersion()); in assertKeyChainSnapshotsAreEqual()
|
D | RecoverableKeyStoreDbTest.java | 887 assertThat(mRecoverableKeyStoreDb.getSnapshotVersion(userId, uid)).isNull(); in setSnapshotVersion_defaultValueAndTwoUpdates() 889 assertThat(mRecoverableKeyStoreDb.getSnapshotVersion(userId, uid)).isEqualTo( in setSnapshotVersion_defaultValueAndTwoUpdates() 892 assertThat(mRecoverableKeyStoreDb.getSnapshotVersion(userId, uid)).isEqualTo( in setSnapshotVersion_defaultValueAndTwoUpdates()
|
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/ |
D | KeyChainSnapshotTest.java | 58 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/ |
D | KeyChainSnapshot.java | 91 public int getSnapshotVersion() { in getSnapshotVersion() method in KeyChainSnapshot
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncTaskTest.java | 648 assertThat(keyChainSnapshot.getSnapshotVersion()).isEqualTo(1); // default value; in run_setsCorrectSnapshotVersion() 654 assertThat(keyChainSnapshot.getSnapshotVersion()).isEqualTo(2); // Updated in run_setsCorrectSnapshotVersion() 667 assertThat(keyChainSnapshot.getSnapshotVersion()).isEqualTo(1); // default value; in run_recreatesMissingSnapshot() 674 assertThat(keyChainSnapshot.getSnapshotVersion()).isEqualTo(1); // Same version in run_recreatesMissingSnapshot()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/ |
D | KeyChainSnapshotSerializer.java | 155 keyChainSnapshot.getSnapshotVersion()); in writeKeyChainSnapshotProperties()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/serialization/ |
D | KeyChainSnapshotSerializerTest.java | 75 assertThat(roundTrip().getSnapshotVersion()).isEqualTo(SNAPSHOT_VERSION); in roundTrip_persistsSnapshotVersion()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverableKeyStoreDb.java | 913 public Long getSnapshotVersion(int userId, int uid) { in getSnapshotVersion() method in RecoverableKeyStoreDb
|
/frameworks/base/core/api/ |
D | system-current.txt | 12199 method public int getSnapshotVersion();
|