/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/ |
D | Topic.java | 52 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()
|
D | TopicsDao.java | 137 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/ |
D | Topic.java | 40 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/ |
D | TopicParcel.java | 79 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/ |
D | TopicsManagerTest.java | 209 .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()
|
D | PreviewApiTest.java | 125 assertThat(topic.getModelVersion()).isAtLeast(1L); in testRecordObservation()
|
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/ |
D | BlockedTopicsManager.java | 80 .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/ |
D | Sdk1.java | 70 && topic.getModelVersion() == MODEL_VERSION; in onLoadSdk() 86 topic.getModelVersion()); in onLoadSdk()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/ |
D | AppSearchTopicsConsentDao.java | 243 && 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/ |
D | TopicsJsonMapper.java | 66 .put(KEY_MODEL_VERSION, topic.getModelVersion()) in toJson()
|
D | TopicsWorker.java | 222 modelVersions.add(combinedTopic.getTopic().getModelVersion()); in getTopics()
|
D | BlockedTopicsManager.java | 505 topicParcel.getModelVersion()); in convertTopicParcelToTopic()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/ |
D | OnDeviceClassifier.java | 245 long getModelVersion() { in getModelVersion() method in OnDeviceClassifier 260 String modelVersion = mBertNLClassifier.getModelVersion(); in getBertModelVersion()
|
D | PrecomputedClassifier.java | 160 long getModelVersion() { in getModelVersion() method in PrecomputedClassifier
|
D | CommonClassifierHelper.java | 210 modelVersion = firstTopic.getModelVersion(); in getRandomTopics()
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/topics/ |
D | TopicTest.java | 47 expect.that(mTopic1.getModelVersion()).isEqualTo(5L); in testGetters()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/ |
D | AppSearchConsentManagerTest.java | 528 TOPIC1.getModelVersion(), in testMigrateConsentData() 529 TOPIC2.getModelVersion(), in testMigrateConsentData() 530 TOPIC3.getModelVersion()); in testMigrateConsentData() 531 assertThat(models).contains(topicParcel.getModelVersion()); in testMigrateConsentData()
|
D | AppSearchConsentStorageManagerTest.java | 521 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/ |
D | TopicsManagerJetpackTest.java | 130 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/ |
D | TopicsConnectionTest.java | 140 assertThat(topic.getModelVersion()).isAtLeast(1L); in testEnableGlobalKillSwitch()
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/mdd/src/com/android/adservices/tests/cts/topics/mdd/ |
D | TopicsManagerMddTest.java | 166 assertThat(topic.getModelVersion()).isEqualTo(0L); in testTopicsManager_downloadModelViaMdd_runPrecomputedClassifier()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/classifier/ |
D | OnDeviceClassifierTest.java | 576 .isEqualTo(mOnDeviceClassifier.getModelVersion()); in testBertModelVersion_matchesAssetsModelVersion() 602 mOnDeviceClassifier.getModelVersion()); in createRealTopic()
|
D | PrecomputedClassifierTest.java | 301 sPrecomputedClassifier.getModelVersion()); in createRealTopic()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/topics/ |
D | TopicsEpochComputationPrecomputedClassifier.java | 158 assertThat(topic.getModelVersion()).isAtLeast(1L); in testEpochComputation()
|
D | TopicsEpochComputationOnDeviceClassifier.java | 165 assertThat(topic.getModelVersion()).isAtLeast(1L); in testEpochComputation()
|