/external/chromium_org/media/cast/net/pacing/ |
paced_sender_unittest.cc | 54 base::TimeDelta::FromMilliseconds(kStartMillisecond)); 103 base::TimeDelta timeout = base::TimeDelta::FromMilliseconds(10); 108 timeout = base::TimeDelta::FromMilliseconds(5); 146 base::TimeDelta timeout = base::TimeDelta::FromMilliseconds(10); 201 base::TimeDelta timeout_10ms = base::TimeDelta::FromMilliseconds(10); 211 testing_clock_.Advance(base::TimeDelta::FromMilliseconds(6)); 215 testing_clock_.Advance(base::TimeDelta::FromMilliseconds(4)) [all...] |
/external/chromium_org/remoting/host/ |
capture_scheduler.h | 24 base::TimeDelta NextCaptureDelay(); 27 void RecordCaptureTime(base::TimeDelta capture_time); 28 void RecordEncodeTime(base::TimeDelta encode_time);
|
/external/chromium_org/sync/internal_api/public/ |
data_type_debug_info_listener.h | 23 base::TimeDelta download_wait_time; 26 base::TimeDelta download_time; 30 base::TimeDelta association_wait_time_for_high_priority;
|
/external/chromium_org/ui/views/ |
repeat_controller.cc | 7 using base::TimeDelta; 28 timer_.Start(FROM_HERE, TimeDelta::FromMilliseconds(kInitialRepeatDelay), 40 timer_.Start(FROM_HERE, TimeDelta::FromMilliseconds(kRepeatDelay), this,
|
/external/chromium_org/webkit/browser/fileapi/ |
timed_task_helper.h | 33 base::TimeDelta delay, 42 void PostDelayedTask(scoped_ptr<Tracker> tracker, base::TimeDelta delay); 46 base::TimeDelta delay_;
|
/external/chromium_org/chrome/browser/history/ |
visit_filter.cc | 33 void VisitFilter::SetFilterWidth(const base::TimeDelta& filter_width) { 50 filter_width_ = base::TimeDelta::FromHours(0); 67 if (filter_width_ != base::TimeDelta::FromSeconds(0)) { 110 base::TimeDelta one_day = base::TimeDelta::FromDays(1); 120 std::make_pair(begin_time_of_the_day - base::TimeDelta::FromDays(i), 121 end_time_of_the_day - base::TimeDelta::FromDays(i))); 127 base::TimeDelta time_passed = filter_time_ - visit.visit_time; 153 base::TimeDelta offset = GetTimeOfDayDifference(filter_time_, 170 base::TimeDelta [all...] |
/external/chromium_org/net/disk_cache/simple/ |
simple_index_unittest.cc | 30 base::Time::UnixEpoch() + base::TimeDelta::FromDays(20); 43 EXPECT_LT(kTestLastUsedTime - base::TimeDelta::FromSeconds(2), 45 EXPECT_GT(kTestLastUsedTime + base::TimeDelta::FromSeconds(2), 119 initial_time < base::TimeDelta::FromSeconds(1)); 182 EXPECT_LT(new_time - base::TimeDelta::FromSeconds(2), 184 EXPECT_GT(new_time + base::TimeDelta::FromSeconds(2), 241 EXPECT_LT(now - base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); 242 EXPECT_GT(now + base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); 323 InsertIntoIndexFileReturn(kHash1, now - base::TimeDelta::FromDays(2), 475); 329 now - base::TimeDelta::FromDays(2) - base::TimeDelta::FromSeconds(1) [all...] |
/external/chromium_org/chrome/browser/captive_portal/ |
captive_portal_service_unittest.cc | 106 set_initial_backoff_no_portal(base::TimeDelta()); 107 set_initial_backoff_portal(base::TimeDelta()); 117 set_maximum_backoff(base::TimeDelta::FromSeconds(1600)); 152 base::TimeDelta expected_delay = 153 base::TimeDelta::FromSeconds(expected_delay_secs); 159 ASSERT_EQ(base::TimeDelta(), GetTimeUntilNextRequest()); 184 base::TimeDelta expected_delay = 185 base::TimeDelta::FromSeconds(expected_delay_secs); 191 ASSERT_EQ(base::TimeDelta(), GetTimeUntilNextRequest()); 223 void AdvanceTime(const base::TimeDelta& delta) [all...] |
/external/chromium_org/sync/engine/ |
sync_scheduler_unittest.cc | 27 using base::TimeDelta; 81 void PumpLoopFor(base::TimeDelta time) { 105 TimeDelta::FromSeconds(kInitialBackoffRetrySeconds), 106 TimeDelta::FromSeconds(kInitialBackoffImmediateRetrySeconds)) { 109 MOCK_METHOD1(GetDelay, TimeDelta(const TimeDelta&)); 159 TimeDelta zero() { return TimeDelta::FromSeconds(0); } 160 TimeDelta timeout() { 172 const TimeTicks& optimal_start, const TimeDelta& poll_interval) [all...] |
/external/chromium_org/components/startup_metric_utils/ |
startup_metric_utils.cc | 30 typedef base::hash_map<std::string,base::TimeDelta> SubsystemStartupTimeHash; 49 base::TimeDelta browser_main_entry_time_absolute = 50 base::TimeDelta::FromMilliseconds( 56 base::TimeDelta browser_main_entry_time_raw_ms_high_word = 57 base::TimeDelta::FromMilliseconds( 60 base::TimeDelta browser_main_entry_time_raw_ms_low_word = 61 base::TimeDelta::FromMilliseconds( 124 base::TimeDelta::FromMinutes(7).InMilliseconds(); 138 base::TimeDelta startup_time_from_main_entry = 183 const base::TimeDelta kTenSeconds = base::TimeDelta::FromSeconds(10) [all...] |
/external/chromium_org/ui/compositor/ |
layer_animation_element.h | 60 base::TimeDelta duration); 68 base::TimeDelta duration); 92 base::TimeDelta duration); 98 base::TimeDelta duration); 104 base::TimeDelta duration); 110 base::TimeDelta duration); 116 base::TimeDelta duration); 122 base::TimeDelta duration); 128 base::TimeDelta duration); 134 base::TimeDelta duration) [all...] |
layer_animation_element_unittest.cc | 32 base::TimeDelta delta = base::TimeDelta::FromSeconds(1); 53 base::TimeDelta element_duration; 72 base::TimeDelta delta; 86 base::TimeDelta delta; 102 base::TimeDelta delta = base::TimeDelta::FromSeconds(1); 140 base::TimeDelta delta = base::TimeDelta::FromSeconds(1); 155 base::TimeDelta element_duration [all...] |
layer_animation_sequence_unittest.cc | 28 start_time += base::TimeDelta::FromSeconds(1); 45 base::TimeDelta delta = base::TimeDelta::FromSeconds(1); 56 sequence.Progress(start_time + base::TimeDelta::FromMilliseconds(500), 60 sequence.Progress(start_time + base::TimeDelta::FromMilliseconds(1000), 80 base::TimeDelta delta = base::TimeDelta::FromSeconds(1); 123 base::TimeDelta delta = base::TimeDelta::FromSeconds(1); 215 base::TimeDelta delta = base::TimeDelta::FromSeconds(1) [all...] |
/external/chromium/base/synchronization/ |
waitable_event_unittest.cc | 23 EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); 27 EXPECT_TRUE(event.TimedWait(TimeDelta::FromMilliseconds(10))); 41 EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); 45 EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); 48 EXPECT_TRUE(event.TimedWait(TimeDelta::FromMilliseconds(10)));
|
/external/chromium_org/media/filters/ |
chunk_demuxer.h | 54 virtual void Seek(base::TimeDelta time, const PipelineStatusCB& cb) OVERRIDE; 57 virtual base::TimeDelta GetStartTime() const OVERRIDE; 70 void StartWaitingForSeek(base::TimeDelta seek_time); 82 void CancelPendingSeek(base::TimeDelta seek_time); 99 Ranges<base::TimeDelta> GetBufferedRanges(const std::string& id) const; 110 void Remove(const std::string& id, base::TimeDelta start, 111 base::TimeDelta end); 125 bool SetTimestampOffset(const std::string& id, base::TimeDelta offset); 135 void SetAppendWindowStart(const std::string& id, base::TimeDelta start); 136 void SetAppendWindowEnd(const std::string& id, base::TimeDelta end) [all...] |
chunk_demuxer.cc | 22 using base::TimeDelta; 36 TimeDelta, ChunkDemuxerStream*)> IncreaseDurationCB; 64 bool SetTimestampOffset(TimeDelta timestamp_offset); 66 TimeDelta timestamp_offset() const { return timestamp_offset_; } 68 void set_append_window_start(TimeDelta start) { 71 void set_append_window_end(TimeDelta end) { append_window_end_ = end; } 75 void Seek(TimeDelta seek_time); 131 TimeDelta timestamp_offset_; 133 TimeDelta append_window_start_; 134 TimeDelta append_window_end_ [all...] |
/external/chromium_org/base/time/ |
time_unittest.cc | 17 using base::TimeDelta; 141 EXPECT_TRUE((a - b) < TimeDelta::FromSeconds(1)); 150 EXPECT_TRUE((a - b) < TimeDelta::FromSeconds(1)); 362 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1); 374 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1000); 386 t = Time::UnixEpoch() - TimeDelta::FromMicroseconds(1001); 398 t = Time::UnixEpoch() - TimeDelta::FromMilliseconds(1000); 410 t = Time::UnixEpoch() - TimeDelta::FromMilliseconds(1001); 435 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1); 447 t = Time::UnixEpoch() + TimeDelta::FromMicroseconds(1000) [all...] |
/external/chromium_org/cc/animation/ |
scrollbar_animation_controller_thinning.cc | 27 base::TimeDelta::FromMilliseconds(kDefaultAnimationDelay), 28 base::TimeDelta::FromMilliseconds(kDefaultAnimationDuration))); 33 base::TimeDelta animation_delay, base::TimeDelta animation_duration) { 40 base::TimeDelta animation_delay, 41 base::TimeDelta animation_duration) 63 base::TimeDelta ScrollbarAnimationControllerThinning::DelayBeforeStart( 66 return base::TimeDelta(); 68 return base::TimeDelta(); 83 return IsAnimating() && DelayBeforeStart(now) == base::TimeDelta(); [all...] |
/external/chromium/net/socket/ |
transport_client_socket_pool.cc | 22 using base::TimeDelta; 117 base::TimeDelta timeout_duration, 257 base::TimeDelta::FromMilliseconds(kIPv6FallbackTimerInMs), 269 base::TimeDelta total_duration = now - start_time_; 273 base::TimeDelta::FromMilliseconds(1), 274 base::TimeDelta::FromMinutes(10), 277 base::TimeDelta connect_duration = now - connect_start_time_; 280 base::TimeDelta::FromMilliseconds(1), 281 base::TimeDelta::FromMinutes(10), 287 base::TimeDelta::FromMilliseconds(1) [all...] |
/external/chromium_org/chrome/browser/network_time/ |
network_time_tracker.h | 30 // const base::TimeDelta& resolution - how precise the reading is. 31 // const base::TimeDelta& latency - the http request's latency. 33 const base::TimeDelta&, 34 const base::TimeDelta&)> UpdateCallback; 57 base::TimeDelta* uncertainty) const; 79 const base::TimeDelta& network_time_uncertainty); 89 base::TimeDelta network_time_uncertainty_;
|
/external/chromium_org/content/browser/renderer_host/media/ |
video_capture_oracle.h | 18 explicit SmoothEventSampler(base::TimeDelta capture_period, 42 const base::TimeDelta capture_period_; 44 const base::TimeDelta token_bucket_capacity_; 49 base::TimeDelta token_bucket_; 66 VideoCaptureOracle(base::TimeDelta capture_period, 85 base::TimeDelta capture_period() const { return capture_period_; } 90 const base::TimeDelta capture_period_;
|
/external/chromium_org/content/browser/renderer_host/ |
text_input_client_mac.mm | 46 condition_.TimedWait(base::TimeDelta::FromMilliseconds(kWaitTimeout)); 49 base::TimeDelta delta(base::TimeTicks::Now() - start); 67 condition_.TimedWait(base::TimeDelta::FromMilliseconds(kWaitTimeout)); 70 base::TimeDelta delta(base::TimeTicks::Now() - start); 88 condition_.TimedWait(base::TimeDelta::FromMilliseconds(kWaitTimeout)); 91 base::TimeDelta delta(base::TimeTicks::Now() - start); 127 base::TimeDelta delta(base::TimeTicks::Now() - start);
|
/external/chromium_org/media/audio/sounds/ |
sounds_manager.cc | 34 virtual base::TimeDelta GetDuration(SoundKey key) OVERRIDE; 70 base::TimeDelta SoundsManagerImpl::GetDuration(SoundKey key) { 74 return base::TimeDelta(); 79 return base::TimeDelta::FromMicroseconds(size * 1000000 / rate); 93 virtual base::TimeDelta GetDuration(SoundKey key) OVERRIDE; 114 base::TimeDelta SoundsManagerStub::GetDuration(SoundKey /* key */) { 116 return base::TimeDelta();
|
/external/chromium_org/media/cast/audio_sender/ |
audio_sender_unittest.cc | 31 base::TimeDelta::FromMilliseconds(kStartMillisecond)); 63 const base::TimeDelta kDuration = base::TimeDelta::FromMilliseconds(20); 82 const base::TimeDelta kDuration = base::TimeDelta::FromMilliseconds(20); 95 base::TimeDelta max_rtcp_timeout = 96 base::TimeDelta::FromMilliseconds(1 + kDefaultRtcpIntervalMs * 3 / 2);
|
/external/chromium_org/remoting/base/ |
rate_counter_unittest.cc | 14 RateCounter rate_counter(base::TimeDelta::FromSeconds(1)); 19 now += base::TimeDelta::FromSeconds(1); 28 RateCounter rate_counter(base::TimeDelta::FromSeconds(1)); 46 RateCounter rate_counter(base::TimeDelta::FromSeconds(2)); 51 now += base::TimeDelta::FromSeconds(1); 67 RateCounter rate_counter(base::TimeDelta::FromSeconds(kWindowSeconds)); 73 now += base::TimeDelta::FromSeconds(1);
|