/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/ |
D | MaintenanceJobServiceTest.java | 64 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/ |
D | TopicsServiceTest.java | 55 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/ |
D | TopicsWorker.java | 59 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()
|
D | EpochJob.java | 55 TopicsWorker.getInstance().computeEpoch(); in getExecutionFuture()
|
D | TopicsServiceImpl.java | 100 private final TopicsWorker mTopicsWorker; 111 TopicsWorker topicsWorker, in TopicsServiceImpl()
|
D | EpochJobService.java | 92 () -> TopicsWorker.getInstance().computeEpoch(), in onStartJob()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | EpochJobServiceTest.java | 81 @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()
|
D | EpochJobTest.java | 62 @SpyStatic(TopicsWorker.class) 66 @Mock private TopicsWorker mMockTopicsWorker; 78 doReturn(mMockTopicsWorker).when(TopicsWorker::getInstance); in setup()
|
D | TopicsWorkerTest.java | 89 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()
|
D | TopicsServiceImplTest.java | 157 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/ |
D | TopicsService.java | 48 import com.android.adservices.service.topics.TopicsWorker; 85 TopicsWorker.getInstance(), in onCreate()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | PackageChangedReceiver.java | 48 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/ |
D | MaintenanceJobService.java | 40 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/ |
D | PackageChangedReceiverTest.java | 68 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/ |
D | ConsentManagerV2.java | 68 import com.android.adservices.service.topics.TopicsWorker; 120 private final TopicsWorker mTopicsWorker; 141 @NonNull TopicsWorker topicsWorker, in ConsentManagerV2() 311 TopicsWorker.getInstance(), in getInstance()
|
D | ConsentManager.java | 76 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/ |
D | ConsentManagerV2Test.java | 154 import com.android.adservices.service.topics.TopicsWorker; 230 @Mock private TopicsWorker mTopicsWorkerMock; 3017 TopicsWorker topicsWorker = in testTopicsProxyCalls() 3019 new TopicsWorker( in testTopicsProxyCalls()
|
D | ConsentManagerTest.java | 158 import com.android.adservices.service.topics.TopicsWorker; 227 @Mock private TopicsWorker mTopicsWorkerMock; 3092 TopicsWorker topicsWorker = in testTopicsProxyCalls() 3094 new TopicsWorker( in testTopicsProxyCalls()
|