Home
last modified time | relevance | path

Searched refs:max_delay (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/components/domain_reliability/
Dscheduler_unittest.cc91 TimeDelta max_delay() const { return params_.maximum_upload_delay; } in max_delay() function in domain_reliability::__anon635da2360111::DomainReliabilitySchedulerTest
126 ASSERT_TRUE(CheckPendingUpload(min_delay(), max_delay())); in TEST_F()
132 ASSERT_TRUE(CheckPendingUpload(min_delay(), max_delay())); in TEST_F()
142 ASSERT_TRUE(CheckPendingUpload(min_delay(), max_delay())); in TEST_F()
148 ASSERT_TRUE(CheckPendingUpload(zero_delta(), max_delay() - min_delay())); in TEST_F()
159 ASSERT_TRUE(CheckPendingUpload(min_delay(), max_delay())); in TEST_F()
166 ASSERT_TRUE(CheckPendingUpload(zero_delta(), max_delay() - min_delay())); in TEST_F()
171 ASSERT_TRUE(CheckPendingUpload(retry_interval(), max_delay() - min_delay())); in TEST_F()
180 max_delay() - min_delay() - retry_interval())); in TEST_F()
192 ASSERT_TRUE(CheckPendingUpload(min_delay(), max_delay())); in TEST_F()
[all …]
Ddispatcher.cc20 base::TimeDelta max_delay);
26 base::TimeDelta max_delay; member
33 base::TimeDelta max_delay) in Task() argument
37 max_delay(max_delay), in Task()
53 base::TimeDelta max_delay) { in ScheduleTask() argument
56 DCHECK(min_delay <= max_delay); in ScheduleTask()
58 Task* task = new Task(closure, time_->CreateTimer(), min_delay, max_delay); in ScheduleTask()
60 if (max_delay.InMicroseconds() < 0) in ScheduleTask()
104 task->max_delay - task->min_delay, in MakeTaskEligible()
Dscheduler.cc158 base::TimeDelta max_delay = std::max(max_by_deadline, min_by_backoff) - now; in MaybeScheduleUpload() local
161 << " and " << max_delay.InSeconds() << " seconds from now."; in MaybeScheduleUpload()
163 callback_.Run(min_delay, max_delay); in MaybeScheduleUpload()
Dcontext_unittest.cc54 TimeDelta max_delay() const { return params_.maximum_upload_delay; } in max_delay() function in domain_reliability::__anon93df879c0111::DomainReliabilityContextTest
170 time_.Advance(max_delay()); in TEST_F()
Ddispatcher.h38 base::TimeDelta max_delay);
Dcontext.h67 void ScheduleUpload(base::TimeDelta min_delay, base::TimeDelta max_delay);
Dcontext.cc219 base::TimeDelta max_delay) { in ScheduleUpload() argument
225 max_delay); in ScheduleUpload()
/external/chromium_org/chrome/browser/sync/test/integration/
Dretry_verifier.cc23 delay_info.max_delay = backoff_s + current_delay/2; in CalculateDelay()
28 delay_info.max_delay = std::max(static_cast<int64>(1), in CalculateDelay()
29 std::min(delay_info.max_delay, syncer::kMaxBackoffSeconds)); in CalculateDelay()
41 delay_table[0].max_delay = static_cast<int64>(2); in FillDelayTable()
46 delay_table[i].max_delay = CalculateDelay(delay_table[i-1].max_delay). in FillDelayTable()
47 max_delay; in FillDelayTable()
65 << " Retry table max: " << delay_table[retry_count].max_delay; in IsRetryOnTime()
Dretry_verifier.h21 int64 max_delay; member
/external/chromium_org/content/public/test/
Dnested_message_pump_android.cc67 base::TimeDelta max_delay = base::TimeDelta::FromMilliseconds(100); in Run() local
101 state_->waitable_event.TimedWait(max_delay); in Run()
105 if (delay > max_delay) in Run()
106 delay = max_delay; in Run()
Dmock_render_process_host.h44 const base::TimeDelta& max_delay,
Dmock_render_process_host.cc85 const base::TimeDelta& max_delay, in WaitForBackingStoreMsg() argument
/external/chromium_org/third_party/webrtc/voice_engine/
Dutility_unittest.cc95 int max_delay) { in ComputeSNR() argument
99 for (int delay = 0; delay <= max_delay; delay++) { in ComputeSNR()
165 const int max_delay = static_cast<double>(dst_sample_rate_hz) in RunResampleTest() local
187 EXPECT_GT(ComputeSNR(golden_frame_, dst_frame_, max_delay), 14.0f); in RunResampleTest()
189 EXPECT_GT(ComputeSNR(golden_frame_, dst_frame_, max_delay), 46.0f); in RunResampleTest()
/external/chromium_org/third_party/google_appengine_cloudstorage/cloudstorage/
Dapi_utils.py114 max_delay=10.0, argument
146 self.max_delay = self._check('max_delay', max_delay)
220 self.max_delay)
/external/chromium_org/ui/app_list/views/
Dpulsing_block_view.cc77 const int max_delay = kAnimationDurationInMs * arraysize(kAnimationOpacity); in PulsingBlockView() local
78 const int delay = start_delay ? base::RandInt(0, max_delay) : 0; in PulsingBlockView()
/external/chromium_org/chromeos/
Dtpm_token_loader.cc34 const base::TimeDelta max_delay = in GetNextRequestDelayMs() local
36 if (next_delay > max_delay) in GetNextRequestDelayMs()
37 next_delay = max_delay; in GetNextRequestDelayMs()
/external/webrtc/src/modules/audio_processing/utility/
Ddelay_estimator.c92 int max_delay, in WebRtc_CreateBinaryDelayEstimator() argument
95 int history_size = max_delay + lookahead; in WebRtc_CreateBinaryDelayEstimator()
100 if (max_delay < 0) { in WebRtc_CreateBinaryDelayEstimator()
Ddelay_estimator_wrapper.h50 int max_delay,
Ddelay_estimator.h54 int max_delay,
Ddelay_estimator_wrapper.c168 int max_delay, in WebRtc_CreateDelayEstimator() argument
194 max_delay, in WebRtc_CreateDelayEstimator()
/external/chromium_org/content/browser/renderer_host/
Drender_widget_helper.h133 const base::TimeDelta& max_delay,
Drender_widget_helper.cc140 int render_widget_id, const base::TimeDelta& max_delay, IPC::Message* msg) { in WaitForBackingStoreMsg() argument
173 max_delay - (base::TimeTicks::Now() - time_start); in WaitForBackingStoreMsg()
/external/chromium_org/content/public/browser/
Drender_process_host.h86 const base::TimeDelta& max_delay,
/external/tcpdump/
Dprint-slow.c238 u_int8_t max_delay[2]; member
405 EXTRACT_16BITS(tlv_ptr.lacp_tlv_collector_info->max_delay)); in slow_marker_lacp_print()
/external/chromium_org/net/url_request/
Durl_request_throttler_simulation_unittest.cc463 void SetStartupJitter(const TimeDelta& max_delay) { in SetStartupJitter() argument
464 int delay_ms = base::RandInt(0, max_delay.InMilliseconds()); in SetStartupJitter()

12