Home
last modified time | relevance | path

Searched refs:modelVersion (Results 1 – 13 of 13) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/
DTopic.java79 long modelVersion) { in create() argument
82 .setModelVersion(modelVersion) in create()
100 long modelVersion, in create() argument
104 .setModelVersion(modelVersion) in create()
120 public abstract Builder setModelVersion(long modelVersion); in setModelVersion() argument
DTopicsDao.java199 long modelVersion = in retrieveAppClassificationTopics() local
208 Topic topic = Topic.create(topicId, taxonomyVersion, modelVersion); in retrieveAppClassificationTopics()
329 long modelVersion = in retrieveTopTopics() local
333 Topic topic1 = Topic.create(topicId1, taxonomyVersion, modelVersion); in retrieveTopTopics()
334 Topic topic2 = Topic.create(topicId2, taxonomyVersion, modelVersion); in retrieveTopTopics()
335 Topic topic3 = Topic.create(topicId3, taxonomyVersion, modelVersion); in retrieveTopTopics()
336 Topic topic4 = Topic.create(topicId4, taxonomyVersion, modelVersion); in retrieveTopTopics()
337 Topic topic5 = Topic.create(topicId5, taxonomyVersion, modelVersion); in retrieveTopTopics()
338 Topic randomTopic = Topic.create(randomTopicId, taxonomyVersion, modelVersion); in retrieveTopTopics()
665 long modelVersion = in retrieveCallerCanLearnTopicsMap() local
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DTopicMapperTest.java57 long modelVersion = 1L; in getResourceIdByTopicTest() local
64 Topic.create(topicId, taxonomyId, modelVersion), mContext); in getResourceIdByTopicTest()
75 long modelVersion = 1L; in getResourceIdsByTopicListTest() local
78 Topic firstTopic = Topic.create(firstTopicId, taxonomyId, modelVersion); in getResourceIdsByTopicListTest()
79 Topic secondTopic = Topic.create(secondTopicId, taxonomyId, modelVersion); in getResourceIdsByTopicListTest()
DTopicsWorkerTest.java1051 final long modelVersion = 1L; in testReconcileApplicationUpdate() local
1056 Topic topic1 = Topic.create(/* topic */ 1, taxonomyVersion, modelVersion); in testReconcileApplicationUpdate()
1057 Topic topic2 = Topic.create(/* topic */ 2, taxonomyVersion, modelVersion); in testReconcileApplicationUpdate()
1058 Topic topic3 = Topic.create(/* topic */ 3, taxonomyVersion, modelVersion); in testReconcileApplicationUpdate()
1059 Topic topic4 = Topic.create(/* topic */ 4, taxonomyVersion, modelVersion); in testReconcileApplicationUpdate()
1060 Topic topic5 = Topic.create(/* topic */ 5, taxonomyVersion, modelVersion); in testReconcileApplicationUpdate()
1061 Topic topic6 = Topic.create(/* topic */ 6, taxonomyVersion, modelVersion); in testReconcileApplicationUpdate()
1184 .setModelVersions(Arrays.asList(modelVersion, modelVersion, modelVersion)) in testReconcileApplicationUpdate()
1222 .setModelVersions(Arrays.asList(modelVersion, modelVersion, modelVersion)) in testReconcileApplicationUpdate()
1333 final long modelVersion = 1L; in testHandleAppUninstallation_handleTopTopicsWithoutContributors() local
[all …]
DAppUpdateManagerTest.java873 final long modelVersion = 1L; in testAssignTopicsToSdkForAppInstallation() local
878 Topic topic1 = Topic.create(/* topic */ 1, taxonomyVersion, modelVersion); in testAssignTopicsToSdkForAppInstallation()
879 Topic topic2 = Topic.create(/* topic */ 2, taxonomyVersion, modelVersion); in testAssignTopicsToSdkForAppInstallation()
880 Topic topic3 = Topic.create(/* topic */ 3, taxonomyVersion, modelVersion); in testAssignTopicsToSdkForAppInstallation()
/packages/modules/NeuralNetworks/runtime/test/
DTestCompliance.cpp49 const auto modelVersion = validate(model); in testAvailableSinceVersion() local
50 ASSERT_TRUE(modelVersion.ok()) << modelVersion.error(); in testAvailableSinceVersion()
51 ASSERT_EQ(testVersion, modelVersion.value()); in testAvailableSinceVersion()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/topics/
DTopicParcel.java105 public TopicParcel.Builder setModelVersion(long modelVersion) { in setModelVersion() argument
106 mModelVersion = modelVersion; in setModelVersion()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/
DCommonClassifierHelper.java206 long modelVersion = 0L; in getRandomTopics() local
210 modelVersion = firstTopic.getModelVersion(); in getRandomTopics()
225 Topic randTopic = Topic.create(randTopicId, taxonomyVersion, modelVersion); in getRandomTopics()
DOnDeviceClassifier.java260 String modelVersion = mBertNLClassifier.getModelVersion(); in getBertModelVersion() local
261 if (modelVersion.equals(NO_VERSION_INFO)) { in getBertModelVersion()
265 return Long.parseLong(modelVersion); in getBertModelVersion()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DUserInstanceManagerTest.java214 final long modelVersion = 1L; in testDeleteAllDataWhenDeletingUserInstance() local
215 Topic topicToBlock1 = new Topic(taxonomyVersion, modelVersion, topicId1); in testDeleteAllDataWhenDeletingUserInstance()
216 Topic topicToBlock2 = new Topic(taxonomyVersion, modelVersion, topicId2); in testDeleteAllDataWhenDeletingUserInstance()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/
DTopicsDaoTest.java759 long modelVersion = 1L; in testRecordBlockedTopicAndRetrieveBlockedTopics() local
760 Topic topicToBlock = Topic.create(topicId, taxonomyVersion, modelVersion); in testRecordBlockedTopicAndRetrieveBlockedTopics()
774 long modelVersion = 1L; in testRecordBlockedTopicAndRemoveBlockedTopic() local
775 Topic topicToBlock = Topic.create(topicId, taxonomyVersion, modelVersion); in testRecordBlockedTopicAndRemoveBlockedTopic()
1245 long modelVersion = 1L; in testDeleteFromTableByColumn_mismatchedTableAndColumnName() local
1249 Topic topic1 = Topic.create(/* topic */ 1, taxonomyVersion, modelVersion); in testDeleteFromTableByColumn_mismatchedTableAndColumnName()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentManagerV2Test.java1872 long modelVersion = 1L; in testGetKnownTopicsWithConsent() local
1873 Topic topic1 = Topic.create(1, taxonomyVersion, modelVersion); in testGetKnownTopicsWithConsent()
1874 Topic topic2 = Topic.create(2, taxonomyVersion, modelVersion); in testGetKnownTopicsWithConsent()
1889 long modelVersion = 1L; in testGetTopicsWithRevokedConsent() local
1890 Topic topic1 = Topic.create(1, taxonomyVersion, modelVersion); in testGetTopicsWithRevokedConsent()
1891 Topic topic2 = Topic.create(2, taxonomyVersion, modelVersion); in testGetTopicsWithRevokedConsent()
DConsentManagerTest.java1946 long modelVersion = 1L; in testGetKnownTopicsWithConsent() local
1947 Topic topic1 = Topic.create(1, taxonomyVersion, modelVersion); in testGetKnownTopicsWithConsent()
1948 Topic topic2 = Topic.create(2, taxonomyVersion, modelVersion); in testGetKnownTopicsWithConsent()
1963 long modelVersion = 1L; in testGetTopicsWithRevokedConsent() local
1964 Topic topic1 = Topic.create(1, taxonomyVersion, modelVersion); in testGetTopicsWithRevokedConsent()
1965 Topic topic2 = Topic.create(2, taxonomyVersion, modelVersion); in testGetTopicsWithRevokedConsent()