Home
last modified time | relevance | path

Searched refs:FLEDGE_BACKGROUND_FETCH_JOB (Results 1 – 14 of 14) sorted by relevance

/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/rootcts/
DCustomAudienceBackgroundFetchTest.java19 import static com.android.adservices.spe.AdServicesJobInfo.FLEDGE_BACKGROUND_FETCH_JOB;
67 assertThat(mBackgroundJobHelper.runJob(FLEDGE_BACKGROUND_FETCH_JOB.getJobId())) in testAdSelection_withInvalidFields_backgroundJobUpdatesSuccessfully()
94 assertThat(mBackgroundJobHelper.runJob(FLEDGE_BACKGROUND_FETCH_JOB.getJobId())) in testAdSelection_withInvalidAds_backgroundJobUpdateFails()
122 assertThat(mBackgroundJobHelper.runJob(FLEDGE_BACKGROUND_FETCH_JOB.getJobId())) in testAdSelection_withHighLatencyBackend_backgroundJobFails()
153 assertThat(mBackgroundJobHelper.runJob(FLEDGE_BACKGROUND_FETCH_JOB.getJobId())) in testAdSelection_withOverlyLargeDailyUpdate_backgroundJobFails()
184 assertThat(mBackgroundJobHelper.runJob(FLEDGE_BACKGROUND_FETCH_JOB.getJobId())) in testAdSelection_withLongRunningJob_backgroundJobFails()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DBackgroundFetchJob.java27 import static com.android.adservices.spe.AdServicesJobInfo.FLEDGE_BACKGROUND_FETCH_JOB;
105 .recordOnSchedulingLegacy(FLEDGE_BACKGROUND_FETCH_JOB.getJobId(), resultCode); in schedule()
116 .setJobId(FLEDGE_BACKGROUND_FETCH_JOB.getJobId()) in createDefaultJobSpec()
DBackgroundFetchJobService.java23 import static com.android.adservices.spe.AdServicesJobInfo.FLEDGE_BACKGROUND_FETCH_JOB;
63 FLEDGE_BACKGROUND_FETCH_JOB.getJobId();
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/spe/
DAdServicesJobService.java20 import static com.android.adservices.spe.AdServicesJobInfo.FLEDGE_BACKGROUND_FETCH_JOB;
116 || (jobId == FLEDGE_BACKGROUND_FETCH_JOB.getJobId() in isSecondBatchPilotJobDisabledForSpe()
DAdServicesJobServiceFactory.java125 case FLEDGE_BACKGROUND_FETCH_JOB: in getJobWorkerInstance()
204 case FLEDGE_BACKGROUND_FETCH_JOB: in rescheduleJobWithLegacyMethod()
DAdServicesJobInfo.java42 FLEDGE_BACKGROUND_FETCH_JOB("FLEDGE_BACKGROUND_FETCH_JOB", 9), enumConstant
/packages/modules/AdServices/adservices/tests/unittest/service-core/common/src/com/android/adservices/spe/
DAdServicesJobServiceFactoryTest.java21 import static com.android.adservices.spe.AdServicesJobInfo.FLEDGE_BACKGROUND_FETCH_JOB;
128 .that(mFactory.getJobWorkerInstance(FLEDGE_BACKGROUND_FETCH_JOB.getJobId())) in testGetJobInstance()
165 mFactory.rescheduleJobWithLegacyMethod(FLEDGE_BACKGROUND_FETCH_JOB.getJobId()); in testRescheduleJobWithLegacyMethod()
DAdServicesJobServiceTest.java21 import static com.android.adservices.spe.AdServicesJobInfo.FLEDGE_BACKGROUND_FETCH_JOB;
263 FLEDGE_BACKGROUND_FETCH_JOB.getJobId())) in testShouldRescheduleWithLegacyMethod_secondBatch()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DBackgroundFetchJobTest.java31 import static com.android.adservices.spe.AdServicesJobInfo.FLEDGE_BACKGROUND_FETCH_JOB;
173 .recordOnSchedulingLegacy(FLEDGE_BACKGROUND_FETCH_JOB.getJobId(), resultCode); in testSchedule_legacy()
182 .setJobId(FLEDGE_BACKGROUND_FETCH_JOB.getJobId()) in testCreateDefaultJobSpec()
DBackgroundFetchJobServiceTest.java30 import static com.android.adservices.spe.AdServicesJobInfo.FLEDGE_BACKGROUND_FETCH_JOB;
96 FLEDGE_BACKGROUND_FETCH_JOB.getJobId();
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DBackgroundJobsManager.java23 import static com.android.adservices.spe.AdServicesJobInfo.FLEDGE_BACKGROUND_FETCH_JOB;
331 jobScheduler.cancel(FLEDGE_BACKGROUND_FETCH_JOB.getJobId()); in unscheduleFledgeBackgroundJobs()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DBackgroundJobsManagerTest.java22 import static com.android.adservices.spe.AdServicesJobInfo.FLEDGE_BACKGROUND_FETCH_JOB;
534 verify(mJobScheduler).cancel(FLEDGE_BACKGROUND_FETCH_JOB.getJobId()); in testUnscheduleAllBackgroundJobs()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/
DConsentManagerV2Test.java37 import static com.android.adservices.spe.AdServicesJobInfo.FLEDGE_BACKGROUND_FETCH_JOB;
753 verify(mJobSchedulerMock).cancel(FLEDGE_BACKGROUND_FETCH_JOB.getJobId()); in testJobsAreUnscheduledAfterDisabling()
DConsentManagerTest.java41 import static com.android.adservices.spe.AdServicesJobInfo.FLEDGE_BACKGROUND_FETCH_JOB;
760 verify(mJobSchedulerMock).cancel(FLEDGE_BACKGROUND_FETCH_JOB.getJobId()); in testJobsAreUnscheduledAfterDisabling()