Home
last modified time | relevance | path

Searched refs:mEncrypter (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/crypto/
DHpkeEncrypter.java48 private final HpkeEncrypt mEncrypter; field in HpkeEncrypter
87 this.mEncrypter = Objects.requireNonNull(encrypter); in HpkeEncrypter()
174 mEncrypter.encrypt(publicKey, message.toByteArray(), contextInfoBytes); in encrypt()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DEncryptionManager.java64 private Encrypter mEncrypter; field in EncryptionManager
74 mEncrypter = encrypter; in EncryptionManager()
161 mEncrypter.encrypt( in encryptTopicWithKey()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/impl/
DCobaltPeriodicJobImpl.java91 private final Encrypter mEncrypter; field in CobaltPeriodicJobImpl
120 mEncrypter = Objects.requireNonNull(encrypter); in CobaltPeriodicJobImpl()
231 ObservationBatch batch = observation.encrypt(mEncrypter); in uploadObservations()
268 mEncrypter.encryptEnvelope(buildEnvelope(observationBatches)); in uploadAndRemoveObservationBatches()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEncryptionManagerTest.java122 @Mock private Encrypter mEncrypter; field in EncryptionManagerTest
393 new EncryptionManager(mEncrypter, mEnrollmentDao, mEncryptionKeyDao, mFlags); in testEncryption_nullResponseFromEncrypter()
398 when(mEncrypter.encrypt(any(), any(), any())).thenReturn(null); in testEncryption_nullResponseFromEncrypter()
415 new EncryptionManager(mEncrypter, mEnrollmentDao, mEncryptionKeyDao, mFlags); in testEncryption_smallResponseFromEncrypter()
420 when(mEncrypter.encrypt(any(), any(), any())) in testEncryption_smallResponseFromEncrypter()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/http/
DHttpFederatedProtocol.java87 private final Encrypter mEncrypter; field in HttpFederatedProtocol
105 this.mEncrypter = encrypter; in HttpFederatedProtocol()
492 mEncrypter.encrypt(
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/impl/
DCobaltPeriodicJobImplTest.java270 private Encrypter mEncrypter; field in CobaltPeriodicJobImplTest
314 mEncrypter = new NoOpEncrypter();
327 mEncrypter,