/external/chromium_org/media/base/ |
D | decoder_buffer_queue_unittest.cc | 41 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 …]
|
D | audio_buffer_unittest.cc | 35 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/ |
D | backoff_delay_provider_unittest.cc | 41 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 …]
|
D | backoff_delay_provider.cc | 40 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/ |
D | client_socket_pool.cc | 31 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/ |
D | rate_estimator.cc | 36 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/ |
D | scrollbar_animation_controller_thinning_unittest.cc | 60 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/ |
D | spellcheck_host_metrics.cc | 76 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/ |
D | logging_unittest.cc | 51 } 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/ |
D | login.cc | 125 DCHECK_GT(reconnect_interval_.InSeconds(), 0); in TryReconnect() 129 << reconnect_interval_.InSeconds() << " seconds"; in TryReconnect()
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
D | retry_verifier.cc | 63 << " 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/ |
D | sync_process_runner.cc | 115 (base::Time::Now() - last_scheduled_).InSeconds()); in Finished() 160 name_.c_str(), time_to_next.InSeconds()); in ScheduleInternal()
|
/external/chromium/chrome/browser/extensions/ |
D | extensions_quota_service.cc | 109 repeat_exhaustion_allowance_(sustain.InSeconds() / in SustainedLimit() 110 config.refill_interval.InSeconds()), in SustainedLimit()
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
D | launcher_favicon_loader_browsertest.cc | 98 if (delta.InSeconds() >= max_seconds) { in WaitForContentsLoaded() 112 if (delta.InSeconds() >= max_seconds) { in WaitForFaviconUpdated()
|
/external/chromium_org/chrome/browser/ |
D | idle_chromeos.cc | 15 notify.Run(static_cast<int>(idle_time.InSeconds())); in CalculateIdleTime()
|
/external/chromium_org/ash/system/chromeos/power/ |
D | video_activity_notifier.cc | 33 (now - last_notify_time_).InSeconds() >= kNotifyIntervalSec) { in OnVideoDetected()
|
D | user_activity_notifier.cc | 39 (now - last_notify_time_).InSeconds() >= kNotifyIntervalSec) { in OnUserActivity()
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
D | print_job_handler.cc | 184 *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/ |
D | quota_service.cc | 145 repeat_exhaustion_allowance_(sustain.InSeconds() / in SustainedLimit() 146 config.refill_interval.InSeconds()), in SustainedLimit()
|
/external/chromium/base/ |
D | time_unittest.cc | 129 EXPECT_EQ(delta.InSeconds(), 0); in TEST() 182 EXPECT_EQ(13, TimeDelta::FromSeconds(13).InSeconds()); in TEST()
|
/external/chromium/chrome/browser/sync/notifier/ |
D | registration_manager.cc | 196 CalculateBackoff(static_cast<double>(status->next_delay.InSeconds()), in TryRegisterType() 207 << status->next_delay.InSeconds() << " seconds"; in TryRegisterType()
|
/external/chromium_org/chrome/browser/metrics/ |
D | metrics_reporting_scheduler.cc | 157 if (upload_interval_ > max_interval || upload_interval_.InSeconds() < 0) { in BackOffUploadInterval()
|
/external/chromium_org/chrome/browser/net/ |
D | chrome_network_delegate.cc | 291 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/ |
D | kiosk_app_update_service_browsertest.cc | 112 prefs::kUptimeLimit, base::TimeDelta::FromMinutes(30).InSeconds()); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/sync/notifier/ |
D | registration_manager.cc | 235 CalculateBackoff(static_cast<double>(status->next_delay.InSeconds()), in TryRegisterId() 246 << status->next_delay.InSeconds() << " seconds"; in TryRegisterId()
|