Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEncryptionManagerTest.java145 Optional<EncryptedTopic> optionalEncryptedTopic = in testEncryption_success() local
149 assertThat(optionalEncryptedTopic.isPresent()).isTrue(); in testEncryption_success()
150 assertThat(optionalEncryptedTopic.get().getEncryptedTopic()).isNotEmpty(); in testEncryption_success()
151 assertThat(optionalEncryptedTopic.get().getKeyIdentifier()).isEqualTo(PUBLIC_KEY_BASE64); in testEncryption_success()
152 assertThat(optionalEncryptedTopic.get().getEncapsulatedKey()).isNotEmpty(); in testEncryption_success()
157 optionalEncryptedTopic.get().getEncapsulatedKey(), in testEncryption_success()
158 optionalEncryptedTopic.get().getEncryptedTopic()); in testEncryption_success()
180 Optional<EncryptedTopic> optionalEncryptedTopic = in testEncryption_verifyLatestKeys() local
184 assertThat(optionalEncryptedTopic.isPresent()).isTrue(); in testEncryption_verifyLatestKeys()
185 assertThat(optionalEncryptedTopic.get().getEncryptedTopic()).isNotEmpty(); in testEncryption_verifyLatestKeys()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DEpochManager.java451 Optional<EncryptedTopic> optionalEncryptedTopic = in encryptTopicsMap() local
454 if (optionalEncryptedTopic.isPresent()) { in encryptTopicsMap()
455 encryptedTopicMap.put(entry.getKey(), optionalEncryptedTopic.get()); in encryptTopicsMap()