Home
last modified time | relevance | path

Searched refs:getModelVersion (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/
DTopic.java52 public abstract long getModelVersion(); in getModelVersion() method in Topic
140 .setModelVersion(getModelVersion()) in convertTopicToTopicParcel()
165 && getModelVersion() == topic.getModelVersion() in equals()
171 return Objects.hash(getTopic(), getTaxonomyVersion(), getModelVersion()); in hashCode()
DTopicsDao.java137 topic.getModelVersion()); in persistAppClassificationTopics()
250 TopicsTables.TopTopicsContract.MODEL_VERSION, topTopics.get(0).getModelVersion()); in persistTopTopics()
578 topic.getModelVersion()); in persistCallerCanLearnTopics()
707 app.getValue().getModelVersion()); in persistReturnedAppTopicsMap()
1007 values.put(TopicsTables.BlockedTopicsContract.MODEL_VERSION, topic.getModelVersion()); in getContentValuesForBlockedTopic()
1036 String.valueOf(topic.getModelVersion()) in removeBlockedTopic()
/packages/modules/AdServices/adservices/framework/java/android/adservices/topics/
DTopic.java40 public long getModelVersion() { in getModelVersion() method in Topic
60 && getModelVersion() == topic.getModelVersion() in equals()
66 return Objects.hash(getTaxonomyVersion(), getModelVersion(), getTopicId()); in hashCode()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/topics/
DTopicParcel.java79 public long getModelVersion() { in getModelVersion() method in TopicParcel
126 return Objects.hash(getTaxonomyVersion(), getModelVersion(), getTopicId()); in hashCode()
140 && this.getModelVersion() == topicParcel.getModelVersion() in equals()
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/src/com/android/adservices/tests/cts/topics/
DTopicsManagerTest.java209 .that(topic.getModelVersion()) in testTopicsManager_testOnDeviceKillSwitch_shouldUsePrecomputedList()
276 .that(topic.getModelVersion()) in testTopicsManager_runDefaultClassifier()
357 .that(topic.getModelVersion()) in testTopicsManager_runOnDeviceClassifier()
436 .that(topic.getModelVersion()) in testTopicsManager_runPrecomputedClassifier()
507 .that(topic.getModelVersion()) in testTopicsManager_runPrecomputedClassifier_encryptedTopics()
DPreviewApiTest.java125 assertThat(topic.getModelVersion()).isAtLeast(1L); in testRecordObservation()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/
DBlockedTopicsManager.java80 .setModelVersion(topic.getModelVersion()) in retrieveAllBlockedTopics()
97 topicParcel.getModelVersion(), in convertTopicParcelToTopic()
/packages/modules/AdServices/adservices/tests/cts/sandbox/topics/providers/sdk1/src/com/android/tests/providers/sdk1/
DSdk1.java70 && topic.getModelVersion() == MODEL_VERSION; in onLoadSdk()
86 topic.getModelVersion()); in onLoadSdk()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchTopicsConsentDao.java243 && mBlockedTopicsModelVersions.get(i).equals(topic.getModelVersion())) { in addBlockedTopic()
249 mBlockedTopicsModelVersions.add(topic.getModelVersion()); in addBlockedTopic()
271 && mBlockedTopicsModelVersions.get(i).equals(topic.getModelVersion())) { in removeBlockedTopic()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DTopicsJsonMapper.java66 .put(KEY_MODEL_VERSION, topic.getModelVersion()) in toJson()
DTopicsWorker.java222 modelVersions.add(combinedTopic.getTopic().getModelVersion()); in getTopics()
DBlockedTopicsManager.java505 topicParcel.getModelVersion()); in convertTopicParcelToTopic()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/
DOnDeviceClassifier.java245 long getModelVersion() { in getModelVersion() method in OnDeviceClassifier
260 String modelVersion = mBertNLClassifier.getModelVersion(); in getBertModelVersion()
DPrecomputedClassifier.java160 long getModelVersion() { in getModelVersion() method in PrecomputedClassifier
DCommonClassifierHelper.java210 modelVersion = firstTopic.getModelVersion(); in getRandomTopics()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/topics/
DTopicTest.java47 expect.that(mTopic1.getModelVersion()).isEqualTo(5L); in testGetters()
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchConsentManagerTest.java528 TOPIC1.getModelVersion(), in testMigrateConsentData()
529 TOPIC2.getModelVersion(), in testMigrateConsentData()
530 TOPIC3.getModelVersion()); in testMigrateConsentData()
531 assertThat(models).contains(topicParcel.getModelVersion()); in testMigrateConsentData()
DAppSearchConsentStorageManagerTest.java521 TOPIC1.getModelVersion(), in testMigrateConsentData()
522 TOPIC2.getModelVersion(), in testMigrateConsentData()
523 TOPIC3.getModelVersion()); in testMigrateConsentData()
524 expect.that(models).contains(topicParcel.getModelVersion()); in testMigrateConsentData()
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/topics/
DTopicsManagerJetpackTest.java130 assertThat(topic.getModelVersion()).isAtLeast(1L); in testTopicsManager_runClassifier()
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/connection/src/com/android/adservices/tests/cts/topics/connection/
DTopicsConnectionTest.java140 assertThat(topic.getModelVersion()).isAtLeast(1L); in testEnableGlobalKillSwitch()
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/mdd/src/com/android/adservices/tests/cts/topics/mdd/
DTopicsManagerMddTest.java166 assertThat(topic.getModelVersion()).isEqualTo(0L); in testTopicsManager_downloadModelViaMdd_runPrecomputedClassifier()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/classifier/
DOnDeviceClassifierTest.java576 .isEqualTo(mOnDeviceClassifier.getModelVersion()); in testBertModelVersion_matchesAssetsModelVersion()
602 mOnDeviceClassifier.getModelVersion()); in createRealTopic()
DPrecomputedClassifierTest.java301 sPrecomputedClassifier.getModelVersion()); in createRealTopic()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/topics/
DTopicsEpochComputationPrecomputedClassifier.java158 assertThat(topic.getModelVersion()).isAtLeast(1L); in testEpochComputation()
DTopicsEpochComputationOnDeviceClassifier.java165 assertThat(topic.getModelVersion()).isAtLeast(1L); in testEpochComputation()

12