/external/webrtc/video/ |
D | stream_synchronization_unittest.cc | 58 clock_sender_.AdvanceTimeMilliseconds(100); in DelayedStreams() 59 clock_receiver_.AdvanceTimeMilliseconds(100); in DelayedStreams() 64 clock_sender_.AdvanceTimeMilliseconds(900); in DelayedStreams() 65 clock_receiver_.AdvanceTimeMilliseconds(900); in DelayedStreams() 70 clock_sender_.AdvanceTimeMilliseconds(100); in DelayedStreams() 71 clock_receiver_.AdvanceTimeMilliseconds(100); in DelayedStreams() 76 clock_sender_.AdvanceTimeMilliseconds(900); in DelayedStreams() 77 clock_receiver_.AdvanceTimeMilliseconds(900); in DelayedStreams() 87 clock_receiver_.AdvanceTimeMilliseconds(video_delay_ms); in DelayedStreams() 89 clock_receiver_.AdvanceTimeMilliseconds(audio_delay_ms - video_delay_ms); in DelayedStreams() [all …]
|
D | stats_counter_unittest.cc | 39 clock_.AdvanceTimeMilliseconds(interval_ms); in AddSampleAndAdvance() 46 clock_.AdvanceTimeMilliseconds(interval_ms); in SetSampleAndAdvance() 85 clock_.AdvanceTimeMilliseconds(kDefaultProcessIntervalMs - 1); in TEST_F() 91 clock_.AdvanceTimeMilliseconds(1); in TEST_F() 107 clock_.AdvanceTimeMilliseconds(kDefaultProcessIntervalMs); in TEST_F() 128 clock_.AdvanceTimeMilliseconds(kProcessIntervalMs); in TEST_F() 147 clock_.AdvanceTimeMilliseconds(kDefaultProcessIntervalMs); in TEST_F() 165 clock_.AdvanceTimeMilliseconds(kDefaultProcessIntervalMs); in TEST_F() 184 clock_.AdvanceTimeMilliseconds(kDefaultProcessIntervalMs); in TEST_F() 202 clock_.AdvanceTimeMilliseconds(kDefaultProcessIntervalMs); in TEST_F() [all …]
|
D | receive_statistics_proxy_unittest.cc | 100 fake_clock_.AdvanceTimeMilliseconds(1000 / kFps); in TEST_F() 117 fake_clock_.AdvanceTimeMilliseconds(1000 / kFps); in TEST_F() 257 fake_clock_.AdvanceTimeMilliseconds(kInterframeDelayMs1); in TEST_F() 263 fake_clock_.AdvanceTimeMilliseconds(kInterframeDelayMs2); in TEST_F() 269 fake_clock_.AdvanceTimeMilliseconds(kInterframeDelayMs3); in TEST_F() 287 fake_clock_.AdvanceTimeMilliseconds(kInterframeDelayMs1); in TEST_F() 293 fake_clock_.AdvanceTimeMilliseconds(kInterframeDelayMs2); in TEST_F() 300 fake_clock_.AdvanceTimeMilliseconds(kInterframeDelayMs3); in TEST_F() 318 fake_clock_.AdvanceTimeMilliseconds(30); in TEST_F() 323 fake_clock_.AdvanceTimeMilliseconds(kFreezeDurationMs); in TEST_F() [all …]
|
D | quality_limitation_reason_tracker_unittest.cc | 42 fake_clock_.AdvanceTimeMilliseconds(9999); in TEST_F() 52 fake_clock_.AdvanceTimeMilliseconds(50); in TEST_F() 54 fake_clock_.AdvanceTimeMilliseconds(50); in TEST_F() 79 fake_clock_.AdvanceTimeMilliseconds(4321); in TEST_P() 88 fake_clock_.AdvanceTimeMilliseconds(100); in TEST_P() 92 fake_clock_.AdvanceTimeMilliseconds(50); in TEST_P() 96 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_P() 100 fake_clock_.AdvanceTimeMilliseconds(100); in TEST_P()
|
D | receive_statistics_proxy2_unittest.cc | 136 fake_clock_.AdvanceTimeMilliseconds(1000 / kFps); in TEST_F() 152 fake_clock_.AdvanceTimeMilliseconds(1000 / kFps); in TEST_F() 291 fake_clock_.AdvanceTimeMilliseconds(kInterframeDelayMs1); in TEST_F() 296 fake_clock_.AdvanceTimeMilliseconds(kInterframeDelayMs2); in TEST_F() 301 fake_clock_.AdvanceTimeMilliseconds(kInterframeDelayMs3); in TEST_F() 318 fake_clock_.AdvanceTimeMilliseconds(kInterframeDelayMs1); in TEST_F() 323 fake_clock_.AdvanceTimeMilliseconds(kInterframeDelayMs2); in TEST_F() 329 fake_clock_.AdvanceTimeMilliseconds(kInterframeDelayMs3); in TEST_F() 346 fake_clock_.AdvanceTimeMilliseconds(30); in TEST_F() 351 fake_clock_.AdvanceTimeMilliseconds(kFreezeDurationMs); in TEST_F() [all …]
|
D | send_statistics_proxy_unittest.cc | 434 fake_clock_.AdvanceTimeMilliseconds(kInterframeDelayMs); in TEST_F() 462 fake_clock_.AdvanceTimeMilliseconds(kInterframeDelayMs); in TEST_F() 654 fake_clock_.AdvanceTimeMilliseconds(metrics::kMinRunTimeInSeconds * 1000); in TEST_F() 668 fake_clock_.AdvanceTimeMilliseconds(metrics::kMinRunTimeInSeconds * 1000 - 1); in TEST_F() 682 fake_clock_.AdvanceTimeMilliseconds(metrics::kMinRunTimeInSeconds * 1000); in TEST_F() 704 fake_clock_.AdvanceTimeMilliseconds(10000); in TEST_F() 723 fake_clock_.AdvanceTimeMilliseconds(10000); in TEST_F() 750 fake_clock_.AdvanceTimeMilliseconds(10000); in TEST_F() 770 fake_clock_.AdvanceTimeMilliseconds(10000); in TEST_F() 814 fake_clock_.AdvanceTimeMilliseconds(10000); in TEST_F() [all …]
|
D | call_stats2_unittest.cc | 99 fake_clock_.AdvanceTimeMilliseconds(CallStats::kUpdateInterval.ms()); in TEST_F() 104 fake_clock_.AdvanceTimeMilliseconds(CallStats::kUpdateInterval.ms() - in TEST_F() 189 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F() 203 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F() 221 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F() 260 fake_clock_.AdvanceTimeMilliseconds(CallStats::kUpdateInterval.ms()); in TEST_F() 276 fake_clock_.AdvanceTimeMilliseconds(CallStats::kUpdateInterval.ms()); in TEST_F() 295 fake_clock_.AdvanceTimeMilliseconds(metrics::kMinRunTimeInSeconds * in TEST_F()
|
D | call_stats_unittest.cc | 100 fake_clock_.AdvanceTimeMilliseconds(CallStats::kUpdateIntervalMs); in TEST_F() 105 fake_clock_.AdvanceTimeMilliseconds(CallStats::kUpdateIntervalMs - 1); in TEST_F() 201 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F() 215 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F() 233 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F() 274 fake_clock_.AdvanceTimeMilliseconds(CallStats::kUpdateIntervalMs); in TEST_F() 288 fake_clock_.AdvanceTimeMilliseconds(CallStats::kUpdateIntervalMs); in TEST_F() 308 fake_clock_.AdvanceTimeMilliseconds(metrics::kMinRunTimeInSeconds * in TEST_F()
|
D | send_delay_stats_unittest.cc | 88 clock_.AdvanceTimeMilliseconds(kMaxPacketDelayMs - 1); in TEST_F() 99 clock_.AdvanceTimeMilliseconds(kMaxPacketDelayMs); // 0xffff, 0 -> old. in TEST_F() 119 clock_.AdvanceTimeMilliseconds(kDelayMs1); in TEST_F() 122 clock_.AdvanceTimeMilliseconds(kDelayMs2); in TEST_F()
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | remote_ntp_time_estimator_unittest.cc | 36 void AdvanceTimeMilliseconds(int64_t ms) { in AdvanceTimeMilliseconds() function in webrtc::RemoteNtpTimeEstimatorTest 37 local_clock_.AdvanceTimeMilliseconds(ms); in AdvanceTimeMilliseconds() 38 remote_clock_.AdvanceTimeMilliseconds(ms); in AdvanceTimeMilliseconds() 54 AdvanceTimeMilliseconds(kTestRtt / 2); in SendRtcpSr() 66 AdvanceTimeMilliseconds(kTestRtt / 2 + networking_delay_ms); in SendRtcpSrInaccurately() 95 AdvanceTimeMilliseconds(1000); in TEST_F() 100 AdvanceTimeMilliseconds(15); in TEST_F() 109 AdvanceTimeMilliseconds(800); in TEST_F() 122 AdvanceTimeMilliseconds(1000); in TEST_F() 126 AdvanceTimeMilliseconds(150); in TEST_F() [all …]
|
D | rtp_packet_history_unittest.cc | 90 fake_clock_.AdvanceTimeMilliseconds( in TEST_P() 160 fake_clock_.AdvanceTimeMilliseconds(1); in TEST_P() 162 fake_clock_.AdvanceTimeMilliseconds(kRttMs + 1); in TEST_P() 183 fake_clock_.AdvanceTimeMilliseconds(1); in TEST_P() 201 fake_clock_.AdvanceTimeMilliseconds(kMinRetransmitIntervalMs - 1); in TEST_P() 205 fake_clock_.AdvanceTimeMilliseconds(1); in TEST_P() 221 fake_clock_.AdvanceTimeMilliseconds(1); in TEST_P() 228 fake_clock_.AdvanceTimeMilliseconds(kMinRetransmitIntervalMs - 1); in TEST_P() 232 fake_clock_.AdvanceTimeMilliseconds(1); in TEST_P() 251 fake_clock_.AdvanceTimeMilliseconds(kPacketIntervalMs); in TEST_P() [all …]
|
D | rtp_rtcp_impl_unittest.cc | 81 clock_->AdvanceTimeMilliseconds(delay_ms_); in SendRtcp() 257 clock_.AdvanceTimeMilliseconds(5); in TEST_F() 287 clock_.AdvanceTimeMilliseconds(1000); in TEST_F() 328 clock_.AdvanceTimeMilliseconds(1000); in TEST_F() 352 clock_.AdvanceTimeMilliseconds(2000); in TEST_F() 474 clock_.AdvanceTimeMilliseconds(kStartupRttMs); in TEST_F() 479 clock_.AdvanceTimeMilliseconds(1); in TEST_F() 509 clock_.AdvanceTimeMilliseconds(kStartupRttMs + 1); in TEST_F() 540 clock_.AdvanceTimeMilliseconds(kVideoReportInterval / 2 - 1); in TEST_F() 546 clock_.AdvanceTimeMilliseconds(1); in TEST_F() [all …]
|
/external/webrtc/modules/video_coding/ |
D | nack_module_unittest.cc | 91 clock_->AdvanceTimeMilliseconds(100); in TEST_P() 111 clock_->AdvanceTimeMilliseconds(100); in TEST_P() 123 clock_->AdvanceTimeMilliseconds(100); in TEST_P() 134 clock_->AdvanceTimeMilliseconds(20); in TEST_P() 138 clock_->AdvanceTimeMilliseconds(100); in TEST_P() 143 clock_->AdvanceTimeMilliseconds(19); in TEST_P() 145 clock_->AdvanceTimeMilliseconds(2); in TEST_P() 149 clock_->AdvanceTimeMilliseconds(19); in TEST_P() 153 clock_->AdvanceTimeMilliseconds(21); in TEST_P() 169 clock_->AdvanceTimeMilliseconds(4); in TEST_P() [all …]
|
D | nack_module2_unittest.cc | 143 clock_->AdvanceTimeMilliseconds(100); in TEST_P() 163 clock_->AdvanceTimeMilliseconds(100); in TEST_P() 175 clock_->AdvanceTimeMilliseconds(100); in TEST_P() 195 clock_->AdvanceTimeMilliseconds(4); in TEST_P() 199 clock_->AdvanceTimeMilliseconds(1); in TEST_P() 204 clock_->AdvanceTimeMilliseconds(1); in TEST_P() 221 clock_->AdvanceTimeMilliseconds(expected_backoff_delay.ms() - 1); in TEST_P() 227 clock_->AdvanceTimeMilliseconds(2); in TEST_P() 233 clock_->AdvanceTimeMilliseconds(3000); in TEST_P() 248 clock_->AdvanceTimeMilliseconds(backoff_factor * kDefaultRttMs); in TEST_P() [all …]
|
D | timing_unittest.cc | 45 clock.AdvanceTimeMilliseconds(1000); in TEST() 55 clock.AdvanceTimeMilliseconds(1000); in TEST() 65 clock.AdvanceTimeMilliseconds(1000 / kFps); in TEST() 78 clock.AdvanceTimeMilliseconds(kDecodeTimeMs); in TEST() 81 clock.AdvanceTimeMilliseconds(1000 / kFps - kDecodeTimeMs); in TEST() 92 clock.AdvanceTimeMilliseconds(5000); in TEST() 108 clock.AdvanceTimeMilliseconds(5000); in TEST() 120 clock.AdvanceTimeMilliseconds(1000 / kFps); in TEST()
|
D | receiver_unittest.cc | 73 clock_->AdvanceTimeMilliseconds(kDefaultFramePeriodMs); in InsertFrame() 100 clock_->AdvanceTimeMilliseconds(kMinDelayMs); in TEST_F() 141 clock_->AdvanceTimeMilliseconds(kMinDelayMs - clock_->TimeInMilliseconds() - in TEST_F() 170 clock_->AdvanceTimeMilliseconds(kMinDelayMs - clock_->TimeInMilliseconds() - in TEST_F() 200 clock_->AdvanceTimeMilliseconds(kMinDelayMs - clock_->TimeInMilliseconds() - in TEST_F() 230 clock_->AdvanceTimeMilliseconds(kMinDelayMs - clock_->TimeInMilliseconds() - in TEST_F() 260 bool AdvanceTimeMilliseconds(int64_t milliseconds, bool stop_on_frame) { in AdvanceTimeMilliseconds() function in webrtc::SimulatedClockWithFrames 354 if (clock_->AdvanceTimeMilliseconds(max_time_ms, stop_on_frame_) && in Wait()
|
D | video_receiver_unittest.cc | 139 clock_.AdvanceTimeMilliseconds(33); in TEST_F() 159 clock_.AdvanceTimeMilliseconds(33); in TEST_F() 183 clock_.AdvanceTimeMilliseconds(33); in TEST_F() 212 clock_.AdvanceTimeMilliseconds(33); in TEST_F() 222 clock_.AdvanceTimeMilliseconds(33); in TEST_F()
|
/external/webrtc/modules/remote_bitrate_estimator/ |
D | remote_bitrate_estimator_abs_send_time_unittest.cc | 105 clock_.AdvanceTimeMilliseconds(kStreamTimeOutMs + 1); in TEST_F() 108 clock_.AdvanceTimeMilliseconds(kProcessIntervalMs); in TEST_F() 118 clock_.AdvanceTimeMilliseconds(10); in TEST_F() 125 clock_.AdvanceTimeMilliseconds(5); in TEST_F() 142 clock_.AdvanceTimeMilliseconds(5); in TEST_F() 146 clock_.AdvanceTimeMilliseconds(5); in TEST_F() 164 clock_.AdvanceTimeMilliseconds(10); in TEST_F() 174 clock_.AdvanceTimeMilliseconds(8); in TEST_F() 194 clock_.AdvanceTimeMilliseconds(5); in TEST_F() 213 clock_.AdvanceTimeMilliseconds(1); in TEST_F() [all …]
|
D | aimd_rate_control_unittest.cc | 114 states.simulated_clock->AdvanceTimeMilliseconds(100); in TEST() 129 states.simulated_clock->AdvanceTimeMilliseconds(100); in TEST() 149 states.simulated_clock->AdvanceTimeMilliseconds(100); in TEST() 160 states.simulated_clock->AdvanceTimeMilliseconds(100); in TEST() 176 states.simulated_clock->AdvanceTimeMilliseconds(100); in TEST() 188 states.simulated_clock->AdvanceTimeMilliseconds(100); in TEST() 207 states.simulated_clock->AdvanceTimeMilliseconds(kInitializationTimeMs + 1); in TEST() 213 states.simulated_clock->AdvanceTimeMilliseconds(100); in TEST() 237 states.simulated_clock->AdvanceTimeMilliseconds(100); in TEST() 271 states.simulated_clock->AdvanceTimeMilliseconds(100); in TEST()
|
D | remote_bitrate_estimator_unittest_helper.cc | 325 clock_.AdvanceTimeMilliseconds(1000); in InitialBehaviorTestHelper() 330 clock_.AdvanceTimeMilliseconds(1000); in InitialBehaviorTestHelper() 343 clock_.AdvanceTimeMilliseconds(1000 / kFramerate); in InitialBehaviorTestHelper() 381 clock_.AdvanceTimeMilliseconds(kFrameIntervalMs); in RateIncreaseReorderingTestHelper() 391 clock_.AdvanceTimeMilliseconds(2 * kFrameIntervalMs); in RateIncreaseReorderingTestHelper() 541 clock_.AdvanceTimeMilliseconds(kFrameIntervalMs); in TestTimestampGroupingTestHelper() 561 clock_.AdvanceTimeMilliseconds(kFrameIntervalMs / kTimestampGroupLength); in TestTimestampGroupingTestHelper() 567 clock_.AdvanceTimeMilliseconds(10); in TestTimestampGroupingTestHelper() 591 clock_.AdvanceTimeMilliseconds(kFrameIntervalMs); in TestWrappingHelper() 600 clock_.AdvanceTimeMilliseconds(silence_time_s * 1000); in TestWrappingHelper() [all …]
|
/external/webrtc/modules/congestion_controller/goog_cc/ |
D | probe_controller_unittest.cc | 90 clock_.AdvanceTimeMilliseconds(kExponentialProbingTimeoutMs); in TEST_F() 107 clock_.AdvanceTimeMilliseconds(kExponentialProbingTimeoutMs); in TEST_F() 128 clock_.AdvanceTimeMilliseconds(kExponentialProbingTimeoutMs); in TEST_F() 156 clock_.AdvanceTimeMilliseconds(kExponentialProbingTimeoutMs); in TEST_F() 170 clock_.AdvanceTimeMilliseconds(kAlrProbeInterval + 1); in TEST_F() 186 clock_.AdvanceTimeMilliseconds(kAlrProbeInterval + 1); in TEST_F() 190 clock_.AdvanceTimeMilliseconds(kAlrEndedTimeoutMs - 1); in TEST_F() 204 clock_.AdvanceTimeMilliseconds(kAlrProbeInterval + 1); in TEST_F() 208 clock_.AdvanceTimeMilliseconds(kAlrEndedTimeoutMs + 1); in TEST_F() 220 clock_.AdvanceTimeMilliseconds(kAlrProbeInterval + 1); in TEST_F() [all …]
|
D | delay_based_bwe_unittest.cc | 34 clock_.AdvanceTimeMilliseconds(10); in TEST_F() 42 clock_.AdvanceTimeMilliseconds(5); in TEST_F() 56 clock_.AdvanceTimeMilliseconds(5); in TEST_F() 60 clock_.AdvanceTimeMilliseconds(5); in TEST_F() 74 clock_.AdvanceTimeMilliseconds(1); in TEST_F() 91 clock_.AdvanceTimeMilliseconds(7); in TEST_F() 110 clock_.AdvanceTimeMilliseconds(2); in TEST_F()
|
D | delay_based_bwe_unittest_helper.cc | 312 clock_.AdvanceTimeMilliseconds(1000); in InitialBehaviorTestHelper() 316 clock_.AdvanceTimeMilliseconds(1000); in InitialBehaviorTestHelper() 332 clock_.AdvanceTimeMilliseconds(1000 / kFramerate); in InitialBehaviorTestHelper() 367 clock_.AdvanceTimeMilliseconds(kFrameIntervalMs); in RateIncreaseReorderingTestHelper() 374 clock_.AdvanceTimeMilliseconds(2 * kFrameIntervalMs); in RateIncreaseReorderingTestHelper() 482 clock_.AdvanceTimeMilliseconds(kFrameIntervalMs); in TestTimestampGroupingTestHelper() 496 clock_.AdvanceTimeMilliseconds(kFrameIntervalMs / kTimestampGroupLength); in TestTimestampGroupingTestHelper() 500 clock_.AdvanceTimeMilliseconds(10); in TestTimestampGroupingTestHelper() 515 clock_.AdvanceTimeMilliseconds(kFrameIntervalMs); in TestWrappingHelper() 522 clock_.AdvanceTimeMilliseconds(silence_time_s * 1000); in TestWrappingHelper() [all …]
|
/external/webrtc/call/ |
D | fake_network_pipe_unittest.cc | 97 fake_clock_.AdvanceTimeMilliseconds(kPacketTimeMs); in TEST_F() 102 fake_clock_.AdvanceTimeMilliseconds(9 * kPacketTimeMs - 1); in TEST_F() 107 fake_clock_.AdvanceTimeMilliseconds(1); in TEST_F() 132 fake_clock_.AdvanceTimeMilliseconds(kPacketTimeMs); in TEST_F() 137 fake_clock_.AdvanceTimeMilliseconds(config.queue_delay_ms); in TEST_F() 142 fake_clock_.AdvanceTimeMilliseconds(kPacketTimeMs); in TEST_F() 167 fake_clock_.AdvanceTimeMilliseconds(3 * kPacketTimeMs); in TEST_F() 189 fake_clock_.AdvanceTimeMilliseconds(3 * kPacketTimeMs + in TEST_F() 230 fake_clock_.AdvanceTimeMilliseconds(packet_time_ms); in TEST_F() 252 fake_clock_.AdvanceTimeMilliseconds(packet_time_ms); in TEST_F() [all …]
|
/external/webrtc/rtc_base/ |
D | rate_limiter_unittest.cc | 43 clock_.AdvanceTimeMilliseconds(kWindowSizeMs - 1); in TEST_F() 60 clock_.AdvanceTimeMilliseconds(kWindowSizeMs - 1); in TEST_F() 68 clock_.AdvanceTimeMilliseconds(1); in TEST_F() 77 clock_.AdvanceTimeMilliseconds(kWindowSizeMs - 1); in TEST_F() 174 clock_->AdvanceTimeMilliseconds((kWindowSizeMs / 2) - 1); in TEST_F()
|