Home
last modified time | relevance | path

Searched refs:TOPIC2 (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchConsentManagerTest.java78 private static final Topic TOPIC2 = Topic.create(12, 12, 12); field in AppSearchConsentManagerTest
315 mAppSearchConsentManager.unblockTopic(TOPIC2); in testUnblockTopic()
316 verify(mAppSearchConsentWorker).recordUnblockedTopic(eq(TOPIC2)); in testUnblockTopic()
328 .thenReturn(List.of(TOPIC1, TOPIC2, TOPIC3)); in testRetrieveAllBlockedTopics()
333 assertThat(result.contains(TOPIC2)).isTrue(); in testRetrieveAllBlockedTopics()
479 List<Topic> blockedTopics = List.of(TOPIC1, TOPIC2, TOPIC3); in testMigrateConsentData()
518 assertThat(List.of(TOPIC1.getTopic(), TOPIC2.getTopic(), TOPIC3.getTopic())) in testMigrateConsentData()
523 TOPIC2.getTaxonomyVersion(), in testMigrateConsentData()
529 TOPIC2.getModelVersion(), in testMigrateConsentData()
DAppSearchConsentStorageManagerTest.java89 private static final Topic TOPIC2 = Topic.create(12, 12, 12); field in AppSearchConsentStorageManagerTest
310 mAppSearchConsentStorageManager.unblockTopic(TOPIC2); in testUnblockTopic()
311 verify(mAppSearchConsentWorker).recordUnblockedTopic(eq(TOPIC2)); in testUnblockTopic()
323 .thenReturn(List.of(TOPIC1, TOPIC2, TOPIC3)); in testRetrieveAllBlockedTopics()
327 expect.that(result).containsExactly(TOPIC1, TOPIC2, TOPIC3); in testRetrieveAllBlockedTopics()
472 List<Topic> blockedTopics = List.of(TOPIC1, TOPIC2, TOPIC3); in testMigrateConsentData()
511 expect.that(List.of(TOPIC1.getTopic(), TOPIC2.getTopic(), TOPIC3.getTopic())) in testMigrateConsentData()
516 TOPIC2.getTaxonomyVersion(), in testMigrateConsentData()
522 TOPIC2.getModelVersion(), in testMigrateConsentData()
DAppSearchTopicsConsentDaoTest.java51 private static final Topic TOPIC2 = Topic.create(12, 2, 22); field in AppSearchTopicsConsentDaoTest
247 assertThat(result).contains(TOPIC2); in testGetBlockedTopics()
DAppSearchConsentWorkerTest.java91 private static final Topic TOPIC2 = Topic.create(12, 2, 22); field in AppSearchConsentWorkerTest
95 private final List<Topic> mTopics = Arrays.asList(TOPIC1, TOPIC2, TOPIC3);
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/
DTopicsTables.java137 String TOPIC2 = "topic2"; field
158 + TopTopicsContract.TOPIC2
DTopicsDao.java239 values.put(TopicsTables.TopTopicsContract.TOPIC2, topTopics.get(1).getTopic()); in persistTopTopics()
278 TopicsTables.TopTopicsContract.TOPIC2, in retrieveTopTopics()
308 TopicsTables.TopTopicsContract.TOPIC2)); in retrieveTopTopics()