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/topics/src/com/android/adservices/service/topics/
DEncryptionManagerTest.java130 Optional<EncryptedTopic> optionalEncryptedTopic = in testEncryption_success() local
134 assertThat(optionalEncryptedTopic.isPresent()).isTrue(); in testEncryption_success()
135 assertThat(optionalEncryptedTopic.get().getEncryptedTopic()).isNotEmpty(); in testEncryption_success()
136 assertThat(optionalEncryptedTopic.get().getKeyIdentifier()).isEqualTo(PUBLIC_KEY_BASE64); in testEncryption_success()
137 assertThat(optionalEncryptedTopic.get().getEncapsulatedKey()).isNotEmpty(); in testEncryption_success()
142 optionalEncryptedTopic.get().getEncapsulatedKey(), in testEncryption_success()
143 optionalEncryptedTopic.get().getEncryptedTopic()); in testEncryption_success()
165 Optional<EncryptedTopic> optionalEncryptedTopic = in testEncryption_verifyLatestKeys() local
169 assertThat(optionalEncryptedTopic.isPresent()).isTrue(); in testEncryption_verifyLatestKeys()
170 assertThat(optionalEncryptedTopic.get().getEncryptedTopic()).isNotEmpty(); in testEncryption_verifyLatestKeys()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DEpochManager.java455 Optional<EncryptedTopic> optionalEncryptedTopic = in encryptTopicsMap() local
458 if (optionalEncryptedTopic.isPresent()) { in encryptTopicsMap()
459 encryptedTopicMap.put(entry.getKey(), optionalEncryptedTopic.get()); in encryptTopicsMap()