Home
last modified time | relevance | path

Searched refs:InSeconds (Results 1 – 25 of 129) sorted by relevance

123456

/external/chromium_org/media/base/
Ddecoder_buffer_queue_unittest.cc41 EXPECT_EQ(1, queue.Duration().InSeconds()); in TEST()
45 EXPECT_EQ(0, queue.Duration().InSeconds()); in TEST()
50 EXPECT_EQ(0, queue.Duration().InSeconds()); in TEST()
53 EXPECT_EQ(0, queue.Duration().InSeconds()); in TEST()
56 EXPECT_EQ(1, queue.Duration().InSeconds()); in TEST()
59 EXPECT_EQ(2, queue.Duration().InSeconds()); in TEST()
62 EXPECT_EQ(4, queue.Duration().InSeconds()); in TEST()
65 EXPECT_EQ(3, queue.Duration().InSeconds()); in TEST()
68 EXPECT_EQ(2, queue.Duration().InSeconds()); in TEST()
71 EXPECT_EQ(0, queue.Duration().InSeconds()); in TEST()
[all …]
Daudio_buffer_unittest.cc35 EXPECT_EQ(buffer->duration().InSeconds(), frames); in TEST()
226 EXPECT_EQ(frames, buffer->duration().InSeconds()); in TEST()
253 EXPECT_EQ(frames, buffer->duration().InSeconds()); in TEST()
/external/chromium_org/sync/engine/
Dbackoff_delay_provider_unittest.cc41 delay->GetInitialDelay(state).InSeconds()); in TEST_F()
46 delay->GetInitialDelay(state).InSeconds()); in TEST_F()
50 delay->GetInitialDelay(state).InSeconds()); in TEST_F()
54 delay->GetInitialDelay(state).InSeconds()); in TEST_F()
58 delay->GetInitialDelay(state).InSeconds()); in TEST_F()
66 delay->GetInitialDelay(state).InSeconds()); in TEST_F()
70 delay->GetInitialDelay(state).InSeconds()); in TEST_F()
74 delay->GetInitialDelay(state).InSeconds()); in TEST_F()
78 delay->GetInitialDelay(state).InSeconds()); in TEST_F()
87 delay->GetInitialDelay(state).InSeconds()); in TEST_F()
[all …]
Dbackoff_delay_provider.cc40 if (last_delay.InSeconds() >= kMaxBackoffSeconds) in GetDelay()
46 last_delay.InSeconds() * kBackoffRandomizationFactor); in GetDelay()
53 (rand_sign * (last_delay.InSeconds() / kBackoffRandomizationFactor)); in GetDelay()
/external/chromium_org/net/socket/
Dclient_socket_pool.cc31 DCHECK_GT(timeout.InSeconds(), 0); in set_unused_idle_socket_timeout()
32 g_unused_idle_socket_timeout_s = timeout.InSeconds(); in set_unused_idle_socket_timeout()
42 DCHECK_GT(timeout.InSeconds(), 0); in set_used_idle_socket_timeout()
43 g_used_idle_socket_timeout_s = timeout.InSeconds(); in set_used_idle_socket_timeout()
/external/chromium_org/content/browser/download/
Drate_estimator.cc36 DCHECK(bucket_time_.InSeconds() > 0); in RateEstimator()
49 int64 seconds_since_oldest = (now - oldest_time_).InSeconds(); in Increment()
51 int64 delta_buckets = seconds_since_oldest / bucket_time_.InSeconds(); in Increment()
74 return total_count / (bucket_count_ * bucket_time_.InSeconds()); in GetCountPerSecond()
78 int64 seconds_since_oldest = (now - oldest_time_).InSeconds(); in ClearOldBuckets()
80 int64 delta_buckets = seconds_since_oldest / bucket_time_.InSeconds(); in ClearOldBuckets()
/external/chromium_org/cc/animation/
Dscrollbar_animation_controller_thinning_unittest.cc60 EXPECT_EQ(2, scrollbar_controller_->DelayBeforeStart(time).InSeconds()); in TEST_F()
66 EXPECT_EQ(1, scrollbar_controller_->DelayBeforeStart(time).InSeconds()); in TEST_F()
73 EXPECT_EQ(2, scrollbar_controller_->DelayBeforeStart(time).InSeconds()); in TEST_F()
76 EXPECT_EQ(1, scrollbar_controller_->DelayBeforeStart(time).InSeconds()); in TEST_F()
82 EXPECT_EQ(0, scrollbar_controller_->DelayBeforeStart(time).InSeconds()); in TEST_F()
119 EXPECT_EQ(2, scrollbar_controller_->DelayBeforeStart(time).InSeconds()); in TEST_F()
138 EXPECT_EQ(0, scrollbar_controller_->DelayBeforeStart(time).InSeconds()); in TEST_F()
169 EXPECT_EQ(0, scrollbar_controller_->DelayBeforeStart(time).InSeconds()); in TEST_F()
198 EXPECT_EQ(0, scrollbar_controller_->DelayBeforeStart(time).InSeconds()); in TEST_F()
229 EXPECT_EQ(0, scrollbar_controller_->DelayBeforeStart(time).InSeconds()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/spellchecker/
Dspellcheck_host_metrics.cc76 CHECK_NE(0, since_start.InSeconds()); in OnHistogramTimerExpired()
78 base::TimeDelta::FromHours(1).InSeconds() / since_start.InSeconds(); in OnHistogramTimerExpired()
/external/chromium_org/media/cast/logging/
Dlogging_unittest.cc51 } while (time_interval.InSeconds() < kIntervalTime1S); in TEST_F()
87 } while (time_interval.InSeconds() < kIntervalTime1S); in TEST_F()
125 } while (time_interval.InSeconds() < kIntervalTime1S); in TEST_F()
166 } while (time_interval.InSeconds() < kIntervalTime1S); in TEST_F()
193 } while (time_interval.InSeconds() < kIntervalTime1S); in TEST_F()
/external/chromium_org/jingle/notifier/communicator/
Dlogin.cc125 DCHECK_GT(reconnect_interval_.InSeconds(), 0); in TryReconnect()
129 << reconnect_interval_.InSeconds() << " seconds"; in TryReconnect()
/external/chromium_org/chrome/browser/sync/test/integration/
Dretry_verifier.cc63 << " Time elapsed : " << time_elapsed.InSeconds() in IsRetryOnTime()
66 return ((time_elapsed.InSeconds() >= delay_table[retry_count].min_delay)); in IsRetryOnTime()
/external/chromium_org/chrome/browser/sync_file_system/
Dsync_process_runner.cc115 (base::Time::Now() - last_scheduled_).InSeconds()); in Finished()
160 name_.c_str(), time_to_next.InSeconds()); in ScheduleInternal()
/external/chromium/chrome/browser/extensions/
Dextensions_quota_service.cc109 repeat_exhaustion_allowance_(sustain.InSeconds() / in SustainedLimit()
110 config.refill_interval.InSeconds()), in SustainedLimit()
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dlauncher_favicon_loader_browsertest.cc98 if (delta.InSeconds() >= max_seconds) { in WaitForContentsLoaded()
112 if (delta.InSeconds() >= max_seconds) { in WaitForFaviconUpdated()
/external/chromium_org/chrome/browser/
Didle_chromeos.cc15 notify.Run(static_cast<int>(idle_time.InSeconds())); in CalculateIdleTime()
/external/chromium_org/ash/system/chromeos/power/
Dvideo_activity_notifier.cc33 (now - last_notify_time_).InSeconds() >= kNotifyIntervalSec) { in OnVideoDetected()
Duser_activity_notifier.cc39 (now - last_notify_time_).InSeconds() >= kNotifyIntervalSec) { in OnUserActivity()
/external/chromium_org/cloud_print/gcp20/prototype/
Dprint_job_handler.cc184 *expires_in_out = static_cast<int>(GetJobExpiration(job_id).InSeconds()); in CompleteLocalPrintJob()
196 static_cast<int>((draft->second.expiration - Time::Now()).InSeconds()); in GetJobState()
203 info_out->expires_in = static_cast<int>(GetJobExpiration(id).InSeconds()); in GetJobState()
/external/chromium_org/extensions/browser/
Dquota_service.cc145 repeat_exhaustion_allowance_(sustain.InSeconds() / in SustainedLimit()
146 config.refill_interval.InSeconds()), in SustainedLimit()
/external/chromium/base/
Dtime_unittest.cc129 EXPECT_EQ(delta.InSeconds(), 0); in TEST()
182 EXPECT_EQ(13, TimeDelta::FromSeconds(13).InSeconds()); in TEST()
/external/chromium/chrome/browser/sync/notifier/
Dregistration_manager.cc196 CalculateBackoff(static_cast<double>(status->next_delay.InSeconds()), in TryRegisterType()
207 << status->next_delay.InSeconds() << " seconds"; in TryRegisterType()
/external/chromium_org/chrome/browser/metrics/
Dmetrics_reporting_scheduler.cc157 if (upload_interval_ > max_interval || upload_interval_.InSeconds() < 0) { in BackOffUploadInterval()
/external/chromium_org/chrome/browser/net/
Dchrome_network_delegate.cc291 freshness_lifetime.InSeconds(), in RecordContentLengthHistograms()
292 base::TimeDelta::FromHours(1).InSeconds(), in RecordContentLengthHistograms()
293 base::TimeDelta::FromDays(30).InSeconds(), in RecordContentLengthHistograms()
295 if (freshness_lifetime.InSeconds() <= 0) in RecordContentLengthHistograms()
/external/chromium_org/chrome/browser/chromeos/app_mode/
Dkiosk_app_update_service_browsertest.cc112 prefs::kUptimeLimit, base::TimeDelta::FromMinutes(30).InSeconds()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/sync/notifier/
Dregistration_manager.cc235 CalculateBackoff(static_cast<double>(status->next_delay.InSeconds()), in TryRegisterId()
246 << status->next_delay.InSeconds() << " seconds"; in TryRegisterId()

123456