Home
last modified time | relevance | path

Searched refs:delay_seconds (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/components/gcm_driver/
Dgcm_channel_status_syncer.cc215 int64 delay_seconds = poll_interval_seconds_ - in GetRequestDelayInterval() local
217 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()
/external/chromium_org/media/cast/
Dcast_defines.h136 inline uint32 ConvertToNtpDiff(uint32 delay_seconds, uint32 delay_fraction) { in ConvertToNtpDiff() argument
137 return ((delay_seconds & 0x0000FFFF) << 16) + in ConvertToNtpDiff()
/external/chromium_org/components/component_updater/
Dcomponent_updater_service.cc323 int64_t delay_seconds = 0; in ScheduleNextRun() local
327 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()
/external/chromium_org/media/cast/net/rtcp/
Drtcp.cc218 uint32 delay_seconds = 0; in SendRtcpFromRtpReceiver() local
221 ConvertTimeToFractions(delta.InMicroseconds(), &delay_seconds, in SendRtcpFromRtpReceiver()
224 ConvertToNtpDiff(delay_seconds, delay_fraction); in SendRtcpFromRtpReceiver()
/external/chromium_org/chrome/browser/chromeos/
Dcustomization_wallpaper_downloader.cc109 const double delay_seconds = std::min( in Retry() local
112 const base::TimeDelta delay = base::TimeDelta::FromSecondsD(delay_seconds); in Retry()
/external/chromium_org/media/cast/test/utility/
Dudp_proxy.h137 scoped_ptr<PacketPipe> NewConstantDelay(double delay_seconds);
Dudp_proxy.cc160 ConstantDelay(double delay_seconds) : delay_seconds_(delay_seconds) {} in ConstantDelay() argument
169 scoped_ptr<PacketPipe> NewConstantDelay(double delay_seconds) { in NewConstantDelay() argument
170 return scoped_ptr<PacketPipe>(new ConstantDelay(delay_seconds)).Pass(); in NewConstantDelay()