Home
last modified time | relevance | path

Searched refs:NowTicks (Results 1 – 25 of 81) sorted by relevance

1234

/external/chromium_org/media/cast/logging/
Dlogging_impl_unittest.cc48 base::TimeTicks start_time = testing_clock_.NowTicks(); in TEST_F()
49 base::TimeDelta time_interval = testing_clock_.NowTicks() - start_time; in TEST_F()
54 now = testing_clock_.NowTicks(); in TEST_F()
76 base::TimeTicks start_time = testing_clock_.NowTicks(); in TEST_F()
77 base::TimeDelta time_interval = testing_clock_.NowTicks() - start_time; in TEST_F()
86 logging_.InsertEncodedFrameEvent(testing_clock_.NowTicks(), in TEST_F()
92 time_interval = testing_clock_.NowTicks() - start_time; in TEST_F()
106 base::TimeTicks start_time = testing_clock_.NowTicks(); in TEST_F()
107 base::TimeDelta time_interval = testing_clock_.NowTicks() - start_time; in TEST_F()
114 testing_clock_.NowTicks(), in TEST_F()
[all …]
Dreceiver_time_offset_estimator_impl_unittest.cc67 sender_clock_->NowTicks(), in TEST_F()
79 receiver_clock_.NowTicks(), FRAME_ACK_SENT, VIDEO_EVENT, in TEST_F()
86 sender_clock_->NowTicks(), FRAME_ACK_RECEIVED, VIDEO_EVENT, in TEST_F()
116 sender_clock_->NowTicks(), in TEST_F()
127 base::TimeTicks event_b_time = receiver_clock_.NowTicks(); in TEST_F()
129 base::TimeTicks event_c_time = sender_clock_->NowTicks(); in TEST_F()
170 sender_clock_->NowTicks(), in TEST_F()
180 sender_clock_->NowTicks(), in TEST_F()
188 receiver_clock_.NowTicks(), FRAME_ACK_SENT, VIDEO_EVENT, in TEST_F()
193 receiver_clock_.NowTicks(), FRAME_ACK_SENT, VIDEO_EVENT, in TEST_F()
[all …]
Dstats_event_subscriber_unittest.cc74 base::TimeTicks start_time = sender_clock_->NowTicks(); in TEST_F()
76 cast_environment_->Logging()->InsertFrameEvent(sender_clock_->NowTicks(), in TEST_F()
87 base::TimeTicks end_time = sender_clock_->NowTicks(); in TEST_F()
108 base::TimeTicks start_time = sender_clock_->NowTicks(); in TEST_F()
114 sender_clock_->NowTicks(), in TEST_F()
127 base::TimeTicks end_time = sender_clock_->NowTicks(); in TEST_F()
154 base::TimeTicks start_time = sender_clock_->NowTicks(); in TEST_F()
156 cast_environment_->Logging()->InsertFrameEvent(receiver_clock_.NowTicks(), in TEST_F()
166 base::TimeTicks end_time = sender_clock_->NowTicks(); in TEST_F()
193 receiver_clock_.NowTicks(), in TEST_F()
[all …]
Dsimple_event_subscriber_unittest.cc44 testing_clock_->NowTicks(), FRAME_ENCODED, AUDIO_EVENT, in TEST_F()
48 testing_clock_->NowTicks(), FRAME_PLAYOUT, AUDIO_EVENT, in TEST_F()
52 testing_clock_->NowTicks(), FRAME_DECODED, AUDIO_EVENT, in TEST_F()
58 testing_clock_->NowTicks(), PACKET_RECEIVED, AUDIO_EVENT, in TEST_F()
62 testing_clock_->NowTicks(), FRAME_DECODED, VIDEO_EVENT, in TEST_F()
66 testing_clock_->NowTicks(), FRAME_DECODED, VIDEO_EVENT, in TEST_F()
Dencoding_event_subscriber_unittest.cc76 base::TimeTicks now(testing_clock_->NowTicks()); in TEST_F()
102 base::TimeTicks now(testing_clock_->NowTicks()); in TEST_F()
126 base::TimeTicks now(testing_clock_->NowTicks()); in TEST_F()
159 base::TimeTicks now(testing_clock_->NowTicks()); in TEST_F()
191 base::TimeTicks now(testing_clock_->NowTicks()); in TEST_F()
221 base::TimeTicks now(testing_clock_->NowTicks()); in TEST_F()
257 base::TimeTicks now1(testing_clock_->NowTicks()); in TEST_F()
263 base::TimeTicks now2(testing_clock_->NowTicks()); in TEST_F()
270 base::TimeTicks now3(testing_clock_->NowTicks()); in TEST_F()
313 base::TimeTicks now(testing_clock_->NowTicks()); in TEST_F()
[all …]
/external/chromium_org/media/cast/rtcp/
Dreceiver_rtcp_event_subscriber_unittest.cc55 testing_clock_->NowTicks(), FRAME_PLAYOUT, VIDEO_EVENT, in InsertEvents()
59 testing_clock_->NowTicks(), FRAME_DECODED, VIDEO_EVENT, in InsertEvents()
62 testing_clock_->NowTicks(), PACKET_RECEIVED, VIDEO_EVENT, in InsertEvents()
68 testing_clock_->NowTicks(), FRAME_PLAYOUT, AUDIO_EVENT, in InsertEvents()
72 testing_clock_->NowTicks(), FRAME_DECODED, AUDIO_EVENT, in InsertEvents()
75 testing_clock_->NowTicks(), PACKET_RECEIVED, AUDIO_EVENT, in InsertEvents()
80 cast_environment_->Logging()->InsertFrameEvent(testing_clock_->NowTicks(), in InsertEvents()
85 cast_environment_->Logging()->InsertFrameEvent(testing_clock_->NowTicks(), in InsertEvents()
121 testing_clock_->NowTicks(), FRAME_DECODED, VIDEO_EVENT, in TEST_F()
Drtcp_unittest.cc212 const base::TimeTicks start_time = testing_clock_->NowTicks(); in TEST_F()
231 EXPECT_EQ(testing_clock_->NowTicks(), rtcp.TimeToSendNextRtcpReport()); in TEST_F()
332 rtcp_sender.SendRtcpFromRtpSender(testing_clock_->NowTicks(), 1); in TEST_F()
341 rtcp_sender.SendRtcpFromRtpSender(testing_clock_->NowTicks(), 2); in TEST_F()
388 rtcp_sender.SendRtcpFromRtpSender(testing_clock_->NowTicks(), 1); in TEST_F()
403 rtcp_sender.SendRtcpFromRtpSender(testing_clock_->NowTicks(), 2); in TEST_F()
421 rtcp_sender.SendRtcpFromRtpSender(testing_clock_->NowTicks(), 3); in TEST_F()
475 rtcp_sender.SendRtcpFromRtpSender(testing_clock_->NowTicks(), 0); in TEST_F()
494 rtcp_sender.SendRtcpFromRtpSender(testing_clock_->NowTicks(), 1); in TEST_F()
Drtcp.cc158 base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in SendRtcpFromRtpReceiver()
240 const base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in OnReceivedNtp()
285 DCHECK((cast_environment_->Clock()->NowTicks() - local_reference_time) < in GetLatestLipSyncTimes()
294 base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in OnReceivedSendReportRequest()
318 cast_environment_->Clock()->NowTicks() - it->second; in OnReceivedDelaySinceLastReport()
391 base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in UpdateNextTimeToSendRtcp()
/external/chromium_org/media/cast/congestion_control/
Dcongestion_control_unittest.cc32 congestion_control_->AckFrame(frame_id, testing_clock_.NowTicks()); in AckFrame()
43 frame_id_, frame_size, testing_clock_.NowTicks()); in Run()
74 testing_clock_.NowTicks() + base::TimeDelta::FromMilliseconds(300), in TEST_F()
80 testing_clock_.NowTicks() + base::TimeDelta::FromMilliseconds(200), in TEST_F()
87 testing_clock_.NowTicks() + base::TimeDelta::FromMilliseconds(100), in TEST_F()
95 frame_id_++, safe_bitrate * 100 / 1000, testing_clock_.NowTicks()); in TEST_F()
99 testing_clock_.NowTicks() + base::TimeDelta::FromMilliseconds(300), in TEST_F()
107 frame_id_++, safe_bitrate * 100 / 1000, testing_clock_.NowTicks()); in TEST_F()
111 testing_clock_.NowTicks() + base::TimeDelta::FromMilliseconds(300), in TEST_F()
/external/chromium_org/media/cast/test/
Dfake_single_thread_task_runner.cc33 clock_->NowTicks(), in PostDelayedTask()
53 if (clock_->NowTicks() < task.GetTimeToRun()) in RunTasks()
62 base::TimeTicks run_until = clock_->NowTicks() + t; in Sleep()
73 clock_->Advance(run_until - clock_->NowTicks()); in Sleep()
79 clock_->Advance(run_until - clock_->NowTicks()); in Sleep()
83 clock_->Advance(task.GetTimeToRun() - clock_->NowTicks()); in Sleep()
Dskewed_tick_clock.cc16 last_skew_set_time_(clock_->NowTicks()), in SkewedTickClock()
27 base::TimeTicks now = clock_->NowTicks(); in SetSkew()
33 base::TimeTicks SkewedTickClock::NowTicks() { in NowTicks() function in media::cast::test::SkewedTickClock
34 return SkewTicks(clock_->NowTicks()); in NowTicks()
Dend2end_unittest.cc539 testing_clock_sender_->NowTicks() + in FeedAudioFrames()
557 testing_clock_sender_->NowTicks() + in FeedAudioFramesWithExpectedDelay()
683 testing_clock_receiver_->NowTicks(), in BasicPlayerGotVideoFrame()
700 testing_clock_receiver_->NowTicks(), in BasicPlayerGotAudioFrame()
807 testing_clock_sender_->NowTicks() + in TEST_F()
810 SendVideoFrame(video_start, testing_clock_sender_->NowTicks()); in TEST_F()
894 const base::TimeTicks initial_send_time = testing_clock_sender_->NowTicks(); in TEST_F()
914 SendVideoFrame(video_start, testing_clock_sender_->NowTicks()); in TEST_F()
941 testing_clock_sender_->NowTicks() + in TEST_F()
944 SendVideoFrame(video_start, testing_clock_sender_->NowTicks()); in TEST_F()
[all …]
/external/chromium_org/media/cast/video_sender/
Dvideo_sender_unittest.cc234 const base::TimeTicks capture_time = testing_clock_->NowTicks(); in TEST_F()
248 const base::TimeTicks capture_time = testing_clock_->NowTicks(); in TEST_F()
263 const base::TimeTicks capture_time = testing_clock_->NowTicks(); in TEST_F()
287 const base::TimeTicks capture_time = testing_clock_->NowTicks(); in TEST_F()
319 const base::TimeTicks capture_time = testing_clock_->NowTicks(); in TEST_F()
347 video_sender_->InsertRawVideoFrame(video_frame, testing_clock_->NowTicks()); in TEST_F()
353 video_sender_->InsertRawVideoFrame(video_frame, testing_clock_->NowTicks()); in TEST_F()
362 video_sender_->InsertRawVideoFrame(video_frame, testing_clock_->NowTicks()); in TEST_F()
391 video_sender_->InsertRawVideoFrame(video_frame, testing_clock_->NowTicks()); in TEST_F()
400 video_sender_->InsertRawVideoFrame(video_frame, testing_clock_->NowTicks()); in TEST_F()
[all …]
Dvideo_sender.cc107 cast_environment_->Clock()->NowTicks(), in InsertRawVideoFrame()
152 last_send_time_ = cast_environment_->Clock()->NowTicks(); in SendEncodedVideoFrame()
212 cast_environment_->Clock()->NowTicks(); in ScheduleNextRtcpReport()
228 const base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in SendRtcpReport()
245 last_send_time_ - cast_environment_->Clock()->NowTicks() + in ScheduleNextResendCheck()
260 cast_environment_->Clock()->NowTicks() - last_send_time_; in ResendCheck()
327 base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in OnReceivedCastFeedback()
384 last_send_time_ = cast_environment_->Clock()->NowTicks(); in ResendForKickstart()
/external/chromium_org/media/cast/framer/
Dcast_message_builder.cc39 last_update_time_ = clock_->NowTicks(); in CompleteFrameReceived()
91 last_update_time_ = clock_->NowTicks(); in UpdateAckMessage()
125 last_update_time_ = clock_->NowTicks(); in UpdateCastMessageInternal()
130 base::TimeTicks now = clock_->NowTicks(); in UpdateCastMessageInternal()
145 base::TimeTicks now = clock_->NowTicks(); in BuildPacketList()
/external/chromium_org/content/renderer/media/
Drender_media_log.cc18 last_ipc_send_time_(tick_clock_->NowTicks()) { in RenderMediaLog()
41 base::TimeTicks curr_time = tick_clock_->NowTicks(); in AddEvent()
63 last_ipc_send_time_ = tick_clock_->NowTicks(); in SetTickClockForTesting()
/external/chromium_org/media/cast/audio_sender/
Daudio_sender.cc120 last_send_time_ = cast_environment_->Clock()->NowTicks(); in SendEncodedAudioFrame()
168 rtcp_.TimeToSendNextRtcpReport() - cast_environment_->Clock()->NowTicks(); in ScheduleNextRtcpReport()
184 const base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in SendRtcpReport()
201 last_send_time_ - cast_environment_->Clock()->NowTicks() + in ScheduleNextResendCheck()
216 cast_environment_->Clock()->NowTicks() - last_send_time_; in ResendCheck()
275 const base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in OnReceivedCastFeedback()
330 last_send_time_ = cast_environment_->Clock()->NowTicks(); in ResendForKickstart()
/external/chromium_org/google_apis/gcm/engine/
Dconnection_factory_impl_unittest.cc102 return tick_clock_->NowTicks(); in ImplGetTimeNow()
125 virtual base::TimeTicks NowTicks() OVERRIDE;
185 NextRetryAttempt() - tick_clock_.NowTicks(); in ConnectImpl()
219 base::TimeTicks TestConnectionFactoryImpl::NowTicks() { in NowTicks() function in gcm::__anon23be709d0111::TestConnectionFactoryImpl
220 return tick_clock_.NowTicks(); in NowTicks()
351 base::TimeTicks connect_time = factory()->tick_clock()->NowTicks(); in TEST_F()
373 base::TimeTicks connect_time = factory()->tick_clock()->NowTicks(); in TEST_F()
488 base::TimeTicks connect_time = factory()->tick_clock()->NowTicks(); in TEST_F()
495 connect_time = factory()->tick_clock()->NowTicks(); in TEST_F()
509 connect_time = factory()->tick_clock()->NowTicks(); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/power/
Dperipheral_battery_observer_browsertest.cc90 EXPECT_EQ(info.last_notification_timestamp, clock.NowTicks()); in IN_PROC_BROWSER_TEST_F()
99 clock.NowTicks() - base::TimeDelta::FromSeconds(5)); in IN_PROC_BROWSER_TEST_F()
108 clock.NowTicks() - base::TimeDelta::FromSeconds(10)); in IN_PROC_BROWSER_TEST_F()
117 clock.NowTicks() - base::TimeDelta::FromSeconds(20)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/mojo/common/
Dtime_helper.cc27 base::TimeTicks NowTicks() { in NowTicks() function
28 return tick_clock ? tick_clock->NowTicks() : base::TimeTicks::Now(); in NowTicks()
/external/chromium_org/ui/display/chromeos/x11/
Dnative_display_event_dispatcher_x11.cc24 startup_time_ = tick_clock_->NowTicks(); in NativeDisplayEventDispatcherX11()
63 bool check_cache = (tick_clock_->NowTicks() - startup_time_) in DispatchEvent()
104 startup_time_ = tick_clock_->NowTicks(); in SetTickClockForTest()
/external/chromium_org/components/domain_reliability/
Dscheduler.cc84 first_beacon_time_ = time_->NowTicks(); in OnBeaconAdded()
96 base::TimeTicks now = time_->NowTicks(); in OnUploadStart()
129 collector->next_upload = time_->NowTicks() + retry_interval; in OnUploadComplete()
146 base::TimeTicks now = time_->NowTicks(); in MaybeScheduleUpload()
Dutil.h55 virtual base::TimeTicks NowTicks() = 0;
76 virtual base::TimeTicks NowTicks() OVERRIDE;
/external/chromium_org/media/cast/receiver/
Dframe_receiver.cc121 const base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in ProcessParsedPacket()
177 base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in CastFeedback()
207 const base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in EmitAvailableEncodedFrames()
286 send_time - cast_environment_->Clock()->NowTicks(); in ScheduleNextCastMessage()
306 cast_environment_->Clock()->NowTicks(); in ScheduleNextRtcpReport()
/external/chromium_org/chrome/browser/media/
Daudio_stream_monitor.cc59 last_blurt_time_ = clock_->NowTicks(); in Poll()
70 const base::TimeTicks now = clock_->NowTicks(); in MaybeToggle()

1234