/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | AppUpdateManagerTest.java | 130 Topic topic1 = Topic.create(topicId1, TAXONOMY_VERSION, MODEL_VERSION); in testReconcileUninstalledApps() local 174 returnedAppSdkTopics.put(Pair.create(app1, EMPTY_SDK), topic1); in testReconcileUninstalledApps() local 175 returnedAppSdkTopics.put(Pair.create(app1, sdk1), topic1); in testReconcileUninstalledApps() local 176 returnedAppSdkTopics.put(Pair.create(app2, EMPTY_SDK), topic1); in testReconcileUninstalledApps() local 177 returnedAppSdkTopics.put(Pair.create(app2, sdk1), topic1); in testReconcileUninstalledApps() local 181 expectedReturnedTopics.put(Pair.create(app1, EMPTY_SDK), topic1); in testReconcileUninstalledApps() local 182 expectedReturnedTopics.put(Pair.create(app1, sdk1), topic1); in testReconcileUninstalledApps() local 183 expectedReturnedTopics.put(Pair.create(app2, EMPTY_SDK), topic1); in testReconcileUninstalledApps() local 184 expectedReturnedTopics.put(Pair.create(app2, sdk1), topic1); in testReconcileUninstalledApps() local 219 expectedReturnedTopicsAfterWiping.put(Pair.create(app1, EMPTY_SDK), topic1); in testReconcileUninstalledApps() local [all …]
|
D | EpochManagerTest.java | 173 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testComputeCallersCanLearnMap() local 251 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testSelectRandomTopic() local 294 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testSelectRandomTopic_invalidSize_throw() local 344 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testComputeReturnedAppTopics() local 466 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testGarbageCollectOutdatedEpochData() local 554 Topic topic1 = Topic.create(topicId, TAXONOMY_VERSION, MODEL_VERSION); in testGarbageCollectOutdatedEpochData_encryptedTopicsTable() local 563 returnedAppSdkTopics.put(Pair.create(app, sdk), topic1); in testGarbageCollectOutdatedEpochData_encryptedTopicsTable() local 629 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testProcessEpoch() local 813 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testProcessEpoch_enableEncryptedTopics_encryptionSucceed() local 922 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testProcessEpoch_enableEncryptedTopics_encryptionFailed() local [all …]
|
D | CacheManagerTest.java | 184 Topic topic1 = Topic.create(/* topic */ 1, /* taxonomyVersion */ 1L, /* modelVersion */ 1L); in testGetTopics() local 444 Topic topic1 = Topic.create(/* topic */ 1, /* taxonomyVersion */ 1L, /* modelVersion */ 1L); in testGetTopics_someTopicsBlocked() local 702 Topic topic1 = Topic.create(/* topic */ 1, /* taxonomyVersion */ 1L, /* modelVersion */ 1L); in testGetTopics_globalBlockedTopics() local 848 Topic topic1 = Topic.create( in testGetTopics_verifyLogs() local 977 Topic topic1 = in testGetTopics_enableEncryption_success() local 1060 Topic topic1 = in testGetTopics_enableEncryption_missingEncryptedTopics() local 1173 Topic topic1 = Topic.create( in testGetTopics_verifyLogsWithRandomizedResponse() local 1316 Topic topic1 = Topic.create(/* topic */ 1, /* taxonomyVersion */ 1L, /* modelVersion */ 1L); in testGetTopics_shuffling() local 1376 Topic topic1 = in testGetTopics_duplicateTopics() local 1567 Topic topic1 = Topic.create(/* topic */ 1, /* taxonomyVersion */ 1L, /* modelVersion */ 1L); in testGetKnownTopicsWithConsent_noBlockedTopics() local [all …]
|
D | TopicsWorkerTest.java | 156 Topic topic1 = Topic.create(/* topic */ 1, /* taxonomyVersion */ 1L, /* modelVersion */ 4L); in testGetTopics() local 204 Topic topic1 = Topic.create(/* topic */ 1, /* taxonomyVersion */ 1L, /* modelVersion */ 4L); in testGetTopics_enableEncryption_disablePlaintextTopics() local 302 Topic topic1 = Topic.create(/* topic */ 1, /* taxonomyVersion */ 1L, /* modelVersion */ 4L); in testGetTopics_enableEncryption_featureOn() local 399 Topic topic1 = Topic.create(/* topic */ 1, /* taxonomyVersion */ 1L, /* modelVersion */ 4L); in testGetTopics_enableEncryption_featureOff() local 517 Topic topic1 = Topic.create(/* topic */ 1, /* taxonomyVersion */ 1L, /* modelVersion */ 4L); in testGetTopics_appNotInCache() local 551 Topic topic1 = Topic.create(/* topic */ 1, /* taxonomyVersion */ 1L, /* modelVersion */ 4L); in testGetTopics_sdkNotInCache() local 590 Topic topic1 = Topic.create(/* topic */ 1, /* taxonomyVersion */ 1L, /* modelVersion */ 4L); in testGetTopics_handleSdkTopicAssignment() local 645 Topic topic1 = Topic.create(/* topic */ 1, /* taxonomyVersion */ 1L, /* modelVersion */ 4L); in testGetTopics_handleSdkTopicAssignment_existingTopicsForSdk() local 713 Topic topic1 = Topic.create(/* topic */ 1, /* taxonomyVersion */ 1L, /* modelVersion */ 4L); in testGetKnownTopicsWithConsent_oneTopicBlocked() local 757 Topic topic1 = Topic.create(/* topic */ 1, /* taxonomyVersion */ 1L, /* modelVersion */ 4L); in testGetKnownTopicsWithConsent_allTopicsBlocked() local [all …]
|
D | TopicsServiceImplTest.java | 1127 Topic topic1 = in prepareAndPersistTopics() local
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/ |
D | TopicsDaoTest.java | 105 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testPersistAndGetAppClassificationTopics() local 150 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testGetTopTopicsAndPersistTopics() local 171 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testGetTopTopicsAndPersistTopics_notFoundEpochId() local 189 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testGetTopTopicsAndPersistTopics_invalidSize() local 211 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testGetTopTopicsAndPersistTopics_multiPersistWithSameEpoch() local 379 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testRetrieveDistinctAppsFromTables() local 414 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testRetrieveDistinctAppsFromEncryptedTables() local 462 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testPersistCallerCanLearnTopics() local 504 Topic topic1 = Topic.create(/* topic */ 1, TAXONOMY_VERSION, MODEL_VERSION); in testPersistAndRetrieveReturnedAppTopics_oneEpoch() local 584 Topic topic1 = in testPersistAndRetrieveReturnedAppTopics_multipleEpochs() local [all …]
|
/packages/modules/AdServices/adservices/apk/unittest/src/com/android/adservices/ui/settings/viewmodels/ |
D | TopicsViewModelTest.java | 98 Topic topic1 = Topic.create(1, 1, 1); in testGetTopicsReturnsTopics() local 113 Topic topic1 = Topic.create(1, 1, 1); in testBlockTopic() local 122 Topic topic1 = Topic.create(1, 1, 1); in testRestoreTopic() local
|
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/ |
D | ConsentManagerV2Test.java | 1873 Topic topic1 = Topic.create(1, taxonomyVersion, modelVersion); in testGetKnownTopicsWithConsent() local 1890 Topic topic1 = Topic.create(1, taxonomyVersion, modelVersion); in testGetTopicsWithRevokedConsent() local
|
D | ConsentManagerTest.java | 1947 Topic topic1 = Topic.create(1, taxonomyVersion, modelVersion); in testGetKnownTopicsWithConsent() local 1964 Topic topic1 = Topic.create(1, taxonomyVersion, modelVersion); in testGetTopicsWithRevokedConsent() local
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/ |
D | TopicsDao.java | 333 Topic topic1 = Topic.create(topicId1, taxonomyVersion, modelVersion); in retrieveTopTopics() local
|