Home
last modified time | relevance | path

Searched refs:AdvanceTimeMilliseconds (Results 1 – 25 of 55) sorted by relevance

123

/external/webrtc/video/
Dstream_synchronization_unittest.cc58 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 …]
Dstats_counter_unittest.cc39 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 …]
Dreceive_statistics_proxy_unittest.cc100 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 …]
Dquality_limitation_reason_tracker_unittest.cc42 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()
Dreceive_statistics_proxy2_unittest.cc136 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 …]
Dsend_statistics_proxy_unittest.cc434 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 …]
Dcall_stats2_unittest.cc99 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()
Dcall_stats_unittest.cc100 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()
Dsend_delay_stats_unittest.cc88 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/
Dremote_ntp_time_estimator_unittest.cc36 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 …]
Drtp_packet_history_unittest.cc90 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 …]
Drtp_rtcp_impl_unittest.cc81 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/
Dnack_module_unittest.cc91 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 …]
Dnack_module2_unittest.cc143 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 …]
Dtiming_unittest.cc45 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()
Dreceiver_unittest.cc73 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()
Dvideo_receiver_unittest.cc139 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/
Dremote_bitrate_estimator_abs_send_time_unittest.cc105 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 …]
Daimd_rate_control_unittest.cc114 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()
Dremote_bitrate_estimator_unittest_helper.cc325 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/
Dprobe_controller_unittest.cc90 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 …]
Ddelay_based_bwe_unittest.cc34 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()
Ddelay_based_bwe_unittest_helper.cc312 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/
Dfake_network_pipe_unittest.cc97 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/
Drate_limiter_unittest.cc43 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()

123