Home
last modified time | relevance | path

Searched refs:mRecoverySessionStorage (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManagerTest.java166 private RecoverySessionStorage mRecoverySessionStorage; field in RecoverableKeyStoreManagerTest
178 mRecoverySessionStorage = new RecoverySessionStorage(); in setUp()
192 mRecoverySessionStorage, in setUp()
733 assertEquals(1, mRecoverySessionStorage.size()); in startRecoverySessionWithCertPath_storesTheSessionInfo()
735 mRecoverySessionStorage.get(Binder.getCallingUid(), TEST_SESSION_ID); in startRecoverySessionWithCertPath_storesTheSessionInfo()
764 assertEquals(1, mRecoverySessionStorage.size()); in startRecoverySession_storesTheSessionInfo()
766 mRecoverySessionStorage.get(Binder.getCallingUid(), TEST_SESSION_ID); in startRecoverySession_storesTheSessionInfo()
782 assertEquals(0, mRecoverySessionStorage.size()); in closeSession_closesASession()
796 assertEquals(1, mRecoverySessionStorage.size()); in closeSession_doesNotCloseUnrelatedSessions()
962 byte[] keyClaimant = mRecoverySessionStorage.get(Binder.getCallingUid(), TEST_SESSION_ID) in recoverKeyChainSnapshot_throwsIfFailedToDecryptAllApplicationKeys()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManager.java96 private final RecoverySessionStorage mRecoverySessionStorage; field in RecoverableKeyStoreManager
163 mRecoverySessionStorage = recoverySessionStorage; in RecoverableKeyStoreManager()
515 mRecoverySessionStorage.add( in startRecoverySession()
609 RecoverySessionStorage.Entry sessionEntry = mRecoverySessionStorage.get(uid, sessionId); in recoverKeyChainSnapshot()
627 mRecoverySessionStorage.remove(uid); in recoverKeyChainSnapshot()
670 mRecoverySessionStorage.remove(Binder.getCallingUid(), sessionId); in closeSession()