Home
last modified time | relevance | path

Searched refs:retrieveAllBlockedTopics (Results 1 – 22 of 22) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/data/topics/
DTopicsDaoTest.java64 Set<Topic> blockedTopics = mTopicsDao.retrieveAllBlockedTopics(user0); in testRecordBlockedTopicAndRetrieveBlockedTopics()
71 assertThat(mTopicsDao.retrieveAllBlockedTopics(user1)).isEmpty(); in testRecordBlockedTopicAndRetrieveBlockedTopics()
74 assertThat(mTopicsDao.retrieveAllBlockedTopics(user2)).isEmpty(); in testRecordBlockedTopicAndRetrieveBlockedTopics()
86 Set<Topic> blockedTopics = mTopicsDao.retrieveAllBlockedTopics(user); in testRecordBlockedTopicAndRetrieveBlockedTopics_duplicateTopics()
102 Set<Topic> blockedTopics0 = mTopicsDao.retrieveAllBlockedTopics(user0); in testRecordBlockedTopicAndRemoveBlockedTopic()
103 Set<Topic> blockedTopics1 = mTopicsDao.retrieveAllBlockedTopics(user1); in testRecordBlockedTopicAndRemoveBlockedTopic()
114 assertThat(mTopicsDao.retrieveAllBlockedTopics(user0)).isEmpty(); in testRecordBlockedTopicAndRemoveBlockedTopic()
127 Set<Topic> blockedTopics0 = mTopicsDao.retrieveAllBlockedTopics(user); in testRecordBlockedTopicAndRemoveBlockedTopic_duplicateTopics()
135 assertThat(mTopicsDao.retrieveAllBlockedTopics(user)).isEmpty(); in testRecordBlockedTopicAndRemoveBlockedTopic_duplicateTopics()
139 assertThat(mTopicsDao.retrieveAllBlockedTopics(user)).isEmpty(); in testRecordBlockedTopicAndRemoveBlockedTopic_duplicateTopics()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DBlockedTopicsManagerTest.java120 List<Topic> expectedBlockedTopics = blockedTopicsManager.retrieveAllBlockedTopics(); in testBlockUnblockRetrieveBlockedTopics_PpapiOnly()
126 assertThat(blockedTopicsManager.retrieveAllBlockedTopics()).isEmpty(); in testBlockUnblockRetrieveBlockedTopics_PpapiOnly()
141 List<Topic> expectedBlockedTopics = blockedTopicsManager.retrieveAllBlockedTopics(); in testBlockUnblockRetrieveBlockedTopics_SystemServerOnly()
144 verify(mMockIAdServicesManager).retrieveAllBlockedTopics(); in testBlockUnblockRetrieveBlockedTopics_SystemServerOnly()
164 List<Topic> expectedBlockedTopics = blockedTopicsManager.retrieveAllBlockedTopics(); in testBlockUnblockRetrieveBlockedTopics_PpapiAndSystemServer()
167 verify(mMockIAdServicesManager).retrieveAllBlockedTopics(); in testBlockUnblockRetrieveBlockedTopics_PpapiAndSystemServer()
169 assertThat(mTopicsDao.retrieveAllBlockedTopics()).hasSize(1); in testBlockUnblockRetrieveBlockedTopics_PpapiAndSystemServer()
170 assertThat(mTopicsDao.retrieveAllBlockedTopics().get(0)).isEqualTo(TOPIC); in testBlockUnblockRetrieveBlockedTopics_PpapiAndSystemServer()
176 assertThat(mTopicsDao.retrieveAllBlockedTopics()).isEmpty(); in testBlockUnblockRetrieveBlockedTopics_PpapiAndSystemServer()
195 when(mAppSearchConsentManager.retrieveAllBlockedTopics()).thenReturn(List.of(TOPIC)); in testBlockUnblockRetrieveBlockedTopics_AppSearchOnly()
[all …]
DTopicsWorkerTest.java733 doReturn(List.of(topicParcel1)).when(mMockAdServicesManager).retrieveAllBlockedTopics(); in testGetKnownTopicsWithConsent_oneTopicBlocked()
749 verify(mMockAdServicesManager, times(2)).retrieveAllBlockedTopics(); in testGetKnownTopicsWithConsent_oneTopicBlocked()
776 doReturn(topicParcels).when(mMockAdServicesManager).retrieveAllBlockedTopics(); in testGetKnownTopicsWithConsent_allTopicsBlocked()
788 verify(mMockAdServicesManager).retrieveAllBlockedTopics(); in testGetKnownTopicsWithConsent_allTopicsBlocked()
806 .retrieveAllBlockedTopics(); in testTopicsWithRevokedConsent()
829 verify(mMockAdServicesManager, times(2)).retrieveAllBlockedTopics(); in testTopicsWithRevokedConsent()
853 doReturn(List.of()).when(mMockAdServicesManager).retrieveAllBlockedTopics(); in testTopicsWithRevokedConsent_noTopicsBlocked()
858 verify(mMockAdServicesManager, times(2)).retrieveAllBlockedTopics(); in testTopicsWithRevokedConsent_noTopicsBlocked()
869 doReturn(List.of(topicParcel1)).when(mMockAdServicesManager).retrieveAllBlockedTopics(); in testRevokeConsent()
880 verify(mMockAdServicesManager, times(3)).retrieveAllBlockedTopics(); in testRevokeConsent()
[all …]
DCacheManagerTest.java494 .retrieveAllBlockedTopics(); in testGetTopics_someTopicsBlocked()
688 verify(mMockAdServicesManager).retrieveAllBlockedTopics(); in testGetTopics_someTopicsBlocked()
892 doReturn(List.of(topicParcel2)).when(mMockAdServicesManager).retrieveAllBlockedTopics(); in testGetTopics_verifyLogs()
954 verify(mMockAdServicesManager).retrieveAllBlockedTopics(); in testGetTopics_verifyLogs()
1217 doReturn(List.of(topicParcel2)).when(mMockAdServicesManager).retrieveAllBlockedTopics(); in testGetTopics_verifyLogsWithRandomizedResponse()
1278 verify(mMockAdServicesManager).retrieveAllBlockedTopics(); in testGetTopics_verifyLogsWithRandomizedResponse()
1695 doReturn(List.of(topicParcel2)).when(mMockAdServicesManager).retrieveAllBlockedTopics(); in testGetKnownTopicsWithConsent_blockSomeTopics()
1707 verify(mMockAdServicesManager).retrieveAllBlockedTopics(); in testGetKnownTopicsWithConsent_blockSomeTopics()
1762 .retrieveAllBlockedTopics(); in testGetKnownTopicsWithConsent_blockAllTopics()
1776 verify(mMockAdServicesManager).retrieveAllBlockedTopics(); in testGetKnownTopicsWithConsent_blockAllTopics()
[all …]
DTopicsServiceImplTest.java683 .retrieveAllBlockedTopics(); in getTopics_oneTopicBlocked()
720 verify(mMockAdServicesManager).retrieveAllBlockedTopics(); in getTopics_oneTopicBlocked()
735 doReturn(topicParcels).when(mMockAdServicesManager).retrieveAllBlockedTopics(); in getTopics_allTopicsBlocked()
768 verify(mMockAdServicesManager).retrieveAllBlockedTopics(); in getTopics_allTopicsBlocked()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DUserInstanceManagerTest.java173 assertThat(blockedTopicsManager0.retrieveAllBlockedTopics()) in testRecordRemoveBlockedTopicsMultipleUsers()
175 assertThat(blockedTopicsManager1.retrieveAllBlockedTopics()).isEmpty(); in testRecordRemoveBlockedTopicsMultipleUsers()
180 assertThat(blockedTopicsManager0.retrieveAllBlockedTopics()).isEmpty(); in testRecordRemoveBlockedTopicsMultipleUsers()
181 assertThat(blockedTopicsManager1.retrieveAllBlockedTopics()) in testRecordRemoveBlockedTopicsMultipleUsers()
221 Set<Topic> blockedTopics0 = mTopicsDao.retrieveAllBlockedTopics(user0); in testDeleteAllDataWhenDeletingUserInstance()
222 Set<Topic> blockedTopics1 = mTopicsDao.retrieveAllBlockedTopics(user1); in testDeleteAllDataWhenDeletingUserInstance()
233 assertThat(mTopicsDao.retrieveAllBlockedTopics(user0)).isEmpty(); in testDeleteAllDataWhenDeletingUserInstance()
DBlockedTopicsManagerTest.java79 List<TopicParcel> resultTopicParcels = mBlockedTopicsManager.retrieveAllBlockedTopics(); in testRecordAndRetrieveBlockedTopic()
97 List<TopicParcel> resultTopicParcels = mBlockedTopicsManager.retrieveAllBlockedTopics(); in testRecordAndRemoveBlockedTopic()
103 assertThat(mBlockedTopicsManager.retrieveAllBlockedTopics()).isEmpty(); in testRecordAndRemoveBlockedTopic()
127 assertThat(mBlockedTopicsManager.retrieveAllBlockedTopics()).isEqualTo(topicParcelList); in testClearAllBlockedTopics()
131 assertThat(mBlockedTopicsManager.retrieveAllBlockedTopics()).isEmpty(); in testClearAllBlockedTopics()
DAdServicesManagerServiceTest.java406 List<TopicParcel> resultTopicParcels = mService.retrieveAllBlockedTopics(); in testClearAllBlockedTopics()
412 assertThat(mService.retrieveAllBlockedTopics()).isEmpty(); in testClearAllBlockedTopics()
815 List<TopicParcel> resultTopicParcels = mService.retrieveAllBlockedTopics(); in testRecordAndRetrieveBlockedTopic()
836 List<TopicParcel> resultTopicParcels = mService.retrieveAllBlockedTopics(); in testRecordAndRemoveBlockedTopic()
842 assertThat(mService.retrieveAllBlockedTopics()).isEmpty(); in testRecordAndRemoveBlockedTopic()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/
DBlockedTopicsManager.java75 public List<TopicParcel> retrieveAllBlockedTopics() { in retrieveAllBlockedTopics() method in BlockedTopicsManager
77 for (Topic topic : mTopicsDao.retrieveAllBlockedTopics(mUserIdentifier)) { in retrieveAllBlockedTopics()
109 List<TopicParcel> blockedTopics = retrieveAllBlockedTopics(); in dump()
DAdServicesManagerService.java322 public List<TopicParcel> retrieveAllBlockedTopics() { in retrieveAllBlockedTopics() method in AdServicesManagerService
326 .retrieveAllBlockedTopics()); in retrieveAllBlockedTopics()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DBlockedTopicsManager.java255 public List<Topic> retrieveAllBlockedTopics() { in retrieveAllBlockedTopics() method in BlockedTopicsManager
260 return mTopicsDao.retrieveAllBlockedTopics(); in retrieveAllBlockedTopics()
265 return mAdServicesManager.retrieveAllBlockedTopics().stream() in retrieveAllBlockedTopics()
270 return mAppSearchConsentManager.retrieveAllBlockedTopics(); in retrieveAllBlockedTopics()
448 for (Topic topic : topicsDao.retrieveAllBlockedTopics()) { in mayMigratePpApiBlockedTopicsToSystemService()
DTopicsWorker.java143 return ImmutableList.copyOf(mBlockedTopicsManager.retrieveAllBlockedTopics()); in getTopicsWithRevokedConsent()
DCacheManager.java198 new HashSet<>(mBlockedTopicsManager.retrieveAllBlockedTopics()); in loadCache()
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/
DIAdServicesManager.aidl136 List<TopicParcel> retrieveAllBlockedTopics(); in retrieveAllBlockedTopics() method
DAdServicesManager.java280 public List<TopicParcel> retrieveAllBlockedTopics() { in retrieveAllBlockedTopics() method in AdServicesManager
282 return mService.retrieveAllBlockedTopics(); in retrieveAllBlockedTopics()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/
DTopicsDaoTest.java763 List<Topic> blockedTopics = mTopicsDao.retrieveAllBlockedTopics(); in testRecordBlockedTopicAndRetrieveBlockedTopics()
778 List<Topic> blockedTopics = mTopicsDao.retrieveAllBlockedTopics(); in testRecordBlockedTopicAndRemoveBlockedTopic()
785 blockedTopics = mTopicsDao.retrieveAllBlockedTopics(); in testRecordBlockedTopicAndRemoveBlockedTopic()
930 assertThat(mTopicsDao.retrieveAllBlockedTopics()).isNotEmpty(); in testDeleteAllTopicsTables()
946 assertThat(mTopicsDao.retrieveAllBlockedTopics()).isEmpty(); in testDeleteAllTopicsTables()
1409 assertThat(mTopicsDao.retrieveAllBlockedTopics()).isEmpty(); in testDeleteAllEntriesFromTable()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/data/topics/
DTopicsDao.java146 public Set<Topic> retrieveAllBlockedTopics(int userIdentifier) { in retrieveAllBlockedTopics() method in TopicsDao
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentManager.java345 public List<Topic> retrieveAllBlockedTopics() { in retrieveAllBlockedTopics() method in AppSearchConsentManager
DAppSearchConsentStorageManager.java433 public List<Topic> retrieveAllBlockedTopics() { in retrieveAllBlockedTopics() method in AppSearchConsentStorageManager
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchConsentManagerTest.java329 List<Topic> result = mAppSearchConsentManager.retrieveAllBlockedTopics(); in testRetrieveAllBlockedTopics()
DAppSearchConsentStorageManagerTest.java324 List<Topic> result = mAppSearchConsentStorageManager.retrieveAllBlockedTopics(); in testRetrieveAllBlockedTopics()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/
DTopicsDao.java1055 public List<Topic> retrieveAllBlockedTopics() { in retrieveAllBlockedTopics() method in TopicsDao