Searched refs:timeToRun (Results 1 – 2 of 2) sorted by relevance
34 public final long timeToRun; field in MdnsQueryScheduler.ScheduledQueryTaskArgs38 ScheduledQueryTaskArgs(@NonNull QueryTaskConfig config, long timeToRun, in ScheduledQueryTaskArgs() argument41 this.timeToRun = timeToRun; in ScheduledQueryTaskArgs()75 final long timeToRun = calculateTimeToRun(mLastScheduledQueryTaskArgs, in maybeRescheduleCurrentRun() local78 if (timeToRun <= mLastScheduledQueryTaskArgs.timeToRun) { in maybeRescheduleCurrentRun()83 timeToRun, in maybeRescheduleCurrentRun()100 final long timeToRun; in scheduleNextRun() local102 timeToRun = now + nextRunConfig.delayUntilNextTaskWithoutBackoffMs; in scheduleNextRun()104 timeToRun = calculateTimeToRun(mLastScheduledQueryTaskArgs, in scheduleNextRun()107 mLastScheduledQueryTaskArgs = new ScheduledQueryTaskArgs(nextRunConfig, timeToRun, in scheduleNextRun()[all …]
790 long timeToNextTasksWithBackoffInMs = Math.max(args.timeToRun - now, 0); in calculateTimeToNextTask()