/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | EpochManagerTest.java | 92 private static final long MODEL_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 | 75 private static final long MODEL_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 | 38 private static final long MODEL_VERSION = 5L; field in TopicsJsonMapperTest 41 Topic.create(TOPIC_ID, TAXONOMY_VERSION, MODEL_VERSION); 52 assertThat(topicJson.getInt(KEY_MODEL_VERSION)).isEqualTo(MODEL_VERSION); in getTopicJson() 63 MODEL_VERSION, in getTopicJson() 77 MODEL_VERSION, in getTopicJson_deserialization()
|
D | BlockedTopicsManagerTest.java | 79 private static final long MODEL_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 | 69 private static final long MODEL_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 | 36 String MODEL_VERSION = "model_version"; field 50 + TaxonomyContract.MODEL_VERSION 67 String MODEL_VERSION = "model_version"; field 85 + AppClassificationTopicsContract.MODEL_VERSION 102 String MODEL_VERSION = "model_version"; field 121 + CallerCanLearnTopicsContract.MODEL_VERSION 143 String MODEL_VERSION = "model_version"; field 170 + TopTopicsContract.MODEL_VERSION 185 String MODEL_VERSION = "model_version"; field 218 + ReturnedTopicContract.MODEL_VERSION [all …]
|
D | TopicsDao.java | 136 TopicsTables.AppClassificationTopicsContract.MODEL_VERSION, in persistAppClassificationTopics() 172 TopicsTables.AppClassificationTopicsContract.MODEL_VERSION, in retrieveAppClassificationTopics() 203 .MODEL_VERSION)); in retrieveAppClassificationTopics() 250 TopicsTables.TopTopicsContract.MODEL_VERSION, topTopics.get(0).getModelVersion()); in persistTopTopics() 284 TopicsTables.TopTopicsContract.MODEL_VERSION in retrieveTopTopics() 332 TopicsTables.TopTopicsContract.MODEL_VERSION)); in retrieveTopTopics() 577 TopicsTables.CallerCanLearnTopicsContract.MODEL_VERSION, in persistCallerCanLearnTopics() 622 TopicsTables.CallerCanLearnTopicsContract.MODEL_VERSION, in retrieveCallerCanLearnTopicsMap() 668 TopicsTables.CallerCanLearnTopicsContract.MODEL_VERSION)); in retrieveCallerCanLearnTopicsMap() 706 TopicsTables.ReturnedTopicContract.MODEL_VERSION, in persistReturnedAppTopicsMap() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/ |
D | BlockedTopicsManagerTest.java | 44 private static final long MODEL_VERSION = 1L; field in BlockedTopicsManagerTest 74 .setModelVersion(MODEL_VERSION) in testRecordAndRetrieveBlockedTopic() 92 .setModelVersion(MODEL_VERSION) in testRecordAndRemoveBlockedTopic() 115 .setModelVersion(MODEL_VERSION) in testClearAllBlockedTopics() 121 .setModelVersion(MODEL_VERSION) in testClearAllBlockedTopics() 152 .setModelVersion(MODEL_VERSION) in testDump_blockedTopics() 170 + MODEL_VERSION in testDump_blockedTopics()
|
D | AdServicesManagerServiceTest.java | 114 private static final long MODEL_VERSION = 1L; field in AdServicesManagerServiceTest 401 .setModelVersion(MODEL_VERSION) in testClearAllBlockedTopics() 810 .setModelVersion(MODEL_VERSION) in testRecordAndRetrieveBlockedTopic() 831 .setModelVersion(MODEL_VERSION) in testRecordAndRemoveBlockedTopic()
|
/packages/modules/AdServices/adservices/tests/cts/sandbox/topics/providers/sdk1/src/com/android/tests/providers/sdk1/ |
D | Sdk1.java | 46 private static final long MODEL_VERSION = 5L; field in Sdk1 70 && topic.getModelVersion() == MODEL_VERSION; in onLoadSdk()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/migration/ |
D | TopicsDbHelperV7.java | 99 + TopicsTables.ReturnedTopicContract.MODEL_VERSION
|