Home
last modified time | relevance | path

Searched refs:MODEL_VERSION (Results 1 – 11 of 11) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEpochManagerTest.java92 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 …]
DAppUpdateManagerTest.java75 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 …]
DTopicsJsonMapperTest.java38 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()
DBlockedTopicsManagerTest.java79 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/
DTopicsDaoTest.java69 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/
DTopicsTables.java36 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 …]
DTopicsDao.java136 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/
DBlockedTopicsManagerTest.java44 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()
DAdServicesManagerServiceTest.java114 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/
DSdk1.java46 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/
DTopicsDbHelperV7.java99 + TopicsTables.ReturnedTopicContract.MODEL_VERSION