Home
last modified time | relevance | path

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

12

/external/chromium_org/media/cast/logging/
Dlogging_unittest.cc40 base::TimeTicks start_time = testing_clock_.NowTicks(); in TEST_F()
41 base::TimeDelta time_interval = testing_clock_.NowTicks() - start_time; in TEST_F()
50 time_interval = testing_clock_.NowTicks() - start_time; in TEST_F()
73 base::TimeTicks start_time = testing_clock_.NowTicks(); in TEST_F()
74 base::TimeDelta time_interval = testing_clock_.NowTicks() - start_time; in TEST_F()
86 time_interval = testing_clock_.NowTicks() - start_time; in TEST_F()
110 base::TimeTicks start_time = testing_clock_.NowTicks(); in TEST_F()
111 base::TimeDelta time_interval = testing_clock_.NowTicks() - start_time; in TEST_F()
124 time_interval = testing_clock_.NowTicks() - start_time; in TEST_F()
145 base::TimeTicks start_time = testing_clock_.NowTicks(); in TEST_F()
[all …]
Dlogging_raw.cc60 info.timestamp.push_back(clock_->NowTicks()); in InsertBaseFrameEvent()
65 it->second.timestamp.push_back(clock_->NowTicks()); in InsertBaseFrameEvent()
89 base_info.timestamp.push_back(clock_->NowTicks()); in InsertPacketEvent()
98 base_info.timestamp.push_back(clock_->NowTicks()); in InsertPacketEvent()
102 packet_it->second.timestamp.push_back(clock_->NowTicks()); in InsertPacketEvent()
111 event_data.timestamp.push_back(clock_->NowTicks()); in InsertGenericEvent()
120 it->second.timestamp.push_back(clock_->NowTicks()); in InsertGenericEvent()
Dlogging_stats.cc73 start_time_[event] = clock_->NowTicks(); in InsertBaseFrameEvent()
91 start_time_[event] = clock_->NowTicks(); in InsertPacketEvent()
105 start_time_[event] = clock_->NowTicks(); in InsertGenericEvent()
118 base::TimeDelta time_diff = clock_->NowTicks() - start_time_[it->first]; in GetFrameStatsData()
134 base::TimeDelta time_diff = clock_->NowTicks() - start_time_[it->first]; in GetPacketStatsData()
Dlogging_internal.cc37 info.timestamp = clock_->NowTicks(); in InsertBase()
54 info.timestamp = clock_->NowTicks(); in Insert()
75 timestamp_.push_back(clock_->NowTicks()); in Insert()
/external/chromium_org/media/cast/framer/
Dcast_message_builder.cc39 last_update_time_ = clock_->NowTicks(); in CompleteFrameReceived()
50 last_update_time_ = clock_->NowTicks(); in CompleteFrameReceived()
96 last_update_time_ = clock_->NowTicks(); in UpdateAckMessage()
129 last_update_time_ = clock_->NowTicks(); in UpdateCastMessageInternal()
134 base::TimeTicks now = clock_->NowTicks(); in UpdateCastMessageInternal()
148 base::TimeTicks now = clock_->NowTicks(); in BuildPacketList()
/external/chromium_org/media/cast/audio_receiver/
Daudio_receiver_unittest.cc126 test_audio_encoder_callback_->SetExpectedResult(0, testing_clock_.NowTicks()); in TEST_F()
153 test_audio_encoder_callback_->SetExpectedResult(0, testing_clock_.NowTicks()); in TEST_F()
162 ConvertTimeTicksToNtp(testing_clock_.NowTicks(), &ntp_high, &ntp_low); in TEST_F()
179 testing_clock_.NowTicks() + base::TimeDelta::FromMilliseconds(100)); in TEST_F()
197 test_audio_encoder_callback_->SetExpectedResult(3, testing_clock_.NowTicks()); in TEST_F()
Daudio_receiver.cc164 time_first_incoming_packet_ = cast_environment_->Clock()->NowTicks(); in IncomingParsedRtpPacket()
246 base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in DecodeAudioFrameThread()
261 base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in ReturnDecodedFrameWithPlayoutDelay()
342 base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in PostEncodedAudioFrame()
437 cast_environment_->Clock()->NowTicks(); in ScheduleNextRtcpReport()
467 cast_environment_->Clock()->NowTicks(); in ScheduleNextCastMessage()
/external/chromium_org/chrome/browser/chromeos/power/
Dperipheral_battery_observer_browsertest.cc92 EXPECT_EQ(info.last_notification_timestamp, clock.NowTicks()); in IN_PROC_BROWSER_TEST_F()
101 clock.NowTicks() - base::TimeDelta::FromSeconds(5)); in IN_PROC_BROWSER_TEST_F()
110 clock.NowTicks() - base::TimeDelta::FromSeconds(10)); in IN_PROC_BROWSER_TEST_F()
119 clock.NowTicks() - base::TimeDelta::FromSeconds(20)); in IN_PROC_BROWSER_TEST_F()
Dperipheral_battery_observer.cc153 testing_clock_->NowTicks() : base::TimeTicks::Now(); in PeripheralBatteryStatusReceived()
164 testing_clock_->NowTicks() : base::TimeTicks::Now(); in PeripheralBatteryStatusReceived()
204 base::TimeTicks now = testing_clock_ ? testing_clock_->NowTicks() : in PostNotification()
/external/chromium_org/media/cast/test/
Dend2end_unittest.cc428 start_time_ = testing_clock_.NowTicks(); in SendVideoFrame()
429 start_time_ = testing_clock_.NowTicks(); in SendVideoFrame()
430 base::TimeDelta time_diff = testing_clock_.NowTicks() - start_time_; in SendVideoFrame()
486 base::TimeTicks send_time = testing_clock_.NowTicks(); in TEST_F()
546 base::TimeTicks send_time = testing_clock_.NowTicks(); in TEST_F()
574 base::TimeTicks send_time = testing_clock_.NowTicks(); in TEST_F()
624 base::TimeTicks send_time = testing_clock_.NowTicks(); in TEST_F()
645 base::TimeTicks send_time = testing_clock_.NowTicks(); in TEST_F()
697 base::TimeTicks send_time = testing_clock_.NowTicks(); in TEST_F()
714 send_time = testing_clock_.NowTicks(); in TEST_F()
[all …]
Dfake_task_runner.cc24 PostedTask posed_task(from_here, task, clock_->NowTicks(), delay, in PostDelayedTask()
42 if (clock_->NowTicks() < task.GetTimeToRun()) return; in RunTasks()
Dsender.cc237 frame_input_->InsertAudio(audio_bus_ptr, clock_->NowTicks(), in SendFrame()
243 start_time_ = clock_->NowTicks(); in SendFrame()
244 base::TimeDelta time_diff = clock_->NowTicks() - start_time_; in SendFrame()
258 base::TimeTicks now = clock_->NowTicks(); in SendFrame()
277 send_time_ = clock_->NowTicks(); in SendVideoFrameOnTime()
/external/chromium_org/media/cast/video_sender/
Dvideo_sender.cc185 last_send_time_ = cast_environment_->Clock()->NowTicks(); in SendEncodedVideoFrame()
218 cast_environment_->Clock()->NowTicks(); in ScheduleNextRtcpReport()
287 time_to_next = last_send_time_ - cast_environment_->Clock()->NowTicks() + in ScheduleNextResendCheck()
302 cast_environment_->Clock()->NowTicks() - last_send_time_; in ResendCheck()
330 cast_environment_->Clock()->NowTicks() + in ScheduleNextSkippedFramesCheck()
349 last_checked_skip_count_time_ = cast_environment_->Clock()->NowTicks(); in SkippedFramesCheck()
403 last_send_time_ = cast_environment_->Clock()->NowTicks(); in OnReceivedCastFeedback()
451 last_send_time_ = cast_environment_->Clock()->NowTicks(); in ResendFrame()
/external/chromium_org/media/cast/rtcp/
Drtcp.cc249 base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in SendRtcpFromRtpReceiver()
308 base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in SendRtcpFromRtpSender()
346 base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in OnReceivedNtp()
359 base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in OnReceivedSendReportRequest()
404 base::TimeDelta sender_delay = cast_environment_->Clock()->NowTicks() in OnReceivedDelaySinceLastReport()
496 base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in UpdateNextTimeToSendRtcp()
/external/chromium_org/media/cast/audio_sender/
Daudio_encoder_unittest.cc113 receiver_->SetRecordedTimeLowerBound(testing_clock_.NowTicks()); in RunTestForCodec()
118 testing_clock_.NowTicks() + duration); in RunTestForCodec()
125 bus.get(), testing_clock_.NowTicks(), in RunTestForCodec()
/external/chromium_org/media/cast/congestion_control/
Dcongestion_control.cc44 base::TimeTicks now = clock_->NowTicks(); in OnAck()
85 base::TimeTicks now = clock_->NowTicks(); in OnNack()
/external/chromium_org/media/cast/video_receiver/
Dvideo_receiver.cc249 base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in PullEncodedVideoFrame()
388 base::TimeTicks now = cast_environment_->Clock()->NowTicks(); in IncomingParsedRtpPacket()
419 time_last_sent_cast_message_= cast_environment_->Clock()->NowTicks(); in CastFeedback()
430 cast_environment_->Clock()->NowTicks(); in ScheduleNextCastMessage()
448 cast_environment_->Clock()->NowTicks(); in ScheduleNextRtcpReport()
/external/chromium_org/media/base/
Dclock.cc123 reference_ = clock_->NowTicks(); in UpdateReferencePoints()
127 return ClampToValidTimeRange(ElapsedViaProvidedTime(clock_->NowTicks())); in EstimatedElapsedTime()
/external/chromium_org/base/time/
Ddefault_tick_clock.cc11 TimeTicks DefaultTickClock::NowTicks() { in NowTicks() function in base::DefaultTickClock
Dtick_clock.h35 virtual TimeTicks NowTicks() = 0;
Ddefault_tick_clock.h20 virtual TimeTicks NowTicks() OVERRIDE;
/external/chromium_org/mojo/common/
Dhandle_watcher.cc305 base::TimeTicks HandleWatcher::NowTicks() { in NowTicks() function in mojo::common::HandleWatcher
306 return tick_clock_ ? tick_clock_->NowTicks() : base::TimeTicks::Now(); in NowTicks()
312 NowTicks() + base::TimeDelta::FromMicroseconds(deadline); in MojoDeadlineToTimeTicks()
/external/chromium_org/base/test/
Dsimple_test_tick_clock.h24 virtual TimeTicks NowTicks() OVERRIDE;
Dsimple_test_tick_clock.cc15 TimeTicks SimpleTestTickClock::NowTicks() { in NowTicks() function in base::SimpleTestTickClock
/external/chromium_org/media/cast/net/pacing/
Dpaced_sender.cc84 cast_environment_->Clock()->NowTicks() + in ScheduleNextSend()
97 time_last_process_ = cast_environment_->Clock()->NowTicks(); in SendNextPacketBurst()

12