Searched refs:delay_seconds (Results 1 – 7 of 7) sorted by relevance
215 int64 delay_seconds = poll_interval_seconds_ - in GetRequestDelayInterval() local217 if (delay_seconds < 0) in GetRequestDelayInterval()218 delay_seconds = 0; in GetRequestDelayInterval()223 DCHECK(!delay_seconds); in GetRequestDelayInterval()224 delay_seconds = kFirstTimeDelaySeconds; in GetRequestDelayInterval()229 delay_seconds += base::RandInt(0, kGCMChannelRequestTimeJitterSeconds); in GetRequestDelayInterval()232 return base::TimeDelta::FromSeconds(delay_seconds); in GetRequestDelayInterval()
136 inline uint32 ConvertToNtpDiff(uint32 delay_seconds, uint32 delay_fraction) { in ConvertToNtpDiff() argument137 return ((delay_seconds & 0x0000FFFF) << 16) + in ConvertToNtpDiff()
323 int64_t delay_seconds = 0; in ScheduleNextRun() local327 delay_seconds = config_->StepDelay(); in ScheduleNextRun()330 delay_seconds = config_->StepDelayMedium(); in ScheduleNextRun()333 delay_seconds = config_->NextCheckDelay(); in ScheduleNextRun()337 delay_seconds = config_->StepDelay(); in ScheduleNextRun()344 if (0 == delay_seconds) in ScheduleNextRun()348 VLOG(1) << "Scheduling next run to occur in " << delay_seconds << " seconds"; in ScheduleNextRun()350 base::TimeDelta::FromSeconds(delay_seconds), in ScheduleNextRun()
218 uint32 delay_seconds = 0; in SendRtcpFromRtpReceiver() local221 ConvertTimeToFractions(delta.InMicroseconds(), &delay_seconds, in SendRtcpFromRtpReceiver()224 ConvertToNtpDiff(delay_seconds, delay_fraction); in SendRtcpFromRtpReceiver()
109 const double delay_seconds = std::min( in Retry() local112 const base::TimeDelta delay = base::TimeDelta::FromSecondsD(delay_seconds); in Retry()
137 scoped_ptr<PacketPipe> NewConstantDelay(double delay_seconds);
160 ConstantDelay(double delay_seconds) : delay_seconds_(delay_seconds) {} in ConstantDelay() argument169 scoped_ptr<PacketPipe> NewConstantDelay(double delay_seconds) { in NewConstantDelay() argument170 return scoped_ptr<PacketPipe>(new ConstantDelay(delay_seconds)).Pass(); in NewConstantDelay()