Home
last modified time | relevance | path

Searched refs:mSecureRandom (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/
DChunkEncryptor.java40 private final SecureRandom mSecureRandom; field in ChunkEncryptor
48 this.mSecureRandom = secureRandom; in ChunkEncryptor()
89 mSecureRandom.nextBytes(nonce); in generateNonce()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/keys/
DRecoverableKeyStoreSecondaryKeyManager.java53 private final SecureRandom mSecureRandom; field in RecoverableKeyStoreSecondaryKeyManager
59 mSecureRandom = secureRandom; in RecoverableKeyStoreSecondaryKeyManager()
111 mSecureRandom.nextBytes(id); in generateId()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/keys/
DTertiaryKeyManagerTest.java54 private SecureRandom mSecureRandom; field in TertiaryKeyManagerTest
63 mSecureRandom = new SecureRandom(); in setUp()
66 RecoveryController.getInstance(application), mSecureRandom) in setUp()
74 mSecureRandom, in createNewManager()
/frameworks/base/packages/BackupEncryption/test/robolectric-integration/src/com/android/server/backup/encryption/
DRoundTripTest.java109 private final SecureRandom mSecureRandom = new SecureRandom(); field in RoundTripTest
131 RecoveryController.getInstance(mContext), mSecureRandom); in setUp()
171 mSecureRandom, in performNonIncrementalKeyValueBackup()
190 mSecureRandom, in performFullBackup()
245 mSecureRandom, in getTertiaryKey()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DEncryptedFullBackupTask.java77 private final SecureRandom mSecureRandom; field in EncryptedFullBackupTask
128 mSecureRandom = secureRandom; in EncryptedFullBackupTask()
158 mSecureRandom.nextBytes(fingerprintMixerSalt); in call()
DEncryptedFullBackupDataProcessor.java53 private final SecureRandom mSecureRandom; field in EncryptedFullBackupDataProcessor
73 mSecureRandom = Objects.requireNonNull(secureRandom); in EncryptedFullBackupDataProcessor()
89 mSecureRandom, in initiate()
DEncryptedBackupTask.java69 private final SecureRandom mSecureRandom; field in EncryptedBackupTask
82 mSecureRandom = secureRandom; in EncryptedBackupTask()
240 mSecureRandom.nextBytes(nonce); in generateNonce()
/frameworks/base/core/java/android/util/
DHashedStringCache.java54 private final SecureRandom mSecureRandom; field in HashedStringCache
66 mSecureRandom = new SecureRandom(); in HashedStringCache()
166 mSecureRandom.nextBytes(saltBytes); in populateSaltValues()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DEncryptedFullBackupTaskTest.java74 @Mock private SecureRandom mSecureRandom; field in EncryptedFullBackupTaskTest
120 .when(mSecureRandom) in setUp()
130 mSecureRandom); in setUp()
/frameworks/base/services/core/java/com/android/server/media/metrics/
DMediaMetricsManagerService.java69 private final SecureRandom mSecureRandom; field in MediaMetricsManagerService
91 mSecureRandom = new SecureRandom(); in MediaMetricsManagerService()
199 mSecureRandom.nextBytes(byteId); in getSessionIdInternal()