Home
last modified time | relevance | path

Searched refs:assertJobScheduled (Results 1 – 3 of 3) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/
DMddJobServiceTest.java219 assertJobScheduled( in testSchedule_killswitchOff()
231 assertJobScheduled( in testSchedule_killswitchOn()
263 assertJobScheduled( in testScheduleIfNeeded_Success()
265 assertJobScheduled( in testScheduleIfNeeded_Success()
267 assertJobScheduled( in testScheduleIfNeeded_Success()
271 assertJobScheduled( in testScheduleIfNeeded_Success()
287 assertJobScheduled( in testScheduleIfNeeded_ScheduledWithSameParameters()
303 assertJobScheduled( in testScheduleIfNeeded_ScheduledWithDifferentParameters()
317 assertJobScheduled( in testScheduleIfNeeded_forceRun()
319 assertJobScheduled( in testScheduleIfNeeded_forceRun()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/cobalt/
DCobaltJobServiceTest.java168 assertJobScheduled(callBack, /* shouldSchedule */ true); in testSchedule_featureEnabled()
178 assertJobScheduled(callBack, /* shouldSchedule */ false); in testSchedule_featureDisabled()
190 assertJobScheduled(callBack, /* shouldSchedule */ true); in testScheduleIfNeeded_success()
209 assertJobScheduled(callBack, /* shouldSchedule */ false); in testScheduleIfNeeded_scheduleWithSameParameters()
228 assertJobScheduled(callBack, /* shouldSchedule */ true); in testScheduleIfNeeded_scheduleWithDifferentParameters()
247 assertJobScheduled(callBack, /* shouldSchedule */ true); in testScheduleIfNeeded_forceRun()
387 private void assertJobScheduled(BooleanSyncCallback callback, boolean shouldSchedule) in assertJobScheduled() method in CobaltJobServiceTest
/packages/modules/AdServices/adservices/apk/unittest/src/com/android/adservices/measurement/
DMeasurementServiceTest.java136 assertJobScheduled(/* timesCalled */ 1); in testBindableMeasurementService_killSwitchOff_gaUxEnabled_consentGiven()
157 assertJobScheduled(/* timesCalled */ 0); in testBindableMeasurementService_killSwitchOff_gaUxEnabled_consentRevoked()
175 assertJobScheduled(/* timesCalled */ 0); in testBindableMeasurementService_killSwitchOn_gaUxEnabled()
253 private void assertJobScheduled(int timesCalled) { in assertJobScheduled() method in MeasurementServiceTest