Home
last modified time | relevance | path

Searched refs:setShouldCreateSnapshot (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
H A DRecoverableKeyGenerator.java113 long updatedRows = mDatabase.setShouldCreateSnapshot(userId, uid, true); in generateAndStoreKey()
157 mDatabase.setShouldCreateSnapshot(userId, uid, true); in importKey()
H A DKeySyncTask.java387 mRecoverableKeyStoreDb.setShouldCreateSnapshot(mUserId, recoveryAgentUid, false); in syncKeysForAgent()
448 mRecoverableKeyStoreDb.setShouldCreateSnapshot(mUserId, recoveryAgentUid, true); in shouldCreateSnapshot()
H A DRecoverableKeyStoreManager.java298 mDatabase.setShouldCreateSnapshot(userId, uid, true); in initRecoveryService()
415 mDatabase.setShouldCreateSnapshot(userId, uid, true); in setServerParams()
481 mDatabase.setShouldCreateSnapshot(userId, uid, true); in setRecoverySecretTypes()
712 mDatabase.setShouldCreateSnapshot(userId, uid, true); in removeKey()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
H A DRecoverableKeyStoreManagerTest.java358 mRecoverableKeyStoreDb.setShouldCreateSnapshot(userId, uid, false); in removeKey_updatesShouldCreateSnapshot()
369 mRecoverableKeyStoreDb.setShouldCreateSnapshot(userId, uid, false); in removeKey_failureDoesNotUpdateShouldCreateSnapshot()
382 mRecoverableKeyStoreDb.setShouldCreateSnapshot(userId, uid, false); in initRecoveryService_succeedsWithCertFile()
404 mRecoverableKeyStoreDb.setShouldCreateSnapshot(userId, uid, false); in initRecoveryService_updatesShouldCreatesnapshotOnCertUpdate()
432 mRecoverableKeyStoreDb.setShouldCreateSnapshot(userId, uid, false); in initRecoveryService_triesToFilterRootAlias()
454 mRecoverableKeyStoreDb.setShouldCreateSnapshot(userId, uid, false); in initRecoveryService_usesProdCertificateForEmptyRootAlias()
475 mRecoverableKeyStoreDb.setShouldCreateSnapshot(userId, uid, false); in initRecoveryService_usesProdCertificateForNullRootAlias()
625 mRecoverableKeyStoreDb.setShouldCreateSnapshot(userId, uid, false); in initRecoveryService_throwsIfRawPublicKey()
659 mRecoverableKeyStoreDb.setShouldCreateSnapshot(userId, uid, false); in initRecoveryServiceWithSigFile_succeeds()
676 mRecoverableKeyStoreDb.setShouldCreateSnapshot(userId, uid, false); in initRecoveryServiceWithSigFile_usesProdCertificateForNullRootAlias()
[all …]
H A DKeySyncTaskTest.java605 mRecoverableKeyStoreDb.setShouldCreateSnapshot(TEST_USER_ID, TEST_RECOVERY_AGENT_UID, true); in run_setsCorrectSnapshotVersion()
823 mRecoverableKeyStoreDb.setShouldCreateSnapshot(userId, recoveryAgentUid, true); in addApplicationKey()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
H A DRecoverableKeyStoreDbTest.java903 mRecoverableKeyStoreDb.setShouldCreateSnapshot(userId, uid, value1); in setShouldCreateSnapshot_defaultValueAndTwoUpdates()
905 mRecoverableKeyStoreDb.setShouldCreateSnapshot(userId, uid, value2); in setShouldCreateSnapshot_defaultValueAndTwoUpdates()
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
H A DRecoverableKeyStoreDb.java937 public long setShouldCreateSnapshot(int userId, int uid, boolean pending) { in setShouldCreateSnapshot() method in RecoverableKeyStoreDb