Home
last modified time | relevance | path

Searched refs:AdvanceTime (Results 1 – 25 of 72) sorted by relevance

123

/external/webrtc/rtc_base/
Drate_tracker_unittest.cc24 void AdvanceTime(int delta) { time_ += delta; } in AdvanceTime() function in rtc::RateTrackerForTest
35 tracker.AdvanceTime(33); in TEST()
37 tracker.AdvanceTime(1); in TEST()
48 tracker.AdvanceTime(16); in TEST()
50 tracker.AdvanceTime(1); in TEST()
63 tracker.AdvanceTime(kBucketIntervalMs - 1); in TEST()
66 tracker.AdvanceTime(1); in TEST()
74 tracker.AdvanceTime(100); in TEST()
82 tracker.AdvanceTime(800); in TEST()
95 tracker.AdvanceTime(1000); in TEST()
[all …]
Dfake_clock.cc29 void FakeClock::AdvanceTime(webrtc::TimeDelta delta) { in AdvanceTime() function in rtc::FakeClock
41 void ThreadProcessingFakeClock::AdvanceTime(webrtc::TimeDelta delta) { in AdvanceTime() function in rtc::ThreadProcessingFakeClock
42 clock_.AdvanceTime(delta); in AdvanceTime()
Dtime_utils_unittest.cc246 TEST(FakeClock, AdvanceTime) { in TEST() argument
248 clock.AdvanceTime(webrtc::TimeDelta::Micros(1u)); in TEST()
250 clock.AdvanceTime(webrtc::TimeDelta::Micros(2222u)); in TEST()
252 clock.AdvanceTime(webrtc::TimeDelta::Millis(3333u)); in TEST()
254 clock.AdvanceTime(webrtc::TimeDelta::Seconds(4444u)); in TEST()
285 clock.AdvanceTime(webrtc::TimeDelta::Seconds(60u)); in TEST()
Dfake_clock_unittest.cc24 scoped.AdvanceTime(webrtc::TimeDelta::Millis(1)); in TEST()
30 scoped.AdvanceTime(webrtc::TimeDelta::Millis(1)); in TEST()
Dfake_clock.h43 void AdvanceTime(webrtc::TimeDelta delta);
54 void AdvanceTime(webrtc::TimeDelta delta);
Dtest_client.cc46 AdvanceTime(1); in CheckConnState()
83 AdvanceTime(1); in NextPacket()
125 void TestClient::AdvanceTime(int ms) { in AdvanceTime() function in rtc::TestClient
/external/webrtc/modules/pacing/
Dtask_queue_paced_sender_unittest.cc157 time_controller.AdvanceTime(TimeDelta::Seconds(1)); in TEST()
182 time_controller.AdvanceTime(TimeDelta::Seconds(1)); in TEST()
206 time_controller.AdvanceTime(TimeDelta::Millis(500)); in TEST()
232 time_controller.AdvanceTime(TimeDelta::Zero()); in TEST()
236 time_controller.AdvanceTime(kPacketPacingTime / 2); in TEST()
241 time_controller.AdvanceTime(TimeDelta::Zero()); in TEST()
266 time_controller.AdvanceTime(TimeDelta::Zero()); in TEST()
272 time_controller.AdvanceTime(kCoalescingWindow - TimeDelta::Millis(1)); in TEST()
277 time_controller.AdvanceTime(TimeDelta::Millis(1)); in TEST()
303 time_controller.AdvanceTime(TimeDelta::Zero()); in TEST()
[all …]
Dpacket_router_unittest.cc458 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
484 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
509 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
538 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
571 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
589 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
601 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
612 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
634 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
656 clock.AdvanceTime(TimeDelta::Millis(1000)); in TEST()
[all …]
Dpacing_controller_unittest.cc235 clock_.AdvanceTime(TimeUntilNextProcess()); in Init()
290 clock_.AdvanceTime(std::max(TimeDelta::Zero(), next_send_time - now)); in AdvanceTimeAndProcess()
314 clock_.AdvanceTime(TimeUntilNextProcess()); in ConsumeInitialBudget()
348 clock_.AdvanceTime(process_interval); in ProcessNext()
356 clock_.AdvanceTime(wait_time); in ProcessNext()
503 clock_.AdvanceTime(TimeUntilNextProcess()); in TEST_P()
644 clock_.AdvanceTime(TimeUntilNextProcess()); in TEST_P()
656 clock_.AdvanceTime(TimeUntilNextProcess()); in TEST_P()
733 clock_.AdvanceTime(TimeUntilNextProcess()); in TEST_P()
739 clock_.AdvanceTime(TimeUntilNextProcess()); in TEST_P()
[all …]
/external/webrtc/common_video/
Dframe_rate_estimator_unittest.cc35 clock_.AdvanceTime(TimeDelta::Millis(33)); in TEST_F()
49 clock_.AdvanceTime(TimeDelta::Seconds(1) / kExpectedFps); in TEST_F()
64 clock_.AdvanceTime(TimeDelta::Seconds(1) / kLowFps); in TEST_F()
68 clock_.AdvanceTime(TimeDelta::Seconds(1) / kHighFps); in TEST_F()
77 clock_.AdvanceTime(kDefaultWindow); in TEST_F()
84 clock_.AdvanceTime(TimeDelta::Micros(1)); in TEST_F()
90 clock_.AdvanceTime(TimeDelta::Seconds(1) / 30); in TEST_F()
98 clock_.AdvanceTime(TimeDelta::Seconds(1) / 30); in TEST_F()
/external/webrtc/video/
Dvideo_stream_decoder_impl_unittest.cc182 time_controller_.AdvanceTime(TimeDelta::Millis(1)); in TEST_F()
187 time_controller_.AdvanceTime(TimeDelta::Millis(200)); in TEST_F()
193 time_controller_.AdvanceTime(TimeDelta::Millis(1)); in TEST_F()
195 time_controller_.AdvanceTime(TimeDelta::Millis(3000)); in TEST_F()
204 time_controller_.AdvanceTime(TimeDelta::Millis(1)); in TEST_F()
212 time_controller_.AdvanceTime(TimeDelta::Millis(1)); in TEST_F()
220 time_controller_.AdvanceTime(TimeDelta::Millis(1)); in TEST_F()
228 time_controller_.AdvanceTime(TimeDelta::Millis(1)); in TEST_F()
234 time_controller_.AdvanceTime(TimeDelta::Millis(1)); in TEST_F()
Dencoder_overshoot_detector_unittest.cc43 clock_.AdvanceTime(TimeDelta::Seconds(1) / target_framerate_fps_); in RunConstantUtilizationTest()
50 clock_.AdvanceTime(TimeDelta::Seconds(1) / target_framerate_fps_); in RunConstantUtilizationTest()
84 clock_.AdvanceTime(TimeDelta::Millis(time_interval_ms)); in TEST_F()
150 clock_.AdvanceTime(TimeDelta::Seconds(1) / target_framerate_fps_); in TEST_F()
/external/webrtc/test/time_controller/
Dexternal_time_controller_unittest.cc74 clock_.AdvanceTime(deadline_ - clock_.CurrentTime()); in Sleep()
79 clock_.AdvanceTime(end_time - clock_.CurrentTime()); in Sleep()
101 time_simulation.AdvanceTime(kShortInterval * (kShortIntervalCount + kMargin)); in TEST()
109 time_simulation.AdvanceTime(kLongInterval * 2); in TEST()
129 time_simulation.AdvanceTime(TimeDelta::Millis(10)); in TEST()
163 time_simulation.AdvanceTime(TimeDelta::Millis(300)); in TEST()
176 time_simulation.AdvanceTime(TimeDelta::Millis(10)); in TEST()
Dsimulated_time_controller_unittest.cc51 time_simulation.AdvanceTime(kShortInterval * (kShortIntervalCount + kMargin)); in TEST()
59 time_simulation.AdvanceTime(kLongInterval * 2); in TEST()
78 time_simulation.AdvanceTime(TimeDelta::Millis(10)); in TEST()
126 time_simulation.AdvanceTime(TimeDelta::Millis(10)); in TEST()
148 sim.AdvanceTime(TimeDelta::Seconds(1)); in TEST()
Dsimulated_time_controller.cc147 void SimulatedTimeControllerImpl::AdvanceTime(Timestamp target_time) { in AdvanceTime() function in webrtc::sim_time_impl::SimulatedTimeControllerImpl
210 void GlobalSimulatedTimeController::AdvanceTime(TimeDelta duration) { in AdvanceTime() function in webrtc::GlobalSimulatedTimeController
218 impl_.AdvanceTime(next_time); in AdvanceTime()
222 global_clock_.AdvanceTime(delta); in AdvanceTime()
/external/webrtc/common_audio/
Dsmoothing_filter_unittest.cc29 fake_clock.AdvanceTime(TimeDelta::Millis(kClockInitialTime)); in SmoothingFilterStates()
45 states->fake_clock.AdvanceTime(TimeDelta::Millis(advance_time_ms)); in CheckOutput()
145 states.fake_clock.AdvanceTime(TimeDelta::Millis(kInitTimeMs - 1)); in TEST()
152 states.fake_clock.AdvanceTime(TimeDelta::Millis(1)); in TEST()
/external/webrtc/video/adaptation/
Doveruse_frame_detector_unittest.cc110 clock_.AdvanceTime(TimeDelta::Micros(delay_us)); in InsertAndSendFramesWithInterval()
113 clock_.AdvanceTime(TimeDelta::Micros(interval_us - delay_us)); in InsertAndSendFramesWithInterval()
139 clock_.AdvanceTime(TimeDelta::Micros(delay_us - max_delay_us)); in InsertAndSendSimulcastFramesWithInterval()
147 clock_.AdvanceTime(TimeDelta::Micros(interval_us - max_delay_us)); in InsertAndSendSimulcastFramesWithInterval()
172 clock_.AdvanceTime(TimeDelta::Micros(delay_us)); in InsertAndSendFramesWithRandomInterval()
180 clock_.AdvanceTime(TimeDelta::Micros(interval_us - delay_us)); in InsertAndSendFramesWithRandomInterval()
275 clock_.AdvanceTime(TimeDelta::Micros(kProcessIntervalUs)); in TEST_F()
351 clock_.AdvanceTime(TimeDelta::Seconds(1)); in TEST_F()
358 clock_.AdvanceTime(TimeDelta::Seconds(1)); in TEST_F()
386 clock_.AdvanceTime(TimeDelta::Micros(kIntervalUs)); in TEST_F()
[all …]
/external/pdfium/fpdfsdk/
Dfpdf_formfill_embeddertest.cpp548 delegate.AdvanceTime(5000); in TEST_F()
560 delegate.AdvanceTime(4000); in TEST_F()
584 delegate.AdvanceTime(4000); in TEST_F()
602 delegate.AdvanceTime(4000); in TEST_F()
621 delegate.AdvanceTime(4000); in TEST_F()
665 delegate.AdvanceTime(1000); in TEST_F()
667 delegate.AdvanceTime(1000); in TEST_F()
669 delegate.AdvanceTime(1000); in TEST_F()
671 delegate.AdvanceTime(1000); in TEST_F()
673 delegate.AdvanceTime(1000); in TEST_F()
[all …]
/external/webrtc/modules/audio_coding/audio_network_adaptor/
Daudio_network_adaptor_impl_unittest.cc181 fake_clock.AdvanceTime(TimeDelta::Millis(kClockInitialTimeMs)); in TEST()
199 fake_clock.AdvanceTime(TimeDelta::Millis(kClockInitialTimeMs)); in TEST()
217 fake_clock.AdvanceTime(TimeDelta::Millis(100)); in TEST()
224 fake_clock.AdvanceTime(TimeDelta::Millis(50)); in TEST()
227 fake_clock.AdvanceTime(TimeDelta::Millis(200)); in TEST()
234 fake_clock.AdvanceTime(TimeDelta::Millis(150)); in TEST()
241 fake_clock.AdvanceTime(TimeDelta::Millis(50)); in TEST()
Dcontroller_manager_unittest.cc150 fake_clock.AdvanceTime(TimeDelta::Millis(kMinReorderingTimeMs - 1)); in TEST()
171 fake_clock.AdvanceTime(TimeDelta::Millis(kMinReorderingTimeMs)); in TEST()
190 fake_clock.AdvanceTime(TimeDelta::Millis(kMinReorderingTimeMs)); in TEST()
360 fake_clock.AdvanceTime(TimeDelta::Millis(kClockInitialTimeMs)); in TEST()
457 fake_clock.AdvanceTime(TimeDelta::Millis(kMinReorderingTimeMs - 1)); in TEST()
466 fake_clock.AdvanceTime(TimeDelta::Millis(1)); in TEST()
/external/pigweed/pw_chrono/
Dsimulated_system_clock_test.cc43 TEST(SimulatedSystemClock, AdvanceTime) { in TEST() argument
47 clock.AdvanceTime(kRoundedArbitraryDuration); in TEST()
/external/webrtc/api/test/
Dcreate_time_controller_unittest.cc62 clock_.AdvanceTime(deadline_ - clock_.CurrentTime()); in Sleep()
67 clock_.AdvanceTime(end_time - clock_.CurrentTime()); in Sleep()
/external/webrtc/call/
Drtp_video_sender_unittest.cc186 void AdvanceTime(TimeDelta delta) { time_controller_.AdvanceTime(delta); } in AdvanceTime() function in webrtc::__anonc88ac8f10111::RtpVideoSenderTestFixture
452 test.AdvanceTime(TimeDelta::Millis(33)); in TEST()
476 test.AdvanceTime(TimeDelta::Millis(33)); in TEST()
501 test.AdvanceTime(TimeDelta::Millis(33)); in TEST()
515 test.AdvanceTime(TimeDelta::Millis(33)); in TEST()
620 test.AdvanceTime(TimeDelta::Millis(33)); in TEST()
641 test.AdvanceTime(TimeDelta::Millis(33)); in TEST()
677 test.AdvanceTime(TimeDelta::Millis(33)); in TEST()
723 test.AdvanceTime(TimeDelta::Millis(33)); in TEST()
738 test.AdvanceTime(TimeDelta::Millis(33)); in TEST()
[all …]
/external/webrtc/modules/video_coding/
Dframe_buffer2_unittest.cc214 time_controller_.AdvanceTime(TimeDelta::Millis(0)); in ExtractFrame()
264 time_controller_.AdvanceTime(TimeDelta::Millis(50)); in TEST_F()
301 time_controller_.AdvanceTime(TimeDelta::Millis(0)); in TEST_F()
318 time_controller_.AdvanceTime(TimeDelta::Millis(kFps10)); in TEST_F()
321 time_controller_.AdvanceTime(TimeDelta::Millis(kFps10)); in TEST_F()
360 time_controller_.AdvanceTime(TimeDelta::Millis(kFps10)); in TEST_F()
382 time_controller_.AdvanceTime(TimeDelta::Millis(70)); in TEST_F()
408 time_controller_.AdvanceTime(TimeDelta::Millis(3) * kFps10); in TEST_F()
691 time_controller_.AdvanceTime(TimeDelta::Millis(1000)); in TEST_F()
/external/webrtc/system_wrappers/source/
Dclock.cc267 AdvanceTime(TimeDelta::Millis(milliseconds)); in AdvanceTimeMilliseconds()
271 AdvanceTime(TimeDelta::Micros(microseconds)); in AdvanceTimeMicroseconds()
274 void SimulatedClock::AdvanceTime(TimeDelta delta) { in AdvanceTime() function in webrtc::SimulatedClock

123