/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | EpochManagerTest.java | 91 private static final long TAXONOMY_VERSION = 1L; field in EpochManagerTest 173 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testComputeCallersCanLearnMap() 174 Topic topic2 = Topic.create(/* topic */ 2, TAXONOMY_VERSION, MODEL_VERSION); in testComputeCallersCanLearnMap() 175 Topic topic3 = Topic.create(/* topic */ 3, TAXONOMY_VERSION, MODEL_VERSION); in testComputeCallersCanLearnMap() 176 Topic topic4 = Topic.create(/* topic */ 4, TAXONOMY_VERSION, MODEL_VERSION); in testComputeCallersCanLearnMap() 177 Topic topic5 = Topic.create(/* topic */ 5, TAXONOMY_VERSION, MODEL_VERSION); in testComputeCallersCanLearnMap() 178 Topic topic6 = Topic.create(/* topic */ 6, TAXONOMY_VERSION, MODEL_VERSION); in testComputeCallersCanLearnMap() 251 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testSelectRandomTopic() 252 Topic topic2 = Topic.create(/* topic */ 2, TAXONOMY_VERSION, MODEL_VERSION); in testSelectRandomTopic() 253 Topic topic3 = Topic.create(/* topic */ 3, TAXONOMY_VERSION, MODEL_VERSION); in testSelectRandomTopic() [all …]
|
D | AppUpdateManagerTest.java | 74 private static final long TAXONOMY_VERSION = 1L; field in AppUpdateManagerTest 130 Topic topic1 = Topic.create(topicId1, TAXONOMY_VERSION, MODEL_VERSION); in testReconcileUninstalledApps() 250 Topic topic1 = Topic.create(1, TAXONOMY_VERSION, MODEL_VERSION); in testReconcileUninstalledApps_handleTopicsWithoutContributor() 251 Topic topic2 = Topic.create(2, TAXONOMY_VERSION, MODEL_VERSION); in testReconcileUninstalledApps_handleTopicsWithoutContributor() 252 Topic topic3 = Topic.create(3, TAXONOMY_VERSION, MODEL_VERSION); in testReconcileUninstalledApps_handleTopicsWithoutContributor() 253 Topic topic4 = Topic.create(4, TAXONOMY_VERSION, MODEL_VERSION); in testReconcileUninstalledApps_handleTopicsWithoutContributor() 254 Topic topic5 = Topic.create(5, TAXONOMY_VERSION, MODEL_VERSION); in testReconcileUninstalledApps_handleTopicsWithoutContributor() 255 Topic topic6 = Topic.create(6, TAXONOMY_VERSION, MODEL_VERSION); in testReconcileUninstalledApps_handleTopicsWithoutContributor() 326 Topic topic1 = Topic.create(1, TAXONOMY_VERSION, MODEL_VERSION); in testReconcileUninstalledApps_contributorDeletionsToSameTopic() 327 Topic topic2 = Topic.create(2, TAXONOMY_VERSION, MODEL_VERSION); in testReconcileUninstalledApps_contributorDeletionsToSameTopic() [all …]
|
D | TopicsJsonMapperTest.java | 39 private static final long TAXONOMY_VERSION = 2L; field in TopicsJsonMapperTest 41 Topic.create(TOPIC_ID, TAXONOMY_VERSION, MODEL_VERSION); 53 assertThat(topicJson.getInt(KEY_TAXONOMY_VERSION)).isEqualTo(TAXONOMY_VERSION); in getTopicJson() 64 TAXONOMY_VERSION)); in getTopicJson() 78 TAXONOMY_VERSION)); in getTopicJson_deserialization()
|
D | BlockedTopicsManagerTest.java | 78 private static final long TAXONOMY_VERSION = 1L; field in BlockedTopicsManagerTest 81 Topic.create(/* topicId */ 1, TAXONOMY_VERSION, MODEL_VERSION);
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/ |
D | TopicsDaoTest.java | 68 private static final long TAXONOMY_VERSION = 1L; field in TopicsDaoTest 105 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testPersistAndGetAppClassificationTopics() 106 Topic topic2 = Topic.create(/* topic */ 2, TAXONOMY_VERSION, MODEL_VERSION); in testPersistAndGetAppClassificationTopics() 150 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testGetTopTopicsAndPersistTopics() 151 Topic topic2 = Topic.create(/* topic */ 2, TAXONOMY_VERSION, MODEL_VERSION); in testGetTopTopicsAndPersistTopics() 152 Topic topic3 = Topic.create(/* topic */ 3, TAXONOMY_VERSION, MODEL_VERSION); in testGetTopTopicsAndPersistTopics() 153 Topic topic4 = Topic.create(/* topic */ 4, TAXONOMY_VERSION, MODEL_VERSION); in testGetTopTopicsAndPersistTopics() 154 Topic topic5 = Topic.create(/* topic */ 5, TAXONOMY_VERSION, MODEL_VERSION); in testGetTopTopicsAndPersistTopics() 155 Topic topic6 = Topic.create(/* topic */ 6, TAXONOMY_VERSION, MODEL_VERSION); in testGetTopTopicsAndPersistTopics() 171 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testGetTopTopicsAndPersistTopics_notFoundEpochId() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/ |
D | TopicsTables.java | 35 String TAXONOMY_VERSION = "taxonomy_version"; field 48 + TaxonomyContract.TAXONOMY_VERSION 66 String TAXONOMY_VERSION = "taxonomy_version"; field 83 + AppClassificationTopicsContract.TAXONOMY_VERSION 101 String TAXONOMY_VERSION = "taxonomy_version"; field 119 + CallerCanLearnTopicsContract.TAXONOMY_VERSION 142 String TAXONOMY_VERSION = "taxonomy_version"; field 168 + TopTopicsContract.TAXONOMY_VERSION 184 String TAXONOMY_VERSION = "taxonomy_version"; field 216 + ReturnedTopicContract.TAXONOMY_VERSION [all …]
|
D | TopicsDao.java | 133 TopicsTables.AppClassificationTopicsContract.TAXONOMY_VERSION, in persistAppClassificationTopics() 171 TopicsTables.AppClassificationTopicsContract.TAXONOMY_VERSION, in retrieveAppClassificationTopics() 198 .TAXONOMY_VERSION)); in retrieveAppClassificationTopics() 247 TopicsTables.TopTopicsContract.TAXONOMY_VERSION, in persistTopTopics() 283 TopicsTables.TopTopicsContract.TAXONOMY_VERSION, in retrieveTopTopics() 328 TopicsTables.TopTopicsContract.TAXONOMY_VERSION)); in retrieveTopTopics() 574 TopicsTables.CallerCanLearnTopicsContract.TAXONOMY_VERSION, in persistCallerCanLearnTopics() 621 TopicsTables.CallerCanLearnTopicsContract.TAXONOMY_VERSION, in retrieveCallerCanLearnTopicsMap() 664 .TAXONOMY_VERSION)); in retrieveCallerCanLearnTopicsMap() 703 TopicsTables.ReturnedTopicContract.TAXONOMY_VERSION, in persistReturnedAppTopicsMap() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/ |
D | BlockedTopicsManagerTest.java | 43 private static final long TAXONOMY_VERSION = 1L; field in BlockedTopicsManagerTest 73 .setTaxonomyVersion(TAXONOMY_VERSION) in testRecordAndRetrieveBlockedTopic() 91 .setTaxonomyVersion(TAXONOMY_VERSION) in testRecordAndRemoveBlockedTopic() 114 .setTaxonomyVersion(TAXONOMY_VERSION) in testClearAllBlockedTopics() 120 .setTaxonomyVersion(TAXONOMY_VERSION) in testClearAllBlockedTopics() 151 .setTaxonomyVersion(TAXONOMY_VERSION) in testDump_blockedTopics() 172 + TAXONOMY_VERSION in testDump_blockedTopics()
|
D | AdServicesManagerServiceTest.java | 113 private static final long TAXONOMY_VERSION = 1L; field in AdServicesManagerServiceTest 400 .setTaxonomyVersion(TAXONOMY_VERSION) in testClearAllBlockedTopics() 809 .setTaxonomyVersion(TAXONOMY_VERSION) in testRecordAndRetrieveBlockedTopic() 830 .setTaxonomyVersion(TAXONOMY_VERSION) in testRecordAndRemoveBlockedTopic()
|
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/data/topics/ |
D | TopicsDaoTest.java | 39 private static final long TAXONOMY_VERSION = 1L; field in TopicsDaoTest 61 Topic topicToBlock = new Topic(TAXONOMY_VERSION, DUMMY_MODEL_VERSION, topicId); in testRecordBlockedTopicAndRetrieveBlockedTopics() 81 Topic topicToBlock = new Topic(TAXONOMY_VERSION, DUMMY_MODEL_VERSION, topicId); in testRecordBlockedTopicAndRetrieveBlockedTopics_duplicateTopics() 98 Topic topicToBlock = new Topic(TAXONOMY_VERSION, DUMMY_MODEL_VERSION, topicId); in testRecordBlockedTopicAndRemoveBlockedTopic() 123 Topic topicToBlock = new Topic(TAXONOMY_VERSION, DUMMY_MODEL_VERSION, topicId); in testRecordBlockedTopicAndRemoveBlockedTopic_duplicateTopics() 146 Topic topicToBlock = new Topic(TAXONOMY_VERSION, DUMMY_MODEL_VERSION, topicId); in testRecordBlockedTopicAndRemoveBlockedTopic_notExistedTopic() 161 Topic topicToBlock1 = new Topic(TAXONOMY_VERSION, DUMMY_MODEL_VERSION, topicId1); in testClearAllBlockedTopicsOfUser() 162 Topic topicToBlock2 = new Topic(TAXONOMY_VERSION, DUMMY_MODEL_VERSION, topicId2); in testClearAllBlockedTopicsOfUser()
|
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/data/topics/ |
D | TopicsTables.java | 42 String TAXONOMY_VERSION = "taxonomy_version"; field 57 + BlockedTopicsContract.TAXONOMY_VERSION
|
D | TopicsDao.java | 88 TopicsTables.BlockedTopicsContract.TAXONOMY_VERSION, in recordBlockedTopic() 124 + TopicsTables.BlockedTopicsContract.TAXONOMY_VERSION in removeBlockedTopic() 172 TopicsTables.BlockedTopicsContract.TAXONOMY_VERSION)); in retrieveAllBlockedTopics()
|
/packages/modules/AdServices/adservices/tests/cts/sandbox/topics/providers/sdk1/src/com/android/tests/providers/sdk1/ |
D | Sdk1.java | 45 private static final long TAXONOMY_VERSION = 2L; field in Sdk1 69 && topic.getTaxonomyVersion() == TAXONOMY_VERSION in onLoadSdk()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/migration/ |
D | TopicsDbHelperV7.java | 97 + TopicsTables.ReturnedTopicContract.TAXONOMY_VERSION
|