Home
last modified time | relevance | path

Searched refs:getShouldCreateSnapshot (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManagerTest.java247 assertThat(mRecoverableKeyStoreDb.getShouldCreateSnapshot(userId, uid)).isTrue(); in importKey_storesTheKey()
281 assertThat(mRecoverableKeyStoreDb.getShouldCreateSnapshot(userId, uid)).isTrue(); in importKeyWithMetadata_nullMetadata_storesTheKey()
294 assertThat(mRecoverableKeyStoreDb.getShouldCreateSnapshot(userId, uid)).isTrue(); in importKeyWithMetadata_nonNullMetadata_storesTheKey()
328 assertThat(mRecoverableKeyStoreDb.getShouldCreateSnapshot(userId, uid)).isTrue(); in generateKeyWithMetadata_nullMetadata_storesTheKey()
339 assertThat(mRecoverableKeyStoreDb.getShouldCreateSnapshot(userId, uid)).isTrue(); in generateKeyWithMetadata_nonNullMetadata_storesTheKey()
362 assertThat(mRecoverableKeyStoreDb.getShouldCreateSnapshot(userId, uid)).isTrue(); in removeKey_updatesShouldCreateSnapshot()
373 assertThat(mRecoverableKeyStoreDb.getShouldCreateSnapshot(userId, uid)).isFalse(); in removeKey_failureDoesNotUpdateShouldCreateSnapshot()
390 assertThat(mRecoverableKeyStoreDb.getShouldCreateSnapshot(userId, uid)).isFalse(); in initRecoveryService_succeedsWithCertFile()
409 assertThat(mRecoverableKeyStoreDb.getShouldCreateSnapshot(userId, uid)).isFalse(); in initRecoveryService_updatesShouldCreatesnapshotOnCertUpdate()
415 assertThat(mRecoverableKeyStoreDb.getShouldCreateSnapshot(userId, uid)).isFalse(); in initRecoveryService_updatesShouldCreatesnapshotOnCertUpdate()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbTest.java902 assertThat(mRecoverableKeyStoreDb.getShouldCreateSnapshot(userId, uid)).isEqualTo(false); in setShouldCreateSnapshot_defaultValueAndTwoUpdates()
904 assertThat(mRecoverableKeyStoreDb.getShouldCreateSnapshot(userId, uid)).isEqualTo(value1); in setShouldCreateSnapshot_defaultValueAndTwoUpdates()
906 assertThat(mRecoverableKeyStoreDb.getShouldCreateSnapshot(userId, uid)).isEqualTo( in setShouldCreateSnapshot_defaultValueAndTwoUpdates()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeySyncTask.java460 return mRecoverableKeyStoreDb.getShouldCreateSnapshot(mUserId, recoveryAgentUid); in shouldCreateSnapshot()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDb.java952 public boolean getShouldCreateSnapshot(int userId, int uid) { in getShouldCreateSnapshot() method in RecoverableKeyStoreDb