Searched refs:SCHEDULING_MODE_RECURRENT (Results 1 – 9 of 9) sorted by relevance
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/federatedcompute/common/ |
D | TrainingIntervalTest.java | 37 createInterval(TrainingInterval.SCHEDULING_MODE_RECURRENT, minimumIntervalMillis); in testRecurrentTask() 39 .isEqualTo(TrainingInterval.SCHEDULING_MODE_RECURRENT); in testRecurrentTask() 56 .setSchedulingMode(TrainingInterval.SCHEDULING_MODE_RECURRENT) in testInvalidRecurrentTask() 64 createInterval(TrainingInterval.SCHEDULING_MODE_RECURRENT, 10000); in testEquals() 69 createInterval(TrainingInterval.SCHEDULING_MODE_RECURRENT, 10000); in testEquals() 76 createInterval(TrainingInterval.SCHEDULING_MODE_RECURRENT, 20000); in testEquals() 83 createInterval(TrainingInterval.SCHEDULING_MODE_RECURRENT, 10000); in testParcelValidInterval()
|
/packages/modules/OnDevicePersonalization/framework/java/android/federatedcompute/common/ |
D | TrainingInterval.java | 41 public static final int SCHEDULING_MODE_RECURRENT = 2; field in TrainingInterval 62 value = {SCHEDULING_MODE_ONE_TIME, SCHEDULING_MODE_RECURRENT}) 72 case SCHEDULING_MODE_RECURRENT: in schedulingModeToString() 85 && !(mSchedulingMode == SCHEDULING_MODE_RECURRENT)) { in TrainingInterval() 94 + SCHEDULING_MODE_RECURRENT in TrainingInterval() 99 schedulingMode != SCHEDULING_MODE_RECURRENT || minimumIntervalMillis > 0, in TrainingInterval() 175 && !(mSchedulingMode == SCHEDULING_MODE_RECURRENT)) { in TrainingInterval() 184 + SCHEDULING_MODE_RECURRENT in TrainingInterval()
|
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ |
D | TrainingInterval.java | 36 public static final int SCHEDULING_MODE_RECURRENT = 2; field in TrainingInterval 74 value = {SCHEDULING_MODE_ONE_TIME, SCHEDULING_MODE_RECURRENT}) 85 case SCHEDULING_MODE_RECURRENT: in schedulingModeToString() 98 && !(mSchedulingMode == SCHEDULING_MODE_RECURRENT)) { in TrainingInterval() 107 + SCHEDULING_MODE_RECURRENT in TrainingInterval()
|
D | FederatedComputeScheduler.java | 183 case TrainingInterval.SCHEDULING_MODE_RECURRENT: in convertSchedulingMode() 184 return android.federatedcompute.common.TrainingInterval.SCHEDULING_MODE_RECURRENT; in convertSchedulingMode()
|
/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/ |
D | DataClassesTest.java | 161 .setSchedulingMode(TrainingInterval.SCHEDULING_MODE_RECURRENT) in testTrainingInterval() 166 assertEquals(TrainingInterval.SCHEDULING_MODE_RECURRENT, data.getSchedulingMode()); in testTrainingInterval() 172 .setSchedulingMode(TrainingInterval.SCHEDULING_MODE_RECURRENT) in testFederatedComputeSchedulerParams() 178 assertEquals(TrainingInterval.SCHEDULING_MODE_RECURRENT, in testFederatedComputeSchedulerParams()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/ |
D | FederatedComputeJobManagerTest.java | 327 TrainingInterval.SCHEDULING_MODE_RECURRENT) in testOnTrainerStartCalledFLWithInterval() 407 TrainingInterval.SCHEDULING_MODE_RECURRENT) in testOnTrainerStartCalled_multipleTimes_sameParamsFLWithIntervalLargerThanServerMax() 456 TrainingInterval.SCHEDULING_MODE_RECURRENT) in testOnTrainerStartCalled_multipleTimes_sameParamsFLWithIntervalDifferentMax() 492 TrainingInterval.SCHEDULING_MODE_RECURRENT) in testOnTrainerStartCalled_multipleTimes_sameParamsFLWithIntervalDifferentMax() 532 TrainingInterval.SCHEDULING_MODE_RECURRENT) in testOnTrainerStartCalled_fLCustomerSpecifiedIntervalSmallerThanDefinedMin() 572 TrainingInterval.SCHEDULING_MODE_RECURRENT) in testOnTrainerStartCalled_trainingIntervalChange_FL() 589 TrainingInterval.SCHEDULING_MODE_RECURRENT) in testOnTrainerStartCalled_trainingIntervalChange_FL() 951 TrainingInterval.SCHEDULING_MODE_RECURRENT) in testRescheduleFLTask_success_recurrent_userDefinedInterval() 1008 TrainingInterval.SCHEDULING_MODE_RECURRENT) in testRescheduleFLTask_recurrent_userDefinedInterval_NotGeneric() 1067 TrainingInterval.SCHEDULING_MODE_RECURRENT) in testRescheduleFLTask_recurrent_serverDefinedInterval() [all …]
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/scheduling/ |
D | SchedulingUtil.java | 171 if (schedulingMode == TrainingInterval.SCHEDULING_MODE_RECURRENT) { in convertSchedulingMode()
|
/packages/modules/OnDevicePersonalization/samples/odpsamplenetwork/src/main/java/com/example/odpsamplenetwork/ |
D | SampleHandler.java | 462 .setSchedulingMode(TrainingInterval.SCHEDULING_MODE_RECURRENT) in handleOnExecute()
|
/packages/modules/OnDevicePersonalization/framework/api/ |
D | current.txt | 308 field public static final int SCHEDULING_MODE_RECURRENT = 2; // 0x2
|