Home
last modified time | relevance | path

Searched refs:SCHEDULING_MODE_ONE_TIME (Results 1 – 13 of 13) sorted by relevance

/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DTrainingInterval.java33 public static final int SCHEDULING_MODE_ONE_TIME = 1; field in TrainingInterval
43 @SchedulingMode private int mSchedulingMode = SCHEDULING_MODE_ONE_TIME;
74 value = {SCHEDULING_MODE_ONE_TIME, SCHEDULING_MODE_RECURRENT})
83 case SCHEDULING_MODE_ONE_TIME: in schedulingModeToString()
97 if (!(mSchedulingMode == SCHEDULING_MODE_ONE_TIME) in TrainingInterval()
104 + SCHEDULING_MODE_ONE_TIME in TrainingInterval()
224 mSchedulingMode = SCHEDULING_MODE_ONE_TIME; in build()
DFederatedComputeScheduler.java181 case TrainingInterval.SCHEDULING_MODE_ONE_TIME: in convertSchedulingMode()
182 return android.federatedcompute.common.TrainingInterval.SCHEDULING_MODE_ONE_TIME; in convertSchedulingMode()
/packages/modules/OnDevicePersonalization/framework/java/android/federatedcompute/common/
DTrainingInterval.java39 public static final int SCHEDULING_MODE_ONE_TIME = 1; field in TrainingInterval
62 value = {SCHEDULING_MODE_ONE_TIME, SCHEDULING_MODE_RECURRENT})
70 case SCHEDULING_MODE_ONE_TIME: in schedulingModeToString()
84 if (!(mSchedulingMode == SCHEDULING_MODE_ONE_TIME) in TrainingInterval()
91 + SCHEDULING_MODE_ONE_TIME in TrainingInterval()
174 if (!(mSchedulingMode == SCHEDULING_MODE_ONE_TIME) in TrainingInterval()
181 + SCHEDULING_MODE_ONE_TIME in TrainingInterval()
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/federatedcompute/common/
DScheduleFederatedComputeRequestTest.java19 import static android.federatedcompute.common.TrainingInterval.SCHEDULING_MODE_ONE_TIME;
43 .setSchedulingMode(SCHEDULING_MODE_ONE_TIME) in buildScheduleFederatedComputeRequest_success()
60 .setSchedulingMode(SCHEDULING_MODE_ONE_TIME) in testScheduleFederatedComputeRequestEquals()
71 .setSchedulingMode(SCHEDULING_MODE_ONE_TIME) in testScheduleFederatedComputeRequestEquals()
DTrainingIntervalTest.java45 TrainingInterval interval = createInterval(TrainingInterval.SCHEDULING_MODE_ONE_TIME, 0); in testOneOffTask()
47 .isEqualTo(TrainingInterval.SCHEDULING_MODE_ONE_TIME); in testOneOffTask()
73 createInterval(TrainingInterval.SCHEDULING_MODE_ONE_TIME, 10000); in testEquals()
DTrainingOptionsTest.java19 import static android.federatedcompute.common.TrainingInterval.SCHEDULING_MODE_ONE_TIME;
37 new TrainingInterval.Builder().setSchedulingMode(SCHEDULING_MODE_ONE_TIME).build();
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/
DFederatedComputeSchedulerTest.java57 .setSchedulingMode(TrainingInterval.SCHEDULING_MODE_ONE_TIME) in testScheduleSuccess()
73 .setSchedulingMode(TrainingInterval.SCHEDULING_MODE_ONE_TIME) in testScheduleNull()
86 .setSchedulingMode(TrainingInterval.SCHEDULING_MODE_ONE_TIME) in testScheduleErr()
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/federatedcompute/
DResultHandlingServiceTest.java21 import static android.federatedcompute.common.TrainingInterval.SCHEDULING_MODE_ONE_TIME;
56 .setSchedulingMode(SCHEDULING_MODE_ONE_TIME)
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/scheduling/
DSchedulingUtil.java173 } else if (schedulingMode == TrainingInterval.SCHEDULING_MODE_ONE_TIME) { in convertSchedulingMode()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/
DFederatedComputeJobManagerTest.java607 TrainingInterval.SCHEDULING_MODE_ONE_TIME) in testOnTrainerStartCalled_trainingIntervalChange_FL()
895 TrainingInterval.SCHEDULING_MODE_ONE_TIME) in testRescheduleFLTask_didnotContribute_oneOff()
1185 TrainingInterval.SCHEDULING_MODE_ONE_TIME) in testRescheduleFLTask_didnotRescheduleDueToScheduleLimit()
/packages/modules/OnDevicePersonalization/tests/cts/service/src/com/android/ondevicepersonalization/testing/sampleservice/
DSampleWorker.java472 .setSchedulingMode(TrainingInterval.SCHEDULING_MODE_ONE_TIME) in handleScheduleFederatedJob()
/packages/modules/OnDevicePersonalization/samples/odpsamplenetwork/src/main/java/com/example/odpsamplenetwork/
DSampleHandler.java468 .setSchedulingMode(TrainingInterval.SCHEDULING_MODE_ONE_TIME) in handleOnExecute()
/packages/modules/OnDevicePersonalization/framework/api/
Dcurrent.txt307 field public static final int SCHEDULING_MODE_ONE_TIME = 1; // 0x1