Home
last modified time | relevance | path

Searched refs:recordBlockedTopic (Results 1 – 23 of 23) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/data/topics/
DTopicsDaoTest.java62 mTopicsDao.recordBlockedTopic(List.of(topicToBlock), user0); in testRecordBlockedTopicAndRetrieveBlockedTopics()
83 mTopicsDao.recordBlockedTopic(List.of(topicToBlock, topicToBlock), user); in testRecordBlockedTopicAndRetrieveBlockedTopics_duplicateTopics()
84 mTopicsDao.recordBlockedTopic(List.of(topicToBlock), user); in testRecordBlockedTopicAndRetrieveBlockedTopics_duplicateTopics()
99 mTopicsDao.recordBlockedTopic(List.of(topicToBlock), user0); in testRecordBlockedTopicAndRemoveBlockedTopic()
100 mTopicsDao.recordBlockedTopic(List.of(topicToBlock), user1); in testRecordBlockedTopicAndRemoveBlockedTopic()
124 mTopicsDao.recordBlockedTopic(List.of(topicToBlock, topicToBlock), user); in testRecordBlockedTopicAndRemoveBlockedTopic_duplicateTopics()
125 mTopicsDao.recordBlockedTopic(List.of(topicToBlock), user); in testRecordBlockedTopicAndRemoveBlockedTopic_duplicateTopics()
163 mTopicsDao.recordBlockedTopic(List.of(topicToBlock1), user0); in testClearAllBlockedTopicsOfUser()
164 mTopicsDao.recordBlockedTopic(List.of(topicToBlock2), user0); in testClearAllBlockedTopicsOfUser()
165 mTopicsDao.recordBlockedTopic(List.of(topicToBlock1), user1); in testClearAllBlockedTopicsOfUser()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DBlockedTopicsManagerTest.java77 mBlockedTopicsManager.recordBlockedTopic(List.of(topicParcel)); in testRecordAndRetrieveBlockedTopic()
94 mBlockedTopicsManager.recordBlockedTopic(List.of(topicParcel)); in testRecordAndRemoveBlockedTopic()
124 mBlockedTopicsManager.recordBlockedTopic(topicParcelList); in testClearAllBlockedTopics()
155 mBlockedTopicsManager.recordBlockedTopic(List.of(topicParcel)); in testDump_blockedTopics()
DUserInstanceManagerTest.java172 blockedTopicsManager0.recordBlockedTopic(List.of(topicParcel)); in testRecordRemoveBlockedTopicsMultipleUsers()
178 blockedTopicsManager1.recordBlockedTopic(List.of(topicParcel)); in testRecordRemoveBlockedTopicsMultipleUsers()
217 mTopicsDao.recordBlockedTopic(List.of(topicToBlock1), user0); in testDeleteAllDataWhenDeletingUserInstance()
218 mTopicsDao.recordBlockedTopic(List.of(topicToBlock2), user0); in testDeleteAllDataWhenDeletingUserInstance()
219 mTopicsDao.recordBlockedTopic(List.of(topicToBlock1), user1); in testDeleteAllDataWhenDeletingUserInstance()
DAdServicesManagerServiceTest.java403 mService.recordBlockedTopic(List.of(topicParcel)); in testClearAllBlockedTopics()
812 mService.recordBlockedTopic(List.of(topicParcel)); in testRecordAndRetrieveBlockedTopic()
833 mService.recordBlockedTopic(List.of(topicParcel)); in testRecordAndRemoveBlockedTopic()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DBlockedTopicsManagerTest.java138 verify(mMockIAdServicesManager).recordBlockedTopic(any()); in testBlockUnblockRetrieveBlockedTopics_SystemServerOnly()
161 .recordBlockedTopic(List.of(TOPIC.convertTopicToTopicParcel())); in testBlockUnblockRetrieveBlockedTopics_PpapiAndSystemServer()
442 .recordBlockedTopic(List.of(TOPIC.convertTopicToTopicParcel())); in testMayMigratePpApiBlockedTopicsToSystemService()
444 mTopicsDao.recordBlockedTopic(TOPIC); in testMayMigratePpApiBlockedTopicsToSystemService()
448 .recordBlockedTopic(List.of(TOPIC.convertTopicToTopicParcel())); in testMayMigratePpApiBlockedTopicsToSystemService()
453 .recordBlockedTopic(List.of(TOPIC.convertTopicToTopicParcel())); in testMayMigratePpApiBlockedTopicsToSystemService()
461 mTopicsDao.recordBlockedTopic(TOPIC); in testMayClearPpApiBlockedTopics()
467 mTopicsDao.recordBlockedTopic(TOPIC); in testMayClearPpApiBlockedTopics()
594 .recordBlockedTopic(List.of(TOPIC.convertTopicToTopicParcel())); in getSpiedBlockedTopicsManager()
DTopicsWorkerTest.java734 mTopicsDao.recordBlockedTopic(blockedTopic1); in testGetKnownTopicsWithConsent_oneTopicBlocked()
778 mTopicsDao.recordBlockedTopic(topic1); in testGetKnownTopicsWithConsent_allTopicsBlocked()
779 mTopicsDao.recordBlockedTopic(topic2); in testGetKnownTopicsWithConsent_allTopicsBlocked()
780 mTopicsDao.recordBlockedTopic(topic3); in testGetKnownTopicsWithConsent_allTopicsBlocked()
808 mTopicsDao.recordBlockedTopic(blockedTopic1); in testTopicsWithRevokedConsent()
809 mTopicsDao.recordBlockedTopic(blockedTopic2); in testTopicsWithRevokedConsent()
810 mTopicsDao.recordBlockedTopic(blockedTopic3); in testTopicsWithRevokedConsent()
868 doNothing().when(mMockAdServicesManager).recordBlockedTopic(List.of(topicParcel1)); in testRevokeConsent()
878 verify(mMockAdServicesManager).recordBlockedTopic(List.of(topicParcel1)); in testRevokeConsent()
890 doNothing().when(mMockAdServicesManager).recordBlockedTopic(List.of(topicParcel1)); in testRevokeAndRestoreConsent()
[all …]
DCacheManagerTest.java496 mTopicsDao.recordBlockedTopic(topic2); in testGetTopics_someTopicsBlocked()
497 mTopicsDao.recordBlockedTopic(topic4); in testGetTopics_someTopicsBlocked()
894 topicsDao.recordBlockedTopic(topic2); in testGetTopics_verifyLogs()
1219 topicsDao.recordBlockedTopic(topic2); in testGetTopics_verifyLogsWithRandomizedResponse()
1697 mTopicsDao.recordBlockedTopic(topic2); in testGetKnownTopicsWithConsent_blockSomeTopics()
1764 mTopicsDao.recordBlockedTopic(topic1); in testGetKnownTopicsWithConsent_blockAllTopics()
1765 mTopicsDao.recordBlockedTopic(topic2); in testGetKnownTopicsWithConsent_blockAllTopics()
1766 mTopicsDao.recordBlockedTopic(topic4); in testGetKnownTopicsWithConsent_blockAllTopics()
1832 mTopicsDao.recordBlockedTopic(topic1); in testClearAllTopicsData()
1833 mTopicsDao.recordBlockedTopic(topic2); in testClearAllTopicsData()
DTopicsServiceImplTest.java680 doNothing().when(mMockAdServicesManager).recordBlockedTopic(List.of(topicParcels.get(0))); in getTopics_oneTopicBlocked()
719 verify(mMockAdServicesManager).recordBlockedTopic(List.of(topicParcels.get(0))); in getTopics_oneTopicBlocked()
734 doNothing().when(mMockAdServicesManager).recordBlockedTopic(anyList()); in getTopics_allTopicsBlocked()
767 verify(mMockAdServicesManager, times(topics.size())).recordBlockedTopic(anyList()); in getTopics_allTopicsBlocked()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DBlockedTopicsManager.java158 mTopicsDao.recordBlockedTopic(topic); in blockTopic()
161 mAdServicesManager.recordBlockedTopic( in blockTopic()
165 mTopicsDao.recordBlockedTopic(topic); in blockTopic()
166 mAdServicesManager.recordBlockedTopic( in blockTopic()
451 adServicesManager.recordBlockedTopic(topicParcels); in mayMigratePpApiBlockedTopicsToSystemService()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/
DBlockedTopicsManager.java52 public void recordBlockedTopic(@NonNull List<TopicParcel> blockedTopicParcels) { in recordBlockedTopic() method in BlockedTopicsManager
57 mTopicsDao.recordBlockedTopic(blockedTopics, mUserIdentifier); in recordBlockedTopic()
DAdServicesManagerService.java288 public void recordBlockedTopic(@NonNull List<TopicParcel> blockedTopicParcels) { in recordBlockedTopic() method in AdServicesManagerService
295 .recordBlockedTopic(blockedTopicParcels); in recordBlockedTopic()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAdServicesStorageManager.java270 public void recordBlockedTopic(@NonNull List<TopicParcel> blockedTopicParcels) { in recordBlockedTopic() method in AdServicesStorageManager
271 mAdServicesManager.recordBlockedTopic(blockedTopicParcels); in recordBlockedTopic()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/
DIAdServicesManager.aidl126 void recordBlockedTopic(in List<TopicParcel> blockedTopicParcels); in recordBlockedTopic() method
DAdServicesManager.java252 public void recordBlockedTopic(@NonNull List<TopicParcel> blockedTopicParcels) { in recordBlockedTopic() method in AdServicesManager
254 mService.recordBlockedTopic(blockedTopicParcels); in recordBlockedTopic()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentManager.java331 mAppSearchConsentWorker.recordBlockedTopic(topic); in blockTopic()
529 adServicesManager.recordBlockedTopic(topics); in migrateConsentDataIfNeeded()
DAppSearchConsentStorageManager.java95 mAppSearchConsentWorker.recordBlockedTopic(topic); in blockTopic()
394 adServicesManager.recordBlockedTopic(topics); in migrateConsentDataIfNeeded()
DAppSearchConsentWorker.java454 void recordBlockedTopic(Topic topic) { in recordBlockedTopic() method in AppSearchConsentWorker
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/
DTopicsDaoTest.java761 mTopicsDao.recordBlockedTopic(topicToBlock); in testRecordBlockedTopicAndRetrieveBlockedTopics()
776 mTopicsDao.recordBlockedTopic(topicToBlock); in testRecordBlockedTopicAndRemoveBlockedTopic()
917 mTopicsDao.recordBlockedTopic(topic1); in testDeleteAllTopicsTables()
918 mTopicsDao.recordBlockedTopic(topic2); in testDeleteAllTopicsTables()
1405 mTopicsDao.recordBlockedTopic(topic1); in testDeleteAllEntriesFromTable()
1406 mTopicsDao.recordBlockedTopic(topic2); in testDeleteAllEntriesFromTable()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/data/topics/
DTopicsDao.java76 public void recordBlockedTopic(@NonNull List<Topic> topics, int userIdentifier) { in recordBlockedTopic() method in TopicsDao
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchConsentWorkerTest.java726 assertThrows(RuntimeException.class, () -> worker.recordBlockedTopic(TOPIC1)); in testRecordBlockedTopic_failure()
744 assertThrows(RuntimeException.class, () -> worker.recordBlockedTopic(TOPIC1)); in testRecordBlockedTopic_failure_timeout()
763 appSearchConsentWorker.recordBlockedTopic(TOPIC1); in testRecordBlockedTopic_new()
780 appSearchConsentWorker.recordBlockedTopic(TOPIC1); in testRecordBlockedTopic()
DAppSearchConsentManagerTest.java310 verify(mAppSearchConsentWorker).recordBlockedTopic(eq(TOPIC1)); in testBlockTopic()
515 verify(mAdServicesManager).recordBlockedTopic(argument.capture()); in testMigrateConsentData()
DAppSearchConsentStorageManagerTest.java305 verify(mAppSearchConsentWorker).recordBlockedTopic(eq(TOPIC1)); in testBlockTopic()
508 verify(mAdServicesStorageManager).recordBlockedTopic(argument.capture()); in testMigrateConsentData()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/
DTopicsDao.java982 public void recordBlockedTopic(Topic topic) { in recordBlockedTopic() method in TopicsDao