/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/scheduling/ |
D | SchedulingUtil.java | 28 import com.android.federatedcompute.services.data.fbs.SchedulingMode; 55 unsanitizedMillis, SchedulingMode.UNDEFINED, flags); in getEarliestRuntimeForFCReschedule() 57 if (interval.schedulingMode() == SchedulingMode.RECURRENT && hasContributed) { in getEarliestRuntimeForFCReschedule() 63 userSpecifiedLatency, SchedulingMode.RECURRENT, flags); in getEarliestRuntimeForFCReschedule() 88 : SchedulingMode.ONE_TIME; in getEarliestRuntimeForInitialSchedule() 89 if (schedulingMode != SchedulingMode.RECURRENT) { in getEarliestRuntimeForInitialSchedule() 127 : SchedulingMode.ONE_TIME; in getEarliestRuntimeForExistingTask() 155 if (schedulingMode == SchedulingMode.RECURRENT) { in sanitizeMinimumLatencyMillis() 170 public static int convertSchedulingMode(@TrainingInterval.SchedulingMode int schedulingMode) { in convertSchedulingMode() 172 return SchedulingMode.RECURRENT; in convertSchedulingMode() [all …]
|
D | FederatedComputeJobManager.java | 40 import com.android.federatedcompute.services.data.fbs.SchedulingMode; 127 builder, SchedulingMode.ONE_TIME, 0)); in buildDefaultTrainingInterval() 459 && intervalOptions.schedulingMode() == SchedulingMode.ONE_TIME in rescheduleFederatedTaskAfterTraining() 505 } else if (intervalOptions.schedulingMode() == SchedulingMode.RECURRENT) { in checkRescheduleLimitsExceeded()
|
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ |
D | TrainingInterval.java | 43 @SchedulingMode private int mSchedulingMode = SCHEDULING_MODE_ONE_TIME; 77 public @interface SchedulingMode {} annotation in TrainingInterval 81 public static String schedulingModeToString(@SchedulingMode int value) { in schedulingModeToString() 94 @SchedulingMode int schedulingMode, @NonNull Duration minimumInterval) { in TrainingInterval() 123 public @SchedulingMode int getSchedulingMode() { in getSchedulingMode() 178 private @SchedulingMode int mSchedulingMode; 191 public @NonNull Builder setSchedulingMode(@SchedulingMode int value) { in setSchedulingMode()
|
D | FederatedComputeScheduler.java | 178 private @android.federatedcompute.common.TrainingInterval.SchedulingMode int
|
/packages/modules/OnDevicePersonalization/framework/java/android/federatedcompute/common/ |
D | TrainingInterval.java | 43 @SchedulingMode private int mSchedulingMode; 65 public @interface SchedulingMode {} annotation in TrainingInterval 68 public static String schedulingModeToString(@SchedulingMode int value) { in schedulingModeToString() 81 @SchedulingMode int schedulingMode, long minimumIntervalMillis) { in TrainingInterval() 108 public @SchedulingMode int getSchedulingMode() { in getSchedulingMode() 213 private @SchedulingMode int mSchedulingMode; 221 public @android.annotation.NonNull Builder setSchedulingMode(@SchedulingMode int value) { in setSchedulingMode()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/ |
D | FederatedComputeJobManagerTest.java | 49 import com.android.federatedcompute.services.data.fbs.SchedulingMode; 334 createTrainingIntervalOptions(SchedulingMode.RECURRENT, userDefinedIntervalMillis); in testOnTrainerStartCalledFLWithInterval() 424 createTrainingIntervalOptions(SchedulingMode.RECURRENT, minIntervalMills); in testOnTrainerStartCalled_multipleTimes_sameParamsFLWithIntervalLargerThanServerMax() 467 createTrainingIntervalOptions(SchedulingMode.RECURRENT, minIntervalMills); in testOnTrainerStartCalled_multipleTimes_sameParamsFLWithIntervalDifferentMax() 502 createTrainingIntervalOptions(SchedulingMode.RECURRENT, newMinIntervalMills); in testOnTrainerStartCalled_multipleTimes_sameParamsFLWithIntervalDifferentMax() 542 byte[] expectedInterval = createTrainingIntervalOptions(SchedulingMode.RECURRENT, 1000L); in testOnTrainerStartCalled_fLCustomerSpecifiedIntervalSmallerThanDefinedMin() 577 createTrainingIntervalOptions(SchedulingMode.RECURRENT, minTrainingIntervalMillis); in testOnTrainerStartCalled_trainingIntervalChange_FL() 594 createTrainingIntervalOptions(SchedulingMode.RECURRENT, newInterval); in testOnTrainerStartCalled_trainingIntervalChange_FL() 610 byte[] trainingIntervalOption3 = createTrainingIntervalOptions(SchedulingMode.ONE_TIME, 0L); in testOnTrainerStartCalled_trainingIntervalChange_FL() 755 ByteBuffer.wrap(createTrainingIntervalOptions(SchedulingMode.ONE_TIME, 0))), in testOnTrainerStartCalled_existingTask_rescheduleCountClear() [all …]
|
D | JobSchedulerHelperTest.java | 34 import com.android.federatedcompute.services.data.fbs.SchedulingMode; 217 builder, SchedulingMode.ONE_TIME, 0)); in createDefaultTrainingIntervalOptions()
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/data/fbs/ |
D | TrainingTask.fbs | 9 enum SchedulingMode : int { 18 scheduling_mode:SchedulingMode;
|
/packages/modules/Uwb/service/java/com/android/server/uwb/data/ |
D | UwbConfig.java | 117 @FiraParams.SchedulingMode 160 @FiraParams.SchedulingMode int scheduleMode, in UwbConfig() 241 @FiraParams.SchedulingMode 348 UwbConfig.Builder setScheduleMode(@FiraParams.SchedulingMode int scheduleMode) { in setScheduleMode()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/ |
D | ResultCallbackHelperTest.java | 39 import com.android.federatedcompute.services.data.fbs.SchedulingMode; 208 builder, SchedulingMode.ONE_TIME, 0)); in createDefaultTrainingIntervalOptions()
|
D | FederatedComputeWorkerTest.java | 73 import com.android.federatedcompute.services.data.fbs.SchedulingMode; 357 builder, SchedulingMode.ONE_TIME, 0)); in createDefaultTrainingIntervalOptions()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/data/ |
D | FederatedTrainingTaskTest.java | 31 import com.android.federatedcompute.services.data.fbs.SchedulingMode; 170 builder, SchedulingMode.ONE_TIME, 0)); in createDefaultTrainingIntervalOptions()
|
D | FederatedTrainingTaskDaoTest.java | 29 import com.android.federatedcompute.services.data.fbs.SchedulingMode; 348 builder, SchedulingMode.ONE_TIME, 0)); in createDefaultTrainingIntervalOptions()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/csml/ |
D | SessionDataTest.java | 62 @FiraParams.SchedulingMode int scheduledMode = 0; in testConversion()
|
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/ |
D | FiraOpenSessionParams.java | 89 @SchedulingMode private final int mScheduledMode; 301 @SchedulingMode int scheduledMode, in FiraOpenSessionParams() 581 @SchedulingMode 1218 @SchedulingMode private int mScheduledMode = TIME_SCHEDULED_RANGING; 1744 public FiraOpenSessionParams.Builder setScheduledMode(@SchedulingMode int scheduledMode) { in setScheduledMode()
|
D | FiraParams.java | 238 public @interface SchedulingMode {} annotation in FiraParams
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/data/ |
D | UwbConfigTest.java | 105 @FiraParams.SchedulingMode int scheduledMode = TIME_SCHEDULED_RANGING; in testUwbconfig()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/ |
D | ConfigurationParams.java | 553 ConfigurationParams.Builder setScheduleMode(@FiraParams.SchedulingMode int scheduleMode) { in setScheduleMode()
|
D | UwbCapability.java | 480 @FiraParams.SchedulingMode
|