Home
last modified time | relevance | path

Searched refs:InMilliseconds (Results 1 – 25 of 271) sorted by relevance

1234567891011

/external/chromium_org/cc/scheduler/
Ddelay_based_time_source_unittest.cc94 EXPECT_EQ(16, task_runner->NextPendingTaskDelay().InMilliseconds()); in TEST()
99 EXPECT_EQ(16, task_runner->NextPendingTaskDelay().InMilliseconds()); in TEST()
115 EXPECT_EQ(16, task_runner->NextPendingTaskDelay().InMilliseconds()); in TEST()
121 EXPECT_EQ(16, task_runner->NextPendingTaskDelay().InMilliseconds()); in TEST()
138 EXPECT_EQ(16, task_runner->NextPendingTaskDelay().InMilliseconds()); in TEST()
143 EXPECT_EQ(0, task_runner->NextPendingTaskDelay().InMilliseconds()); in TEST()
160 EXPECT_EQ(16, task_runner->NextPendingTaskDelay().InMilliseconds()); in TEST()
166 EXPECT_EQ(16, task_runner->NextPendingTaskDelay().InMilliseconds()); in TEST()
182 EXPECT_EQ(16, task_runner->NextPendingTaskDelay().InMilliseconds()); in TEST()
188 EXPECT_EQ(8, task_runner->NextPendingTaskDelay().InMilliseconds()); in TEST()
[all …]
/external/chromium_org/base/profiler/
Dtracked_time_unittest.cc22 EXPECT_EQ(kSomeMilliseconds, (some - TrackedTime()).InMilliseconds()); in TEST()
28 EXPECT_EQ(kReallyBigMilliseconds, (big - base::TimeTicks()).InMilliseconds()); in TEST()
32 EXPECT_EQ(kSomeMilliseconds, (wrapped_big - TrackedTime()).InMilliseconds()); in TEST()
42 EXPECT_EQ(kFirstMilliseconds, first.InMilliseconds()); in TEST()
43 EXPECT_EQ(kSecondMilliseconds, second.InMilliseconds()); in TEST()
46 EXPECT_EQ(kFirstMilliseconds + kSecondMilliseconds, sum.InMilliseconds()); in TEST()
65 EXPECT_LE(0, before.InMilliseconds()); in TEST()
67 EXPECT_GE(0, after.InMilliseconds()); in TEST()
101 EXPECT_LE(0, before.InMilliseconds()); in TEST()
103 EXPECT_GE(0, after.InMilliseconds()); in TEST()
Dtracked_time.cc42 int32 Duration::InMilliseconds() const { return ms_; } in InMilliseconds() function in tracked_objects::Duration
49 : ms_((time - base::TimeTicks()).InMilliseconds()) { in TrackedTime()
/external/chromium_org/media/filters/
Dpipeline_integration_test.cc721 EXPECT_EQ(0, pipeline_->GetBufferedTimeRanges().start(0).InMilliseconds()); in TEST_F()
723 pipeline_->GetBufferedTimeRanges().end(0).InMilliseconds()); in TEST_F()
740 EXPECT_EQ(0, pipeline_->GetBufferedTimeRanges().start(0).InMilliseconds()); in TEST_F()
742 pipeline_->GetBufferedTimeRanges().end(0).InMilliseconds()); in TEST_F()
760 EXPECT_EQ(0, pipeline_->GetBufferedTimeRanges().start(0).InMilliseconds()); in TEST_F()
762 pipeline_->GetBufferedTimeRanges().end(0).InMilliseconds()); in TEST_F()
777 EXPECT_EQ(0, pipeline_->GetBufferedTimeRanges().start(0).InMilliseconds()); in TEST_F()
779 pipeline_->GetBufferedTimeRanges().end(0).InMilliseconds()); in TEST_F()
795 EXPECT_EQ(0, pipeline_->GetBufferedTimeRanges().start(0).InMilliseconds()); in TEST_F()
797 pipeline_->GetBufferedTimeRanges().end(0).InMilliseconds()); in TEST_F()
[all …]
Daudio_clock_unittest.cc30 return clock_.front_timestamp().InMilliseconds(); in FrontTimestampInMilliseconds()
34 return clock_.back_timestamp().InMilliseconds(); in BackTimestampInMilliseconds()
39 milliseconds)).InMilliseconds(); in TimestampSinceLastWritingInMilliseconds()
44 timestamp_ms)).InMilliseconds(); in TimeUntilPlaybackInMilliseconds()
52 return clock_.contiguous_audio_data_buffered().InMilliseconds(); in ContiguousAudioDataBufferedInMilliseconds()
57 .InMilliseconds(); in ContiguousAudioDataBufferedAtSameRateInMilliseconds()
/external/chromium_org/base/debug/
Dtrace_event_synthetic_delay_unittest.cc47 return (Now() - start).InMilliseconds(); in TestFunction()
53 return (Now() - start).InMilliseconds(); in AsyncTestFunctionBegin()
59 return (Now() - start).InMilliseconds(); in AsyncTestFunctionEnd()
148 EXPECT_GE((Now() - start_time).InMilliseconds(), kTargetDurationMs); in TEST_F()
152 EXPECT_LT((Now() - start_time).InMilliseconds(), kShortDurationMs); in TEST_F()
/external/chromium_org/media/cast/logging/
Dencoding_event_subscriber_unittest.cc22 int64 InMilliseconds(base::TimeTicks event_time) { in InMilliseconds() function
23 return (event_time - base::TimeTicks()).InMilliseconds(); in InMilliseconds()
180 EXPECT_EQ(InMilliseconds(now), event->event_timestamp_ms(0)); in TEST_F()
212 EXPECT_EQ(InMilliseconds(now), event->event_timestamp_ms(0)); in TEST_F()
244 EXPECT_EQ(InMilliseconds(now), event->event_timestamp_ms(0)); in TEST_F()
290 EXPECT_EQ(InMilliseconds(now1), event->event_timestamp_ms(0)); in TEST_F()
291 EXPECT_EQ(InMilliseconds(now3), event->event_timestamp_ms(1)); in TEST_F()
306 EXPECT_EQ(InMilliseconds(now2), event->event_timestamp_ms(0)); in TEST_F()
340 EXPECT_EQ(InMilliseconds(now), base_event.event_timestamp_ms(0)); in TEST_F()
393 EXPECT_EQ(InMilliseconds(now1), base_event.event_timestamp_ms(0)); in TEST_F()
[all …]
Dreceiver_time_offset_estimator_impl_unittest.cc105 int64 lower_bound_ms = lower_bound.InMilliseconds(); in TEST_F()
106 int64 upper_bound_ms = upper_bound.InMilliseconds(); in TEST_F()
169 int64 lower_bound_ms = lower_bound.InMilliseconds(); in TEST_F()
170 int64 upper_bound_ms = upper_bound.InMilliseconds(); in TEST_F()
298 int64 lower_bound_ms = lower_bound.InMilliseconds(); in TEST_F()
299 int64 upper_bound_ms = upper_bound.InMilliseconds(); in TEST_F()
/external/chromium_org/chromecast/media/cma/base/
Dbuffering_state.cc98 << " media_time_ms=" << media_time_.InMilliseconds() in ToString()
99 << " buffered_time_ms=" << buffered_time_.InMilliseconds() in ToString()
100 << " low_level_ms=" << config_->low_level().InMilliseconds() in ToString()
101 << " high_level_ms=" << config_->high_level().InMilliseconds(); in ToString()
Dbuffering_controller.cc40 << high_level_threshold.InMilliseconds(); in UpdateHighLevelThreshold()
49 << low_level_threshold.InMilliseconds(); in UpdateHighLevelThreshold()
149 << buffering_user_time.InMilliseconds() << "ms"; in OnBufferingStateChanged()
/external/chromium_org/chrome/browser/chromeos/login/
Dexisting_user_controller_auto_login_unittest.cc191 EXPECT_EQ(auto_login_timer()->GetCurrentDelay().InMilliseconds(), in TEST_F()
225 EXPECT_EQ(auto_login_timer()->GetCurrentDelay().InMilliseconds(), in TEST_F()
234 EXPECT_EQ(auto_login_timer()->GetCurrentDelay().InMilliseconds(), in TEST_F()
259 EXPECT_EQ(auto_login_timer()->GetCurrentDelay().InMilliseconds(), in TEST_F()
269 EXPECT_EQ(auto_login_timer()->GetCurrentDelay().InMilliseconds(), in TEST_F()
279 EXPECT_EQ(auto_login_timer()->GetCurrentDelay().InMilliseconds(), in TEST_F()
/external/chromium_org/base/metrics/
Dstats_table_unittest.cc321 EXPECT_LE(kDuration.InMilliseconds(), table.GetCounterValue("t:bar")); in TEST_F()
328 EXPECT_LE(kDuration.InMilliseconds() * 2, table.GetCounterValue("t:bar")); in TEST_F()
353 EXPECT_LE(kDuration.InMilliseconds(), table.GetCounterValue("t:baz")); in TEST_F()
360 EXPECT_LE(kDuration.InMilliseconds() * 2, table.GetCounterValue("t:baz")); in TEST_F()
387 EXPECT_LE(kDuration.InMilliseconds(), table.GetCounterValue("t:foo")); in TEST_F()
388 EXPECT_LE(kDuration.InMilliseconds(), table.GetCounterValue("t:bar")); in TEST_F()
397 EXPECT_LE(kDuration.InMilliseconds() * 2, table.GetCounterValue("t:foo")); in TEST_F()
398 EXPECT_LE(kDuration.InMilliseconds() * 2, table.GetCounterValue("t:bar")); in TEST_F()
/external/chromium_org/chrome/browser/extensions/
Dpage_action_browsertest.cc139 << (base::TimeTicks::Now() - start_time).InMilliseconds() in IN_PROC_BROWSER_TEST_F()
149 << (base::TimeTicks::Now() - start_time).InMilliseconds() in IN_PROC_BROWSER_TEST_F()
159 << (base::TimeTicks::Now() - start_time).InMilliseconds() in IN_PROC_BROWSER_TEST_F()
165 << (base::TimeTicks::Now() - start_time).InMilliseconds() in IN_PROC_BROWSER_TEST_F()
172 << (base::TimeTicks::Now() - start_time).InMilliseconds() in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/remoting/host/
Dcapture_scheduler_unittest.cc32 scheduler.NextCaptureDelay().InMilliseconds()) << i << " "<< j; in TEST()
57 scheduler.NextCaptureDelay().InMilliseconds()); in TEST()
82 scheduler.NextCaptureDelay().InMilliseconds()); in TEST()
Dcapture_scheduler.cc58 capture_time_.Record(capture_time.InMilliseconds()); in RecordCaptureTime()
62 encode_time_.Record(encode_time.InMilliseconds()); in RecordEncodeTime()
/external/chromium_org/base/synchronization/
Dspin_wait.h42 EXPECT_LE((base::TimeTicks::Now() - start).InMilliseconds(), \
43 kTimeout.InMilliseconds()) << "Timed out"; \
/external/chromium_org/components/nacl/renderer/
Dhistogram.cc152 HistogramTimeSmall(name, static_cast<int64_t>(td.InMilliseconds())); in HistogramStartupTimeSmall()
156 static_cast<int64_t>(td.InMilliseconds() / size_in_MB)); in HistogramStartupTimeSmall()
163 HistogramTimeMedium(name, static_cast<int64_t>(td.InMilliseconds())); in HistogramStartupTimeMedium()
167 static_cast<int64_t>(td.InMilliseconds() / size_in_MB)); in HistogramStartupTimeMedium()
/external/chromium_org/components/domain_reliability/
Dbeacon.cc38 elapsed.InMilliseconds()); in ToValue()
40 (upload_time - start_time).InMilliseconds()); in ToValue()
/external/chromium_org/net/dns/
Ddns_session_unittest.cc231 EXPECT_LT(timeoutDelta.InMilliseconds(), 10); in TEST_F()
239 EXPECT_LT(timeoutDelta.InMilliseconds(), 10); in TEST_F()
247 EXPECT_EQ(config_.timeout.InMilliseconds(), timeout.InMilliseconds()); in TEST_F()
/external/chromium_org/chrome/browser/metrics/
Dperf_provider_chromeos.cc351 sampled_profile->set_suspend_duration_ms(sleep_duration.InMilliseconds()); in CollectPerfDataAfterResume()
352 sampled_profile->set_ms_after_resume(time_after_resume.InMilliseconds()); in CollectPerfDataAfterResume()
362 sampled_profile->set_ms_after_restore(time_after_restore.InMilliseconds()); in CollectPerfDataAfterSessionRestore()
398 .InMilliseconds()); in ParseProtoIfValid()
/external/chromium_org/base/message_loop/
Dincoming_task_queue.cc35 delay.InMilliseconds() < (2 * Time::kMinLowResolutionThresholdMs)) { in AddToIncomingQueue()
83 DCHECK_EQ(delay.InMilliseconds(), 0) << "delay should not be negative"; in CalculateDelayedRuntime()
/external/chromium_org/ash/wm/
Dwindow_animations_unittest.cc195 layer->GetAnimator()->GetTransitionDuration().InMilliseconds()); in TEST_F()
217 layer->GetAnimator()->GetTransitionDuration().InMilliseconds()); in TEST_F()
242 EXPECT_EQ(default_duration.InMilliseconds(), in TEST_F()
243 layer->GetAnimator()->GetTransitionDuration().InMilliseconds()); in TEST_F()
/external/chromium_org/media/base/
Ddecoder_buffer.cc86 << " discard_padding (ms): (" << discard_padding_.first.InMilliseconds() in AsHumanReadableString()
87 << ", " << discard_padding_.second.InMilliseconds() << ")"; in AsHumanReadableString()
/external/chromium_org/media/cast/net/rtcp/
Drtcp_builder.cc28 int64 time_delta_ms = time_delta.InMilliseconds(); in MergeEventTypeAndTimestampForWireFormat()
272 DCHECK_LE(target_delay.InMilliseconds(), in AddCast()
274 writer_.WriteU16(target_delay.InMilliseconds()); in AddCast()
404 (event_timestamp_base - base::TimeTicks()).InMilliseconds(); in AddReceiverLog()
422 static_cast<uint16>(event_message.delay_delta.InMilliseconds())); in AddReceiverLog()
501 if (delta.InMilliseconds() > kMaxWireFormatTimeDeltaMs) in GetRtcpReceiverLogMessage()
/external/chromium_org/media/formats/mp2t/
Dmp2t_stream_parser.cc532 << stream_parser_buffer->GetDecodeTimestamp().InMilliseconds() in OnEmitAudioBuffer()
534 << stream_parser_buffer->timestamp().InMilliseconds() in OnEmitAudioBuffer()
536 << stream_parser_buffer->duration().InMilliseconds(); in OnEmitAudioBuffer()
557 << stream_parser_buffer->GetDecodeTimestamp().InMilliseconds() in OnEmitVideoBuffer()
559 << stream_parser_buffer->timestamp().InMilliseconds() in OnEmitVideoBuffer()
561 << stream_parser_buffer->duration().InMilliseconds() in OnEmitVideoBuffer()

1234567891011