Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEpochManagerTest.java177 Topic topic5 = Topic.create(/* topic */ 5, TAXONOMY_VERSION, MODEL_VERSION); in testComputeCallersCanLearnMap() local
183 appClassificationTopicsMap.put("app3", Arrays.asList(topic4, topic5)); in testComputeCallersCanLearnMap()
184 appClassificationTopicsMap.put("app4", Arrays.asList(topic5, topic6)); in testComputeCallersCanLearnMap()
208 expectedCallerCanLearnMap.put(topic5, new HashSet<>(Arrays.asList("sdk1", "sdk5", "app4"))); in testComputeCallersCanLearnMap()
255 Topic topic5 = Topic.create(/* topic */ 5, TAXONOMY_VERSION, MODEL_VERSION); in testSelectRandomTopic() local
258 List<Topic> topTopics = Arrays.asList(topic1, topic2, topic3, topic4, topic5, topic6); in testSelectRandomTopic()
276 assertThat(epochManager.selectRandomTopic(topTopics)).isEqualTo(topic5); in testSelectRandomTopic()
348 Topic topic5 = Topic.create(/* topic */ 5, TAXONOMY_VERSION, MODEL_VERSION); in testComputeReturnedAppTopics() local
350 List<Topic> topTopics = Arrays.asList(topic1, topic2, topic3, topic4, topic5, topic6); in testComputeReturnedAppTopics()
371 callersCanLearnMap.put(topic5, new HashSet<>(Arrays.asList("sdk1", "sdk5", "app4"))); in testComputeReturnedAppTopics()
[all …]
DCacheManagerTest.java188 Topic topic5 = Topic.create(/* topic */ 5, /* taxonomyVersion */ 1L, /* modelVersion */ 1L); in testGetTopics() local
202 returnedAppSdkTopicsMap1.put(Pair.create("app5", "sdk1"), topic5); in testGetTopics()
203 returnedAppSdkTopicsMap1.put(Pair.create("app5", "sdk5"), topic5); in testGetTopics()
400 .containsExactlyElementsIn(Arrays.asList(topic1, topic5)); in testGetTopics()
448 Topic topic5 = Topic.create(/* topic */ 5, /* taxonomyVersion */ 1L, /* modelVersion */ 1L); in testGetTopics_someTopicsBlocked() local
462 returnedAppSdkTopicsMap1.put(Pair.create("app5", "sdk1"), topic5); in testGetTopics_someTopicsBlocked()
463 returnedAppSdkTopicsMap1.put(Pair.create("app5", "sdk5"), topic5); in testGetTopics_someTopicsBlocked()
674 .containsExactlyElementsIn(Arrays.asList(topic1, topic5)); in testGetTopics_someTopicsBlocked()
1610 Topic topic5 = in testGetTopicsInEpochRange() local
1632 mTopicsDao.persistReturnedAppTopicsMap(epoch2, Map.of(app2Sdk, topic5)); in testGetTopicsInEpochRange()
[all …]
DAppUpdateManagerTest.java254 Topic topic5 = Topic.create(5, 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()
330 Topic topic5 = Topic.create(5, TAXONOMY_VERSION, MODEL_VERSION); in testReconcileUninstalledApps_contributorDeletionsToSameTopic() local
345 epoch1, List.of(topic1, topic2, topic3, topic4, topic5, topic6)); in testReconcileUninstalledApps_contributorDeletionsToSameTopic()
660 Topic topic5 = Topic.create(/* topic */ 5, TAXONOMY_VERSION, MODEL_VERSION); in testReconcileInstalledApps() local
662 List<Topic> topTopics = List.of(topic1, topic2, topic3, topic4, topic5, topic6); in testReconcileInstalledApps()
830 Topic topic5 = Topic.create(/* topic */ 5, TAXONOMY_VERSION, MODEL_VERSION); in testAssignTopicsToNewlyInstalledApps() local
832 List<Topic> topTopics = List.of(topic1, topic2, topic3, topic4, topic5, topic6); in testAssignTopicsToNewlyInstalledApps()
1071 Topic topic5 = Topic.create(/* topic */ 5, TAXONOMY_VERSION, MODEL_VERSION); in testHandleTopTopicsWithoutContributors() local
[all …]
DTopicsWorkerTest.java1060 Topic topic5 = Topic.create(/* topic */ 5, 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()
1343 Topic topic5 = Topic.create(/* topic */ 5, 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()
1490 Topic topic5 = Topic.create(/* topic */ 5, taxonomyVersion, modelVersion); in testHandleAppUninstallation_contributorDeletionsToSameTopic() local
1498 epochId1, List.of(topic1, topic2, topic3, topic4, topic5, topic6)); in testHandleAppUninstallation_contributorDeletionsToSameTopic()
1600 Topic topic5 = Topic.create(/* topic */ 5, taxonomyVersion, modelVersion); in testHandleAppInstallation() local
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/
DTopicsDaoTest.java154 Topic topic5 = Topic.create(/* topic */ 5, 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()
175 Topic topic5 = Topic.create(/* topic */ 5, TAXONOMY_VERSION, MODEL_VERSION); in testGetTopTopicsAndPersistTopics_notFoundEpochId() local
177 List<Topic> topTopics = Arrays.asList(topic1, topic2, topic3, topic4, topic5, topic6); in testGetTopTopicsAndPersistTopics_notFoundEpochId()
215 Topic topic5 = Topic.create(/* topic */ 5, 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()
466 Topic topic5 = Topic.create(/* topic */ 5, TAXONOMY_VERSION, MODEL_VERSION); in testPersistCallerCanLearnTopics() local
488 callerCanLearnMap.put(topic5, new HashSet<>(Arrays.asList("sdk1", "sdk5", "app4"))); in testPersistCallerCanLearnTopics()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/
DTopicsDao.java337 Topic topic5 = Topic.create(topicId5, taxonomyVersion, modelVersion); in retrieveTopTopics() local
339 return Arrays.asList(topic1, topic2, topic3, topic4, topic5, randomTopic); in retrieveTopTopics()