/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | DeleteExpiredJobServiceTest.java | 85 private DeleteExpiredJobService mSpyService; 94 .spyStatic(DeleteExpiredJobService.class) 103 mSpyService = spy(new DeleteExpiredJobService()); in setUp() 211 DeleteExpiredJobService.scheduleIfNeeded( in scheduleIfNeeded_killSwitchOn_dontSchedule() 216 () -> DeleteExpiredJobService.schedule(any(), any()), never()); in scheduleIfNeeded_killSwitchOn_dontSchedule() 237 mockContext, DeleteExpiredJobService.class)) in scheduleIfNeeded_sameJobInfoNoForceSchedule_dontSchedule() 247 DeleteExpiredJobService.scheduleIfNeeded( in scheduleIfNeeded_sameJobInfoNoForceSchedule_dontSchedule() 252 () -> DeleteExpiredJobService.schedule(any(), any()), never()); in scheduleIfNeeded_sameJobInfoNoForceSchedule_dontSchedule() 273 mockContext, DeleteExpiredJobService.class)) in scheduleIfNeeded_diffJobInfoNoForceSchedule_dontSchedule() 283 DeleteExpiredJobService.scheduleIfNeeded( in scheduleIfNeeded_diffJobInfoNoForceSchedule_dontSchedule() [all …]
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/scheduling/ |
D | DeleteExpiredJobService.java | 52 public class DeleteExpiredJobService extends JobService { class 54 private static final String TAG = DeleteExpiredJobService.class.getSimpleName(); 60 public DeleteExpiredJobService() { in DeleteExpiredJobService() method in DeleteExpiredJobService 65 public DeleteExpiredJobService(Injector injector) { in DeleteExpiredJobService() method in DeleteExpiredJobService 147 FederatedComputeJobServiceLogger.getInstance(DeleteExpiredJobService.this) in onStartJob() 159 FederatedComputeJobServiceLogger.getInstance(DeleteExpiredJobService.this) in onStartJob() 193 new ComponentName(context, DeleteExpiredJobService.class)) in scheduleJobIfNeeded()
|
D | DeleteExpiredJob.java | 51 private static final String TAG = DeleteExpiredJobService.class.getSimpleName(); 144 DeleteExpiredJobService.scheduleJobIfNeeded( in schedule()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/ |
D | DeleteExpiredJobServiceTest.java | 87 private DeleteExpiredJobService mSpyService; 111 mSpyService = spy(new DeleteExpiredJobService(new TestInjector())); in setUp() 128 DeleteExpiredJobService instance = new DeleteExpiredJobService(); in testDefaultNoArgConstructor() 215 DeleteExpiredJobService.scheduleJobIfNeeded( in enableKillSwitch() 248 DeleteExpiredJobService.Injector injector = new DeleteExpiredJobService.Injector(); in testDefaultInjector() 281 class TestInjector extends DeleteExpiredJobService.Injector {
|
D | DeleteExpiredJobTest.java | 72 @MockStatic(DeleteExpiredJobService.class) 162 DeleteExpiredJobService.scheduleJobIfNeeded( in testSchedule_legacy() 170 DeleteExpiredJobService.scheduleJobIfNeeded( in testSchedule_legacy()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/sharedlibrary/spe/ |
D | FederatedComputeJobServiceFactoryTest.java | 33 import com.android.federatedcompute.services.scheduling.DeleteExpiredJobService; 52 @MockStatic(DeleteExpiredJobService.class) 120 DeleteExpiredJobService.scheduleJobIfNeeded( in testRescheduleJobWithLegacyMethod()
|
/packages/modules/AdServices/adservices/apk/unittest/src/com/android/adservices/measurement/ |
D | MeasurementServiceTest.java | 51 import com.android.adservices.service.measurement.DeleteExpiredJobService; 87 @SpyStatic(DeleteExpiredJobService.class) 233 .when(() -> DeleteExpiredJobService.scheduleIfNeeded(any(), anyBoolean())); in runWithMocks() 273 () -> DeleteExpiredJobService.scheduleIfNeeded(any(), anyBoolean()), in assertJobScheduled()
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/measurement/ |
D | MeasurementService.java | 37 import com.android.adservices.service.measurement.DeleteExpiredJobService; 112 DeleteExpiredJobService.scheduleIfNeeded(this, false); in schedulePeriodicJobsIfNeeded()
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/sharedlibrary/spe/ |
D | FederatedComputeJobServiceFactory.java | 35 import com.android.federatedcompute.services.scheduling.DeleteExpiredJobService; 182 DeleteExpiredJobService.scheduleJobIfNeeded(context, mFlags, forceSchedule); in rescheduleJobWithLegacyMethod()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/ |
D | DeleteExpiredJobService.java | 44 public final class DeleteExpiredJobService extends JobService { class 160 new ComponentName(context, DeleteExpiredJobService.class)) in buildJobInfo()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | BackgroundJobsManagerTest.java | 64 import com.android.adservices.service.measurement.DeleteExpiredJobService; 95 @SpyStatic(DeleteExpiredJobService.class) 129 doNothing().when(() -> DeleteExpiredJobService.scheduleIfNeeded(any(), anyBoolean())); in setDefaultExpectations() 573 () -> DeleteExpiredJobService.scheduleIfNeeded(any(), eq(false)), in assertMeasurementJobsScheduled()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | BackgroundJobsManager.java | 59 import com.android.adservices.service.measurement.DeleteExpiredJobService; 239 DeleteExpiredJobService.scheduleIfNeeded(context, /* forceSchedule= */ false); in scheduleMeasurementBackgroundJobs()
|
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/ |
D | ConsentManagerV2Test.java | 130 import com.android.adservices.service.measurement.DeleteExpiredJobService; 192 @SpyStatic(DeleteExpiredJobService.class) 333 doNothing().when(() -> DeleteExpiredJobService.scheduleIfNeeded(any(), anyBoolean())); in setup() 648 verify(() -> DeleteExpiredJobService.scheduleIfNeeded(any(Context.class), eq(false))); in testJobsAreScheduledAfterEnablingKillSwitchOff() 716 () -> DeleteExpiredJobService.scheduleIfNeeded(any(Context.class), eq(false)), in testJobsAreNotScheduledAfterEnablingKillSwitchOn()
|
D | ConsentManagerTest.java | 134 import com.android.adservices.service.measurement.DeleteExpiredJobService; 197 @SpyStatic(DeleteExpiredJobService.class) 311 doNothing().when(() -> DeleteExpiredJobService.scheduleIfNeeded(any(), anyBoolean())); in setup() 655 verify(() -> DeleteExpiredJobService.scheduleIfNeeded(any(Context.class), eq(false))); in testJobsAreScheduledAfterEnablingKillSwitchOff() 723 () -> DeleteExpiredJobService.scheduleIfNeeded(any(Context.class), eq(false)), in testJobsAreNotScheduledAfterEnablingKillSwitchOn()
|