/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/data/topics/ |
D | TopicsDaoTest.java | 62 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/ |
D | BlockedTopicsManagerTest.java | 77 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()
|
D | UserInstanceManagerTest.java | 172 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()
|
D | AdServicesManagerServiceTest.java | 403 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/ |
D | BlockedTopicsManagerTest.java | 138 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()
|
D | TopicsWorkerTest.java | 734 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 …]
|
D | CacheManagerTest.java | 496 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()
|
D | TopicsServiceImplTest.java | 680 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/ |
D | BlockedTopicsManager.java | 158 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/ |
D | BlockedTopicsManager.java | 52 public void recordBlockedTopic(@NonNull List<TopicParcel> blockedTopicParcels) { in recordBlockedTopic() method in BlockedTopicsManager 57 mTopicsDao.recordBlockedTopic(blockedTopics, mUserIdentifier); in recordBlockedTopic()
|
D | AdServicesManagerService.java | 288 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/ |
D | AdServicesStorageManager.java | 270 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/ |
D | IAdServicesManager.aidl | 126 void recordBlockedTopic(in List<TopicParcel> blockedTopicParcels); in recordBlockedTopic() method
|
D | AdServicesManager.java | 252 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/ |
D | AppSearchConsentManager.java | 331 mAppSearchConsentWorker.recordBlockedTopic(topic); in blockTopic() 529 adServicesManager.recordBlockedTopic(topics); in migrateConsentDataIfNeeded()
|
D | AppSearchConsentStorageManager.java | 95 mAppSearchConsentWorker.recordBlockedTopic(topic); in blockTopic() 394 adServicesManager.recordBlockedTopic(topics); in migrateConsentDataIfNeeded()
|
D | AppSearchConsentWorker.java | 454 void recordBlockedTopic(Topic topic) { in recordBlockedTopic() method in AppSearchConsentWorker
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/ |
D | TopicsDaoTest.java | 761 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/ |
D | TopicsDao.java | 76 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/ |
D | AppSearchConsentWorkerTest.java | 726 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()
|
D | AppSearchConsentManagerTest.java | 310 verify(mAppSearchConsentWorker).recordBlockedTopic(eq(TOPIC1)); in testBlockTopic() 515 verify(mAdServicesManager).recordBlockedTopic(argument.capture()); in testMigrateConsentData()
|
D | AppSearchConsentStorageManagerTest.java | 305 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/ |
D | TopicsDao.java | 982 public void recordBlockedTopic(Topic topic) { in recordBlockedTopic() method in TopicsDao
|