Searched refs:AttributionJobService (Results 1 – 9 of 9) sorted by relevance
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/ |
D | AttributionJobServiceTest.java | 85 @SpyStatic(AttributionJobService.class) 102 private AttributionJobService mSpyService; 109 mSpyService = spy(new AttributionJobService()); in setUp() 179 AttributionJobService.scheduleIfNeeded( in onStartJob_killSwitchOff_unlockingCheck() 196 () -> AttributionJobService.scheduleIfNeeded(any(), eq(true)), in onStartJob_killSwitchOff_unlockingCheck() 209 () -> AttributionJobService.scheduleIfNeeded(any(), eq(true)), in onStartJob_killSwitchOff_unlockingCheck() 253 AttributionJobService.scheduleIfNeeded( in testRescheduling_failureWhileProcessingRecords_dontRescheduleManually() 275 () -> AttributionJobService.scheduleIfNeeded(any(), anyBoolean()), in testRescheduling_failureWhileProcessingRecords_dontRescheduleManually() 291 AttributionJobService.scheduleIfNeeded( in testRescheduling_successNoMoreRecordsToProcess_rescheduleManually() 318 () -> AttributionJobService.scheduleIfNeeded(any(), eq(true)), in testRescheduling_successNoMoreRecordsToProcess_rescheduleManually() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/ |
D | AttributionJobService.java | 55 public class AttributionJobService extends JobService { class 113 scheduleImmediately(AttributionJobService.this); in onStartJob() 179 new ComponentName(context, AttributionJobService.class)) in buildJobInfo() 239 new ComponentName(context, AttributionJobService.class)) in scheduleImmediately()
|
/packages/modules/AdServices/adservices/apk/unittest/src/com/android/adservices/measurement/ |
D | MeasurementServiceTest.java | 55 import com.android.adservices.service.measurement.attribution.AttributionJobService; 78 @SpyStatic(AttributionJobService.class) 225 .when(() -> AttributionJobService.scheduleIfNeeded(any(), anyBoolean())); in runWithMocks() 261 () -> AttributionJobService.scheduleIfNeeded(any(), anyBoolean()), in assertJobScheduled()
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/measurement/ |
D | MeasurementService.java | 41 import com.android.adservices.service.measurement.attribution.AttributionJobService; 108 AttributionJobService.scheduleIfNeeded(this, false); in schedulePeriodicJobsIfNeeded()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | BackgroundJobsManagerTest.java | 67 import com.android.adservices.service.measurement.attribution.AttributionJobService; 89 @SpyStatic(AttributionJobService.class) 123 doNothing().when(() -> AttributionJobService.scheduleIfNeeded(any(), anyBoolean())); in setDefaultExpectations() 561 () -> AttributionJobService.scheduleIfNeeded(any(), eq(false)), in assertMeasurementJobsScheduled()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | BackgroundJobsManager.java | 62 import com.android.adservices.service.measurement.attribution.AttributionJobService; 235 AttributionJobService.scheduleIfNeeded(context, /* forceSchedule= */ false); in scheduleMeasurementBackgroundJobs()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/ |
D | ReportingJobServiceTest.java | 70 import com.android.adservices.service.measurement.attribution.AttributionJobService; 219 new ComponentName(mContext, AttributionJobService.class)) in scheduleIfNeeded_nextReportInFuture_onePendingJob_reschedule() 270 new ComponentName(mContext, AttributionJobService.class)) in scheduleIfNeeded_nextReportInFuture_onePendingJobWithSameTime_dontReschedule()
|
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/ |
D | ConsentManagerV2Test.java | 134 import com.android.adservices.service.measurement.attribution.AttributionJobService; 188 @SpyStatic(AttributionJobService.class) 327 doNothing().when(() -> AttributionJobService.scheduleIfNeeded(any(), anyBoolean())); in setup() 642 verify(() -> AttributionJobService.scheduleIfNeeded(any(Context.class), eq(false))); in testJobsAreScheduledAfterEnablingKillSwitchOff() 705 () -> AttributionJobService.scheduleIfNeeded(any(Context.class), eq(false)), in testJobsAreNotScheduledAfterEnablingKillSwitchOn()
|
D | ConsentManagerTest.java | 138 import com.android.adservices.service.measurement.attribution.AttributionJobService; 193 @SpyStatic(AttributionJobService.class) 305 doNothing().when(() -> AttributionJobService.scheduleIfNeeded(any(), anyBoolean())); in setup() 649 verify(() -> AttributionJobService.scheduleIfNeeded(any(Context.class), eq(false))); in testJobsAreScheduledAfterEnablingKillSwitchOff() 712 () -> AttributionJobService.scheduleIfNeeded(any(Context.class), eq(false)), in testJobsAreNotScheduledAfterEnablingKillSwitchOn()
|