Home
last modified time | relevance | path

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

12

/external/webrtc/webrtc/video/
Dcall_stats_unittest.cc47 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
57 fake_clock_.AdvanceTimeMilliseconds(kRttTimeOutMs); in TEST_F()
76 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
81 fake_clock_.AdvanceTimeMilliseconds(999); in TEST_F()
87 fake_clock_.AdvanceTimeMilliseconds(1); in TEST_F()
110 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
119 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
127 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
140 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
149 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
[all …]
Doveruse_frame_detector_unittest.cc80 clock_->AdvanceTimeMilliseconds(delay_ms); in InsertAndSendFramesWithInterval()
82 clock_->AdvanceTimeMilliseconds(interval_ms - delay_ms); in InsertAndSendFramesWithInterval()
158 clock_->AdvanceTimeMilliseconds(kProcessIntervalMs); in TEST_F()
235 clock_->AdvanceTimeMilliseconds(kProcessingTimeMs); in TEST_F()
247 clock_->AdvanceTimeMilliseconds(kProcessingTimeMs1); in TEST_F()
250 clock_->AdvanceTimeMilliseconds(kTimeBetweenFramesMs); in TEST_F()
252 clock_->AdvanceTimeMilliseconds(kProcessingTimeMs2); in TEST_F()
268 clock_->AdvanceTimeMilliseconds(kProcessingTimeMs); in TEST_F()
270 clock_->AdvanceTimeMilliseconds(kProcessingTimeMs); in TEST_F()
272 clock_->AdvanceTimeMilliseconds(kProcessingTimeMs); in TEST_F()
[all …]
Dvie_remb_unittest.cc57 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
82 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
111 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
139 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
173 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
209 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
241 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_abs_send_time_unittest.cc98 clock_.AdvanceTimeMilliseconds(kStreamTimeOutMs + 1); in TEST_F()
101 clock_.AdvanceTimeMilliseconds(kProcessIntervalMs); in TEST_F()
111 clock_.AdvanceTimeMilliseconds(10); in TEST_F()
119 clock_.AdvanceTimeMilliseconds(5); in TEST_F()
137 clock_.AdvanceTimeMilliseconds(5); in TEST_F()
142 clock_.AdvanceTimeMilliseconds(5); in TEST_F()
161 clock_.AdvanceTimeMilliseconds(10); in TEST_F()
171 clock_.AdvanceTimeMilliseconds(8); in TEST_F()
191 clock_.AdvanceTimeMilliseconds(5); in TEST_F()
210 clock_.AdvanceTimeMilliseconds(1); in TEST_F()
[all …]
Dremote_bitrate_estimator_unittest_helper.cc318 clock_.AdvanceTimeMilliseconds(1000); in InitialBehaviorTestHelper()
323 clock_.AdvanceTimeMilliseconds(1000); in InitialBehaviorTestHelper()
336 clock_.AdvanceTimeMilliseconds(1000 / kFramerate); in InitialBehaviorTestHelper()
370 clock_.AdvanceTimeMilliseconds(kFrameIntervalMs); in RateIncreaseReorderingTestHelper()
381 clock_.AdvanceTimeMilliseconds(2 * kFrameIntervalMs); in RateIncreaseReorderingTestHelper()
532 clock_.AdvanceTimeMilliseconds(kFrameIntervalMs); in TestTimestampGroupingTestHelper()
552 clock_.AdvanceTimeMilliseconds(kFrameIntervalMs / kTimestampGroupLength); in TestTimestampGroupingTestHelper()
558 clock_.AdvanceTimeMilliseconds(10); in TestTimestampGroupingTestHelper()
589 clock_.AdvanceTimeMilliseconds(kFrameIntervalMs * 2); in TestGetStatsHelper()
606 clock_.AdvanceTimeMilliseconds(kBurstThresholdMs + 1); in TestGetStatsHelper()
[all …]
Dsend_time_history_unittest.cc145 clock_.AdvanceTimeMilliseconds(100); in TEST_F()
153 clock_.AdvanceTimeMilliseconds(101); in TEST_F()
169 clock_.AdvanceTimeMilliseconds(100); in TEST_F()
172 clock_.AdvanceTimeMilliseconds(100); in TEST_F()
175 clock_.AdvanceTimeMilliseconds(kDefaultHistoryLengthMs - 200 + 1); in TEST_F()
191 clock_.AdvanceTimeMilliseconds(100); in TEST_F()
/external/webrtc/webrtc/modules/pacing/
Dpaced_sender_unittest.cc169 clock_.AdvanceTimeMilliseconds(4); in TEST_F()
171 clock_.AdvanceTimeMilliseconds(1); in TEST_F()
220 clock_.AdvanceTimeMilliseconds(5); in TEST_F()
228 clock_.AdvanceTimeMilliseconds(5); in TEST_F()
284 clock_.AdvanceTimeMilliseconds(5); in TEST_F()
296 clock_.AdvanceTimeMilliseconds(5); in TEST_F()
342 clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
374 clock_.AdvanceTimeMilliseconds(5); in TEST_F()
382 clock_.AdvanceTimeMilliseconds(5); in TEST_F()
403 clock_.AdvanceTimeMilliseconds(kTimeStep); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dremote_ntp_time_estimator_unittest.cc37 void AdvanceTimeMilliseconds(int64_t ms) { in AdvanceTimeMilliseconds() function in webrtc::RemoteNtpTimeEstimatorTest
38 local_clock_.AdvanceTimeMilliseconds(ms); in AdvanceTimeMilliseconds()
39 remote_clock_.AdvanceTimeMilliseconds(ms); in AdvanceTimeMilliseconds()
53 AdvanceTimeMilliseconds(kTestRtt / 2); in SendRtcpSr()
80 AdvanceTimeMilliseconds(1000); in TEST_F()
85 AdvanceTimeMilliseconds(15); in TEST_F()
93 AdvanceTimeMilliseconds(800); in TEST_F()
Dreceive_statistics_unittest.cc49 clock_.AdvanceTimeMilliseconds(100); in TEST_F()
102 clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
110 clock_.AdvanceTimeMilliseconds(7000); in TEST_F()
115 clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
177 clock_.AdvanceTimeMilliseconds(7); in TEST_F()
181 clock_.AdvanceTimeMilliseconds(9); in TEST_F()
185 clock_.AdvanceTimeMilliseconds(13); in TEST_F()
189 clock_.AdvanceTimeMilliseconds(11); in TEST_F()
217 clock_.AdvanceTimeMilliseconds(7); in TEST_F()
221 clock_.AdvanceTimeMilliseconds(9); in TEST_F()
[all …]
Drtp_packet_history_unittest.cc130 fake_clock_.AdvanceTimeMilliseconds(1); in TEST_F()
178 fake_clock_.AdvanceTimeMilliseconds(kMinRetransmitIntervalMs); in TEST_F()
186 fake_clock_.AdvanceTimeMilliseconds(kMinRetransmitIntervalMs - 1); in TEST_F()
209 fake_clock_.AdvanceTimeMilliseconds(kMinRetransmitIntervalMs - 1); in TEST_F()
218 fake_clock_.AdvanceTimeMilliseconds(kMinRetransmitIntervalMs - 1); in TEST_F()
259 fake_clock_.AdvanceTimeMilliseconds(100); in TEST_F()
282 fake_clock_.AdvanceTimeMilliseconds(100); in TEST_F()
Drtp_rtcp_impl_unittest.cc84 clock_->AdvanceTimeMilliseconds(delay_ms_); in SendRtcp()
245 clock_.AdvanceTimeMilliseconds(5); in TEST_F()
274 clock_.AdvanceTimeMilliseconds(5); in TEST_F()
302 clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
342 clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
363 clock_.AdvanceTimeMilliseconds(2000); in TEST_F()
500 clock_.AdvanceTimeMilliseconds(kStartupRttMs); in TEST_F()
505 clock_.AdvanceTimeMilliseconds(1); in TEST_F()
535 clock_.AdvanceTimeMilliseconds(kStartupRttMs + 1); in TEST_F()
Drtcp_receiver_unittest.cc781 system_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
796 system_clock_.AdvanceTimeMilliseconds(3 * kRtcpIntervalMs); in TEST_F()
811 system_clock_.AdvanceTimeMilliseconds(3 * kRtcpIntervalMs - 1); in TEST_F()
818 system_clock_.AdvanceTimeMilliseconds(2); in TEST_F()
823 system_clock_.AdvanceTimeMilliseconds(3 * kRtcpIntervalMs); in TEST_F()
844 system_clock_.AdvanceTimeMilliseconds(2 * kRtcpIntervalMs); in TEST_F()
846 system_clock_.AdvanceTimeMilliseconds(kRtcpIntervalMs + 1); in TEST_F()
849 system_clock_.AdvanceTimeMilliseconds(2 * kRtcpIntervalMs); in TEST_F()
947 system_clock_.AdvanceTimeMilliseconds(5000); in TEST_F()
957 system_clock_.AdvanceTimeMilliseconds(12000); in TEST_F()
Dnack_rtx_unittest.cc268 fake_clock.AdvanceTimeMilliseconds(5); in RunRtxTest()
272 fake_clock.AdvanceTimeMilliseconds(28); // 33ms - 5ms delay. in RunRtxTest()
314 fake_clock.AdvanceTimeMilliseconds(33); in TEST_F()
/external/webrtc/webrtc/modules/video_coding/
Dtiming_unittest.cc55 clock.AdvanceTimeMilliseconds(1000); in TEST()
65 clock.AdvanceTimeMilliseconds(1000); in TEST()
75 clock.AdvanceTimeMilliseconds(1000 / 25); in TEST()
88 clock.AdvanceTimeMilliseconds(10); in TEST()
94 clock.AdvanceTimeMilliseconds(1000 / 25 - 10); in TEST()
99 clock.AdvanceTimeMilliseconds(1000); in TEST()
109 clock.AdvanceTimeMilliseconds(5000); in TEST()
125 clock.AdvanceTimeMilliseconds(5000); in TEST()
138 clock.AdvanceTimeMilliseconds(1000 / kFramerate); in TEST()
Dvideo_coding_robustness_unittest.cc103 clock_->AdvanceTimeMilliseconds(1000 / 30); in TEST_F()
108 clock_->AdvanceTimeMilliseconds(1000 / 30); in TEST_F()
114 clock_->AdvanceTimeMilliseconds(10); in TEST_F()
121 clock_->AdvanceTimeMilliseconds(10); in TEST_F()
128 clock_->AdvanceTimeMilliseconds(10); in TEST_F()
148 clock_->AdvanceTimeMilliseconds(10); in TEST_F()
200 clock_->AdvanceTimeMilliseconds(33); in TEST_F()
207 clock_->AdvanceTimeMilliseconds(33); in TEST_F()
214 clock_->AdvanceTimeMilliseconds(10); in TEST_F()
218 clock_->AdvanceTimeMilliseconds(23); in TEST_F()
Dvideo_receiver_unittest.cc99 clock_.AdvanceTimeMilliseconds(33); in TEST_F()
125 clock_.AdvanceTimeMilliseconds(33); in TEST_F()
150 clock_.AdvanceTimeMilliseconds(33); in TEST_F()
184 clock_.AdvanceTimeMilliseconds(33); in TEST_F()
194 clock_.AdvanceTimeMilliseconds(33); in TEST_F()
Dreceiver_unittest.cc73 clock_->AdvanceTimeMilliseconds(kDefaultFramePeriodMs); in InsertFrame()
165 clock_->AdvanceTimeMilliseconds(kMinDelayMs); in TEST_F()
210 clock_->AdvanceTimeMilliseconds(kMinDelayMs - clock_->TimeInMilliseconds() - in TEST_F()
241 clock_->AdvanceTimeMilliseconds(kMinDelayMs - clock_->TimeInMilliseconds() - in TEST_F()
273 clock_->AdvanceTimeMilliseconds(kMinDelayMs - clock_->TimeInMilliseconds() - in TEST_F()
305 clock_->AdvanceTimeMilliseconds(kMinDelayMs - clock_->TimeInMilliseconds() - in TEST_F()
335 bool AdvanceTimeMilliseconds(int64_t milliseconds, bool stop_on_frame) { in AdvanceTimeMilliseconds() function in webrtc::SimulatedClockWithFrames
429 if (clock_->AdvanceTimeMilliseconds(max_time, stop_on_frame_) && in Wait()
Dvideo_sender_unittest.cc314 clock_.AdvanceTimeMilliseconds(1000 / kInputFps); in TEST_F()
337 clock_.AdvanceTimeMilliseconds(1000 / kInputFps); in TEST_F()
391 clock_.AdvanceTimeMilliseconds(1000.0f / framerate); in InsertFrames()
/external/webrtc/webrtc/test/
Dfake_network_pipe_unittest.cc96 fake_clock_.AdvanceTimeMilliseconds(kPacketTimeMs); in TEST_F()
101 fake_clock_.AdvanceTimeMilliseconds(9 * kPacketTimeMs - 1); in TEST_F()
106 fake_clock_.AdvanceTimeMilliseconds(1); in TEST_F()
130 fake_clock_.AdvanceTimeMilliseconds(kPacketTimeMs); in TEST_F()
135 fake_clock_.AdvanceTimeMilliseconds(config.queue_delay_ms); in TEST_F()
140 fake_clock_.AdvanceTimeMilliseconds(kPacketTimeMs); in TEST_F()
164 fake_clock_.AdvanceTimeMilliseconds(3 * kPacketTimeMs); in TEST_F()
185 fake_clock_.AdvanceTimeMilliseconds(3 * kPacketTimeMs + in TEST_F()
224 fake_clock_.AdvanceTimeMilliseconds(packet_time_ms); in TEST_F()
246 fake_clock_.AdvanceTimeMilliseconds(packet_time_ms); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_rtcp.cc221 fake_clock.AdvanceTimeMilliseconds(7500); in TEST_F()
223 fake_clock.AdvanceTimeMilliseconds(100); in TEST_F()
252 fake_clock.AdvanceTimeMilliseconds(7500); in TEST_F()
254 fake_clock.AdvanceTimeMilliseconds(100); in TEST_F()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dpacket_sender.cc126 clock_.AdvanceTimeMilliseconds(time_to_run_ms); in ProcessFeedbackAndGeneratePackets()
221 clock_.AdvanceTimeMilliseconds(time_until_next_event_ms); in RunFor()
349 clock_.AdvanceTimeMilliseconds(time_ms); in RunFor()
368 clock_.AdvanceTimeMilliseconds(fb->send_time_ms() - in RunFor()
382 clock_.AdvanceTimeMilliseconds(time_ms - in RunFor()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/estimators/
Dremb.cc93 clock_.AdvanceTimeMilliseconds(step_ms); in ReceivePacket()
99 clock_.AdvanceTimeMilliseconds(arrival_time_ms - clock_.TimeInMilliseconds()); in ReceivePacket()
/external/webrtc/webrtc/voice_engine/
Dnetwork_predictor_unittest.cc35 clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
/external/webrtc/webrtc/system_wrappers/include/
Dclock.h74 void AdvanceTimeMilliseconds(int64_t milliseconds);
/external/webrtc/webrtc/modules/audio_coding/test/
Dinsert_packet_with_timing.cc134 sender_clock_->AdvanceTimeMilliseconds(1); in TickOneMillisecond()
135 receiver_clock_->AdvanceTimeMilliseconds(1); in TickOneMillisecond()

12