Home
last modified time | relevance | path

Searched refs:CombinedTopic (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/
DCombinedTopic.java30 public abstract class CombinedTopic { class
49 public static CombinedTopic create(Topic topic, EncryptedTopic encryptedTopic) { in create()
60 public static CombinedTopic.Builder builder() { in builder()
68 public abstract CombinedTopic.Builder setTopic(Topic topic); in setTopic()
71 public abstract CombinedTopic.Builder setEncryptedTopic(EncryptedTopic encryptedTopic); in setEncryptedTopic()
75 public abstract CombinedTopic build(); in build()
81 if (!(object instanceof CombinedTopic)) return false; in equals()
82 CombinedTopic combinedTopic = (CombinedTopic) object; in equals()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DCacheManager.java33 import com.android.adservices.data.topics.CombinedTopic;
232 public List<CombinedTopic> getTopics( in getTopics()
241 List<CombinedTopic> combinedTopics = new ArrayList<>(); in getTopics()
276 CombinedTopic combinedTopic = CombinedTopic.create(topic, encryptedTopic); in getTopics()
339 public List<CombinedTopic> getTopics( in getTopics()
DTopicsWorker.java31 import com.android.adservices.data.topics.CombinedTopic;
204 List<CombinedTopic> combinedTopics = in getTopics()
218 for (CombinedTopic combinedTopic : combinedTopics) { in getTopics()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DCacheManagerTest.java40 import com.android.adservices.data.topics.CombinedTopic;
1018 List<CombinedTopic> combinedTopics1 = in testGetTopics_enableEncryption_success()
1025 List<CombinedTopic> combinedTopics2 = in testGetTopics_enableEncryption_success()
1104 List<CombinedTopic> combinedTopics1 = in testGetTopics_enableEncryption_missingEncryptedTopics()
1111 CombinedTopic.create(topic1, encryptedTopic1), in testGetTopics_enableEncryption_missingEncryptedTopics()
1112 CombinedTopic.create(topic2, EncryptedTopic.getDefaultInstance())); in testGetTopics_enableEncryption_missingEncryptedTopics()
1114 List<CombinedTopic> combinedTopics2 = in testGetTopics_enableEncryption_missingEncryptedTopics()
1122 CombinedTopic.create(topic1, EncryptedTopic.getDefaultInstance()), in testGetTopics_enableEncryption_missingEncryptedTopics()
1123 CombinedTopic.create(topic2, EncryptedTopic.getDefaultInstance())); in testGetTopics_enableEncryption_missingEncryptedTopics()
1886 private static List<Topic> extractTopics(List<CombinedTopic> combinedTopics) { in extractTopics()
[all …]