Home
last modified time | relevance | path

Searched refs:JOB_ENABLED_STATUS_ENABLED (Results 1 – 18 of 18) sorted by relevance

/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/spe/framework/
DJobWorkerTest.java20 import static com.android.adservices.shared.spe.JobServiceConstants.JOB_ENABLED_STATUS_ENABLED;
52 return JOB_ENABLED_STATUS_ENABLED;
74 doReturn(JOB_ENABLED_STATUS_ENABLED).when(spyJobWorker).getJobEnablementStatus(); in testsGetJobSchedulingEnablementStatus()
76 .isEqualTo(JOB_ENABLED_STATUS_ENABLED); in testsGetJobSchedulingEnablementStatus()
DAbstractJobServiceTest.java24 import static com.android.adservices.shared.spe.JobServiceConstants.JOB_ENABLED_STATUS_ENABLED;
153 doReturn(JOB_ENABLED_STATUS_ENABLED).when(mMockJobWorker).getJobEnablementStatus(); in testOnStartJob_success()
248 doReturn(JOB_ENABLED_STATUS_ENABLED).when(mMockJobWorker).getJobEnablementStatus(); in testGetJobWorker()
381 doReturn(JOB_ENABLED_STATUS_ENABLED).when(mMockJobWorker).getJobEnablementStatus(); in testOnStartJob_failure()
410 doReturn(JOB_ENABLED_STATUS_ENABLED).when(mMockJobWorker).getJobEnablementStatus(); in testOnStopJob()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/spe/
DJobServiceConstants.java99 JOB_ENABLED_STATUS_ENABLED,
108 public static final int JOB_ENABLED_STATUS_ENABLED = -1; field in JobServiceConstants
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DEpochJob.java23 import static com.android.adservices.shared.spe.JobServiceConstants.JOB_ENABLED_STATUS_ENABLED;
69 return JOB_ENABLED_STATUS_ENABLED; in getJobEnablementStatus()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRegistrationFallbackJob.java24 import static com.android.adservices.shared.spe.JobServiceConstants.JOB_ENABLED_STATUS_ENABLED;
74 return JOB_ENABLED_STATUS_ENABLED; in getJobEnablementStatus()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DBackgroundFetchJob.java25 import static com.android.adservices.shared.spe.JobServiceConstants.JOB_ENABLED_STATUS_ENABLED;
86 return JOB_ENABLED_STATUS_ENABLED; in getJobEnablementStatus()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/scheduling/
DDeleteExpiredJob.java21 import static com.android.adservices.shared.spe.JobServiceConstants.JOB_ENABLED_STATUS_ENABLED;
133 return JOB_ENABLED_STATUS_ENABLED; in getJobEnablementStatus()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEpochJobTest.java24 import static com.android.adservices.shared.spe.JobServiceConstants.JOB_ENABLED_STATUS_ENABLED;
106 .isEqualTo(JOB_ENABLED_STATUS_ENABLED); in testGetJobEnablementStatus_enabled()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/maintenance/
DOnDevicePersonalizationMaintenanceJob.java23 import static com.android.adservices.shared.spe.JobServiceConstants.JOB_ENABLED_STATUS_ENABLED;
87 return JOB_ENABLED_STATUS_ENABLED; in getJobEnablementStatus()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncRegistrationFallbackJobTest.java24 import static com.android.adservices.shared.spe.JobServiceConstants.JOB_ENABLED_STATUS_ENABLED;
109 .isEqualTo(JOB_ENABLED_STATUS_ENABLED); in testGetJobEnablementStatus_enabled()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/
DDeleteExpiredJobTest.java21 import static com.android.adservices.shared.spe.JobServiceConstants.JOB_ENABLED_STATUS_ENABLED;
139 .isEqualTo(JOB_ENABLED_STATUS_ENABLED); in testGetJobEnablementStatus_enabled()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/spe/framework/
DAbstractJobService.java23 import static com.android.adservices.shared.spe.JobServiceConstants.JOB_ENABLED_STATUS_ENABLED;
227 if (isEnabled != JOB_ENABLED_STATUS_ENABLED) { in getJobWorker()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DBackgroundFetchJobTest.java28 import static com.android.adservices.shared.spe.JobServiceConstants.JOB_ENABLED_STATUS_ENABLED;
147 .isEqualTo(JOB_ENABLED_STATUS_ENABLED); in testGetJobEnablementStatus_enabled()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/
DMddJob.java24 import static com.android.adservices.shared.spe.JobServiceConstants.JOB_ENABLED_STATUS_ENABLED;
123 return JOB_ENABLED_STATUS_ENABLED; in getJobEnablementStatus()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/spe/scheduling/
DPolicyJobScheduler.java24 import static com.android.adservices.shared.spe.JobServiceConstants.JOB_ENABLED_STATUS_ENABLED;
294 return worker.getJobSchedulingEnablementStatus() == JOB_ENABLED_STATUS_ENABLED; in shouldSchedule()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/
DMddJobTest.java29 import static com.android.adservices.shared.spe.JobServiceConstants.JOB_ENABLED_STATUS_ENABLED;
139 .isEqualTo(JOB_ENABLED_STATUS_ENABLED); in testGetJobEnablementStatus_enabled()
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/spe/scheduling/
DPolicyJobSchedulerTest.java25 import static com.android.adservices.shared.spe.JobServiceConstants.JOB_ENABLED_STATUS_ENABLED;
344 .thenReturn(JOB_ENABLED_STATUS_ENABLED); in scheduleOneTimeJobWithDefaultConstraints()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/maintenance/
DOnDevicePersonalizationMaintenanceJobTest.java21 import static com.android.adservices.shared.spe.JobServiceConstants.JOB_ENABLED_STATUS_ENABLED;
181 .isEqualTo(JOB_ENABLED_STATUS_ENABLED); in testGetJobEnablementStatus_enabled()