Searched refs:mBlockedTopicsManager (Results 1 – 8 of 8) sorted by relevance
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/ |
D | BlockedTopicsManagerTest.java | 48 private BlockedTopicsManager mBlockedTopicsManager; field in BlockedTopicsManagerTest 57 mBlockedTopicsManager = new BlockedTopicsManager(new TopicsDao(mDBHelper), USER_ID); in setup() 77 mBlockedTopicsManager.recordBlockedTopic(List.of(topicParcel)); in testRecordAndRetrieveBlockedTopic() 79 List<TopicParcel> resultTopicParcels = mBlockedTopicsManager.retrieveAllBlockedTopics(); in testRecordAndRetrieveBlockedTopic() 94 mBlockedTopicsManager.recordBlockedTopic(List.of(topicParcel)); in testRecordAndRemoveBlockedTopic() 97 List<TopicParcel> resultTopicParcels = mBlockedTopicsManager.retrieveAllBlockedTopics(); in testRecordAndRemoveBlockedTopic() 102 mBlockedTopicsManager.removeBlockedTopic(topicParcel); in testRecordAndRemoveBlockedTopic() 103 assertThat(mBlockedTopicsManager.retrieveAllBlockedTopics()).isEmpty(); in testRecordAndRemoveBlockedTopic() 124 mBlockedTopicsManager.recordBlockedTopic(topicParcelList); in testClearAllBlockedTopics() 127 assertThat(mBlockedTopicsManager.retrieveAllBlockedTopics()).isEqualTo(topicParcelList); in testClearAllBlockedTopics() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/ |
D | TopicsWorker.java | 75 private final BlockedTopicsManager mBlockedTopicsManager; field in TopicsWorker 88 mBlockedTopicsManager = blockedTopicsManager; in TopicsWorker() 143 return ImmutableList.copyOf(mBlockedTopicsManager.retrieveAllBlockedTopics()); in getTopicsWithRevokedConsent() 159 mBlockedTopicsManager.blockTopic(topic); in revokeConsentForTopic() 178 mBlockedTopicsManager.unblockTopic(topic); in restoreConsentForTopic() 321 mBlockedTopicsManager.clearAllBlockedTopics(); in clearAllTopicsData()
|
D | CacheManager.java | 89 private final BlockedTopicsManager mBlockedTopicsManager; field in CacheManager 125 mBlockedTopicsManager = blockedTopicsManager; in CacheManager() 198 new HashSet<>(mBlockedTopicsManager.retrieveAllBlockedTopics()); in loadCache()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/ |
D | MaintenanceJobServiceTest.java | 103 @Mock BlockedTopicsManager mBlockedTopicsManager; field in MaintenanceJobServiceTest 213 mBlockedTopicsManager, in testOnStartJob_SelectAdsKillSwitchOn() 263 mBlockedTopicsManager, in testOnStartJob_SignalsDisabled() 340 mBlockedTopicsManager, in testOnStartJob_killSwitchOnDoesFledgeJobWhenTopicsJobThrowsException() 409 mBlockedTopicsManager, in testOnStartJob_killSwitchOnDoesTopicsJobWhenFledgeThrowsException() 719 mBlockedTopicsManager, in testOnStartJob_killSwitchOff()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | TopicsServiceImplTest.java | 159 private BlockedTopicsManager mBlockedTopicsManager; field in TopicsServiceImplTest 192 mBlockedTopicsManager = in setup() 204 mBlockedTopicsManager, in setup() 216 mBlockedTopicsManager, in setup() 225 mBlockedTopicsManager, in setup() 685 mBlockedTopicsManager.blockTopic(topics.get(0)); in getTopics_oneTopicBlocked() 738 mBlockedTopicsManager.blockTopic(topic); in getTopics_allTopicsBlocked()
|
D | TopicsWorkerTest.java | 92 private BlockedTopicsManager mBlockedTopicsManager; field in TopicsWorkerTest 122 mBlockedTopicsManager = in setup() 134 mBlockedTopicsManager, in setup() 146 mBlockedTopicsManager, in setup() 1160 mBlockedTopicsManager, in testReconcileApplicationUpdate() 1586 mBlockedTopicsManager, in testHandleAppInstallation()
|
D | CacheManagerTest.java | 94 private BlockedTopicsManager mBlockedTopicsManager; field in CacheManagerTest 129 mBlockedTopicsManager = in setup() 141 mBlockedTopicsManager, in setup() 735 mBlockedTopicsManager, in testGetTopics_globalBlockedTopics()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | PackageChangedReceiverTest.java | 105 @Mock private BlockedTopicsManager mBlockedTopicsManager; field in PackageChangedReceiverTest 128 mBlockedTopicsManager, in before()
|