Home
last modified time | relevance | path

Searched refs:topic6 (Results 1 – 5 of 5) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEpochManagerTest.java178 Topic topic6 = Topic.create(/* topic */ 6, TAXONOMY_VERSION, MODEL_VERSION); in testComputeCallersCanLearnMap() local
184 appClassificationTopicsMap.put("app4", Arrays.asList(topic5, topic6)); in testComputeCallersCanLearnMap()
211 expectedCallerCanLearnMap.put(topic6, new HashSet<>(Collections.singletonList("app4"))); in testComputeCallersCanLearnMap()
256 Topic topic6 = Topic.create(/* topic */ 6, TAXONOMY_VERSION, MODEL_VERSION); in testSelectRandomTopic() local
258 List<Topic> topTopics = Arrays.asList(topic1, topic2, topic3, topic4, topic5, topic6); in testSelectRandomTopic()
261 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic6); in testSelectRandomTopic()
349 Topic topic6 = Topic.create(/* topic */ 6, TAXONOMY_VERSION, MODEL_VERSION); in testComputeReturnedAppTopics() local
350 List<Topic> topTopics = Arrays.asList(topic1, topic2, topic3, topic4, topic5, topic6); in testComputeReturnedAppTopics()
374 callersCanLearnMap.put(topic6, new HashSet<>(Collections.singletonList("app4"))); in testComputeReturnedAppTopics()
389 expectedReturnedTopics.put(Pair.create("app1", ""), topic6); in testComputeReturnedAppTopics()
[all …]
DAppUpdateManagerTest.java255 Topic topic6 = Topic.create(6, TAXONOMY_VERSION, MODEL_VERSION); in testReconcileUninstalledApps_handleTopicsWithoutContributor() local
271 epoch1, List.of(topic1, topic2, topic3, topic4, topic5, topic6)); in testReconcileUninstalledApps_handleTopicsWithoutContributor()
273 epoch2, List.of(topic1, topic2, topic3, topic4, topic5, topic6)); in testReconcileUninstalledApps_handleTopicsWithoutContributor()
331 Topic topic6 = Topic.create(6, TAXONOMY_VERSION, MODEL_VERSION); in testReconcileUninstalledApps_contributorDeletionsToSameTopic() local
345 epoch1, List.of(topic1, topic2, topic3, topic4, topic5, topic6)); in testReconcileUninstalledApps_contributorDeletionsToSameTopic()
661 Topic topic6 = Topic.create(/* topic */ 6, TAXONOMY_VERSION, MODEL_VERSION); in testReconcileInstalledApps() local
662 List<Topic> topTopics = List.of(topic1, topic2, topic3, topic4, topic5, topic6); in testReconcileInstalledApps()
693 currentEpochId - 3, Map.of(Pair.create(app2, EMPTY_SDK), topic6)); in testReconcileInstalledApps()
722 Topic topic6 = Topic.create(/* topic */ 6, TAXONOMY_VERSION, MODEL_VERSION); in testSelectAssignedTopicFromTopTopics() local
725 List<Topic> randomTopics = List.of(topic6); in testSelectAssignedTopicFromTopTopics()
[all …]
DTopicsWorkerTest.java1061 Topic topic6 = Topic.create(/* topic */ 6, taxonomyVersion, modelVersion); in testReconcileApplicationUpdate() local
1062 List<Topic> topTopics = List.of(topic1, topic2, topic3, topic4, topic5, topic6); in testReconcileApplicationUpdate()
1110 Topic[] topics2 = {topic4, topic5, topic6}; in testReconcileApplicationUpdate()
1344 Topic topic6 = Topic.create(/* topic */ 6, taxonomyVersion, modelVersion); in testHandleAppUninstallation_handleTopTopicsWithoutContributors() local
1351 epochId1, List.of(topic1, topic2, topic3, topic4, topic5, topic6)); in testHandleAppUninstallation_handleTopTopicsWithoutContributors()
1353 epochId2, List.of(topic1, topic2, topic3, topic4, topic5, topic6)); in testHandleAppUninstallation_handleTopTopicsWithoutContributors()
1355 epochId3, List.of(topic1, topic2, topic3, topic4, topic5, topic6)); in testHandleAppUninstallation_handleTopTopicsWithoutContributors()
1491 Topic topic6 = Topic.create(/* topic */ 6, taxonomyVersion, modelVersion); in testHandleAppUninstallation_contributorDeletionsToSameTopic() local
1498 epochId1, List.of(topic1, topic2, topic3, topic4, topic5, topic6)); in testHandleAppUninstallation_contributorDeletionsToSameTopic()
1601 Topic topic6 = Topic.create(/* topic */ 6, taxonomyVersion, modelVersion); in testHandleAppInstallation() local
[all …]
DCacheManagerTest.java1791 Topic topic6 = in testClearAllTopicsData() local
1830 epochId, List.of(topic1, topic2, topic3, topic4, topic5, topic6)); in testClearAllTopicsData()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/
DTopicsDaoTest.java155 Topic topic6 = Topic.create(/* topic */ 6, TAXONOMY_VERSION, MODEL_VERSION); in testGetTopTopicsAndPersistTopics() local
156 List<Topic> topTopics = Arrays.asList(topic1, topic2, topic3, topic4, topic5, topic6); in testGetTopTopicsAndPersistTopics()
164 Arrays.asList(topic1, topic2, topic3, topic4, topic5, topic6); in testGetTopTopicsAndPersistTopics()
176 Topic topic6 = Topic.create(/* topic */ 6, TAXONOMY_VERSION, MODEL_VERSION); in testGetTopTopicsAndPersistTopics_notFoundEpochId() local
177 List<Topic> topTopics = Arrays.asList(topic1, topic2, topic3, topic4, topic5, topic6); in testGetTopTopicsAndPersistTopics_notFoundEpochId()
192 Topic topic6 = Topic.create(/* topic */ 6, TAXONOMY_VERSION, MODEL_VERSION); in testGetTopTopicsAndPersistTopics_invalidSize() local
193 List<Topic> topTopics = Arrays.asList(topic1, topic2, topic3, topic6); in testGetTopTopicsAndPersistTopics_invalidSize()
216 Topic topic6 = Topic.create(/* topic */ 6, TAXONOMY_VERSION, MODEL_VERSION); in testGetTopTopicsAndPersistTopics_multiPersistWithSameEpoch() local
217 List<Topic> topTopics = Arrays.asList(topic1, topic2, topic3, topic4, topic5, topic6); in testGetTopTopicsAndPersistTopics_multiPersistWithSameEpoch()
223 Arrays.asList(topic1, topic2, topic3, topic4, topic5, topic6); in testGetTopTopicsAndPersistTopics_multiPersistWithSameEpoch()
[all …]