Home
last modified time | relevance | path

Searched refs:TopicsWorker (Results 1 – 18 of 18) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/
DMaintenanceJobServiceTest.java64 import com.android.adservices.service.topics.TopicsWorker;
81 @SpyStatic(TopicsWorker.class)
193 verify(TopicsWorker::getInstance, never()); in testOnStartJob_TopicsKillSwitchOn()
209 final TopicsWorker topicsWorker = in testOnStartJob_SelectAdsKillSwitchOn()
210 new TopicsWorker( in testOnStartJob_SelectAdsKillSwitchOn()
223 doReturn(topicsWorker).when(TopicsWorker::getInstance); in testOnStartJob_SelectAdsKillSwitchOn()
247 verify(TopicsWorker::getInstance); in testOnStartJob_SelectAdsKillSwitchOn()
259 final TopicsWorker topicsWorker = in testOnStartJob_SignalsDisabled()
260 new TopicsWorker( in testOnStartJob_SignalsDisabled()
274 doReturn(topicsWorker).when(TopicsWorker::getInstance); in testOnStartJob_SignalsDisabled()
[all …]
/packages/modules/AdServices/adservices/apk/unittest/src/com/android/adservices/topics/
DTopicsServiceTest.java55 import com.android.adservices.service.topics.TopicsWorker;
66 @SpyStatic(TopicsWorker.class)
78 @Mock private TopicsWorker mMockTopicsWorker;
92 doReturn(mMockTopicsWorker).when(TopicsWorker::getInstance); in testBindableTopicsService_killswitchOff()
154 doReturn(mMockTopicsWorker).when(TopicsWorker::getInstance); in testBindableTopicsService_killswitchOffGaUxFeatureFlagOn()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DTopicsWorker.java59 public class TopicsWorker { class
65 private static volatile TopicsWorker sTopicsWorker;
80 public TopicsWorker( in TopicsWorker() method in TopicsWorker
100 public static TopicsWorker getInstance() { in getInstance()
105 new TopicsWorker( in getInstance()
DEpochJob.java55 TopicsWorker.getInstance().computeEpoch(); in getExecutionFuture()
DTopicsServiceImpl.java100 private final TopicsWorker mTopicsWorker;
111 TopicsWorker topicsWorker, in TopicsServiceImpl()
DEpochJobService.java92 () -> TopicsWorker.getInstance().computeEpoch(), in onStartJob()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEpochJobServiceTest.java81 @SpyStatic(TopicsWorker.class)
92 @Mock private TopicsWorker mMockTopicsWorker;
204 doReturn(mMockTopicsWorker).when(TopicsWorker::getInstance); in testOnStartJob_speEnabled()
344 doReturn(mMockTopicsWorker).when(TopicsWorker::getInstance); in testOnStartJob_killSwitchOff()
388 verifyNoMoreInteractions(staticMockMarker(TopicsWorker.class)); in verifyJobStartAndCancelled()
DEpochJobTest.java62 @SpyStatic(TopicsWorker.class)
66 @Mock private TopicsWorker mMockTopicsWorker;
78 doReturn(mMockTopicsWorker).when(TopicsWorker::getInstance); in setup()
DTopicsWorkerTest.java89 private TopicsWorker mTopicsWorker;
143 new TopicsWorker( in setup()
1156 TopicsWorker topicsWorker = in testReconcileApplicationUpdate()
1157 new TopicsWorker( in testReconcileApplicationUpdate()
1582 TopicsWorker topicsWorker = in testHandleAppInstallation()
1583 new TopicsWorker( in testHandleAppInstallation()
DTopicsServiceImplTest.java157 private TopicsWorker mTopicsWorker;
158 private TopicsWorker mSpyTopicsWorker;
213 new TopicsWorker( in setup()
222 new TopicsWorker( in setup()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/topics/
DTopicsService.java48 import com.android.adservices.service.topics.TopicsWorker;
85 TopicsWorker.getInstance(), in onCreate()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DPackageChangedReceiver.java48 import com.android.adservices.service.topics.TopicsWorker;
255 () -> TopicsWorker.getInstance().handleAppUninstallation(packageUri)); in topicsOnPackageFullyRemoved()
262 () -> TopicsWorker.getInstance().handleAppInstallation(packageUri)); in topicsOnPackageAdded()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/
DMaintenanceJobService.java40 import com.android.adservices.service.topics.TopicsWorker;
109 () -> TopicsWorker.getInstance().reconcileApplicationUpdate(this), in onStartJob()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DPackageChangedReceiverTest.java68 import com.android.adservices.service.topics.TopicsWorker;
92 @SpyStatic(TopicsWorker.class)
115 private TopicsWorker mSpyTopicsWorker;
125 new TopicsWorker( in before()
527 doReturn(mSpyTopicsWorker).when(TopicsWorker::getInstance); in runPackageFullyRemovedForTopicsKillSwitchOff()
758 doReturn(mSpyTopicsWorker).when(TopicsWorker::getInstance); in runPackageAddedForTopics()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DConsentManagerV2.java68 import com.android.adservices.service.topics.TopicsWorker;
120 private final TopicsWorker mTopicsWorker;
141 @NonNull TopicsWorker topicsWorker, in ConsentManagerV2()
311 TopicsWorker.getInstance(), in getInstance()
DConsentManager.java76 import com.android.adservices.service.topics.TopicsWorker;
131 private final TopicsWorker mTopicsWorker;
151 @NonNull TopicsWorker topicsWorker, in ConsentManager()
288 TopicsWorker.getInstance(), in getInstance()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentManagerV2Test.java154 import com.android.adservices.service.topics.TopicsWorker;
230 @Mock private TopicsWorker mTopicsWorkerMock;
3017 TopicsWorker topicsWorker = in testTopicsProxyCalls()
3019 new TopicsWorker( in testTopicsProxyCalls()
DConsentManagerTest.java158 import com.android.adservices.service.topics.TopicsWorker;
227 @Mock private TopicsWorker mTopicsWorkerMock;
3092 TopicsWorker topicsWorker = in testTopicsProxyCalls()
3094 new TopicsWorker( in testTopicsProxyCalls()