/external/webrtc/rtc_base/ |
D | rate_tracker_unittest.cc | 24 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 …]
|
D | fake_clock.cc | 29 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()
|
D | time_utils_unittest.cc | 246 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()
|
D | fake_clock_unittest.cc | 24 scoped.AdvanceTime(webrtc::TimeDelta::Millis(1)); in TEST() 30 scoped.AdvanceTime(webrtc::TimeDelta::Millis(1)); in TEST()
|
D | fake_clock.h | 43 void AdvanceTime(webrtc::TimeDelta delta); 54 void AdvanceTime(webrtc::TimeDelta delta);
|
D | test_client.cc | 46 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/ |
D | task_queue_paced_sender_unittest.cc | 157 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 …]
|
D | packet_router_unittest.cc | 458 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 …]
|
D | pacing_controller_unittest.cc | 235 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/ |
D | frame_rate_estimator_unittest.cc | 35 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/ |
D | video_stream_decoder_impl_unittest.cc | 182 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()
|
D | encoder_overshoot_detector_unittest.cc | 43 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/ |
D | external_time_controller_unittest.cc | 74 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()
|
D | simulated_time_controller_unittest.cc | 51 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()
|
D | simulated_time_controller.cc | 147 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/ |
D | smoothing_filter_unittest.cc | 29 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/ |
D | overuse_frame_detector_unittest.cc | 110 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/ |
D | fpdf_formfill_embeddertest.cpp | 548 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/ |
D | audio_network_adaptor_impl_unittest.cc | 181 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()
|
D | controller_manager_unittest.cc | 150 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/ |
D | simulated_system_clock_test.cc | 43 TEST(SimulatedSystemClock, AdvanceTime) { in TEST() argument 47 clock.AdvanceTime(kRoundedArbitraryDuration); in TEST()
|
/external/webrtc/api/test/ |
D | create_time_controller_unittest.cc | 62 clock_.AdvanceTime(deadline_ - clock_.CurrentTime()); in Sleep() 67 clock_.AdvanceTime(end_time - clock_.CurrentTime()); in Sleep()
|
/external/webrtc/call/ |
D | rtp_video_sender_unittest.cc | 186 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/ |
D | frame_buffer2_unittest.cc | 214 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/ |
D | clock.cc | 267 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
|