webrtc/test
Sebastian Jansson 836fee1e1a Calculate next process time in simulated network.
Currently there's an implicit requirement that users of
SimulatedNetwork should call it repeatedly, even if the return value
of NextDeliveryTimeUs is unset.

With this change, it will indicate that there might be a delivery in
5 ms at any time there are packets in queue. Which results in unchanged
behavior compared to current usage but allows new users to expect
robust behavior.

Bug: webrtc:9510
Change-Id: I45b8b5f1f0d3d13a8ec9b163d4011c5f01a53069
Reviewed-on: https://webrtc-review.googlesource.com/c/120402
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Christoffer Rodbro <crodbro@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26617}
2019-02-08 19:33:17 +00:00
..
android Reland "Default runner to junit4" 2018-08-21 17:10:05 +00:00
fuzzers Add rtp_generator utility to rtc_tools. 2019-02-01 18:36:19 +00:00
gl [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
ios Add support for computing iOS code coverage 2018-11-06 15:18:51 +00:00
linux [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
logging (7) Rename files to snake_case: remove forwarding headers 2019-01-26 00:33:46 +00:00
mac (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
pc/e2e Simplify peer connection smoke test to remove flakiness for now. 2019-02-08 11:05:03 +00:00
scenario Adds Stop methods to media streams in scenario framework. 2019-02-08 13:21:20 +00:00
testsupport Delete rtc::File, usage replaced with FileWrapper 2019-02-08 16:23:53 +00:00
win Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
audio_decoder_proxy_factory.h Refactor NetEqDecoderPlc to use AudioDecoderProxyFactory 2018-12-20 10:17:15 +00:00
BUILD.gn Delete rtc::File, usage replaced with FileWrapper 2019-02-08 16:23:53 +00:00
call_config_utils_unittest.cc Replace implicit int->char->string conversion 2019-02-06 11:10:37 +00:00
call_config_utils.cc [clang-tidy] Apply performance-for-range-copy fixes. 2019-01-28 09:53:50 +00:00
call_config_utils.h Added JSON generator for VideoReceiveStream::Config objects. 2019-01-15 00:51:29 +00:00
call_test.cc Fix potential race in CallTest. 2019-01-23 16:49:55 +00:00
call_test.h Add some missing includes and dependencies. 2019-01-18 15:30:26 +00:00
configurable_frame_size_encoder.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
configurable_frame_size_encoder.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
constants.cc Add end-to-end test for ColorSpace information 2018-12-12 14:27:18 +00:00
constants.h Add end-to-end test for ColorSpace information 2018-12-12 14:27:18 +00:00
DEPS Introduce PeerConnectionE2EQualityTestFixture implementation. 2019-02-07 17:07:39 +00:00
direct_transport_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
direct_transport.cc Calculate next process time in simulated network. 2019-02-08 19:33:17 +00:00
direct_transport.h Calculate next process time in simulated network. 2019-02-08 19:33:17 +00:00
drifting_clock.cc Makes Clock interface fully mutable. 2019-01-31 08:12:05 +00:00
drifting_clock.h Makes Clock interface fully mutable. 2019-01-31 08:12:05 +00:00
encoder_settings.cc Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
encoder_settings.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
fake_decoder.cc Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
fake_decoder.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
fake_encoder.cc Add owned data buffer to EncodedImage 2019-02-07 13:11:47 +00:00
fake_encoder.h Fix heap use overrun in FakeEncoder 2019-02-01 11:26:57 +00:00
fake_texture_frame.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
fake_texture_frame.h Enabling clang::find_bad_constructs for common_video. 2018-07-18 11:26:01 +00:00
fake_videorenderer.h New file api/video/BUILD.gn 2018-05-14 06:57:38 +00:00
fake_vp8_decoder.cc Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
fake_vp8_decoder.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
fake_vp8_encoder_unittest.cc Use function_video_(en|de)coder_factory from api 2018-10-26 14:54:19 +00:00
fake_vp8_encoder.cc Add owned data buffer to EncodedImage 2019-02-07 13:11:47 +00:00
fake_vp8_encoder.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
field_trial.cc Remove deprecated field_trial_default and metrics_default. 2018-09-28 07:21:07 +00:00
field_trial.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
frame_change_extractor.cc Partial frame capture API part 2 2019-01-31 14:44:40 +00:00
frame_change_extractor.h Partial frame capture API part 2 2019-01-31 14:44:40 +00:00
frame_generator_capturer.cc Remove rule that discourages passing optional by const reference 2019-02-05 11:58:05 +00:00
frame_generator_capturer.h Removes all const Clock*. 2019-01-30 13:03:37 +00:00
frame_generator_unittest.cc Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
frame_generator.cc Fix test FrameGenerator to work with a single file source 2019-02-06 11:59:03 +00:00
frame_generator.h Introduce VideoQualityAnalyzerInjectionHelper. 2019-01-24 17:11:21 +00:00
frame_utils.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
frame_utils.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
function_audio_decoder_factory.h Replace RegisterExternalDecoder with decoder factory in NetEqImplTest120ms 2018-12-03 08:34:50 +00:00
gmock.h
gtest.h Reland "Adding gtest-spi.h in webrtc/test/gtest.h" 2018-04-05 08:21:23 +00:00
layer_filtering_transport.cc Update number of spatial layers if SS is available. 2018-12-20 13:14:12 +00:00
layer_filtering_transport.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
mock_audio_decoder_factory.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
mock_audio_decoder.cc
mock_audio_decoder.h
mock_audio_encoder_factory.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
mock_audio_encoder.cc Removed Die mock from MockAudioEncoder 2018-02-22 12:53:38 +00:00
mock_audio_encoder.h Replace rtc::Optional with absl::optional in test and rtc_tools 2018-06-18 13:15:23 +00:00
mock_transport.cc Reland "Enable and fix chromium clang warnings in rtp_rtcp test targets" 2018-03-09 16:04:35 +00:00
mock_transport.h Reland "Enable and fix chromium clang warnings in rtp_rtcp test targets" 2018-03-09 16:04:35 +00:00
null_platform_renderer.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
null_transport.cc
null_transport.h
OWNERS Add new owners to the test/ directory. 2019-01-14 10:55:37 +00:00
rtcp_packet_parser.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
rtcp_packet_parser.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
rtp_file_reader_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_file_reader.cc [clang-tidy] Apply modernize-use-override fixes. 2019-01-30 09:26:17 +00:00
rtp_file_reader.h Delete unneeded includes of common_types.h and gn deps on webrtc_common. 2018-11-20 16:28:39 +00:00
rtp_file_writer_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_file_writer.cc [clang-tidy] Apply modernize-use-override fixes. 2019-01-30 09:26:17 +00:00
rtp_file_writer.h Delete unneeded includes of common_types.h and gn deps on webrtc_common. 2018-11-20 16:28:39 +00:00
rtp_rtcp_observer.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
run_loop.cc Modified PressEnterToContinue() to actualy check if Enter is pressed 2018-10-29 10:21:24 +00:00
run_loop.h Modified PressEnterToContinue() to actualy check if Enter is pressed 2018-10-29 10:21:24 +00:00
run_test.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
run_test.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
single_threaded_task_queue_unittest.cc Add default constructor for rtc::Event 2018-11-07 08:57:50 +00:00
single_threaded_task_queue.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
single_threaded_task_queue.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
statistics.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
statistics.h Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
test_main_lib.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
test_main_lib.h Fix: Argv may be corrupted after InitGoogleMock found any related flags 2018-10-18 07:40:13 +00:00
test_main.cc Fix: Argv may be corrupted after InitGoogleMock found any related flags 2018-10-18 07:40:13 +00:00
test_video_capturer.cc Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
test_video_capturer.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
vcm_capturer.cc Added VcmCapturer::Create loop to allow nonzero device index. 2019-01-29 08:06:22 +00:00
vcm_capturer.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
video_codec_settings.h Delete unused constant kVideoCodecI420 2019-01-11 09:04:56 +00:00
video_decoder_proxy_factory.h Reland "Replace VideoDecoder with VideoDecoderFactory in VideoReceiveStream config." 2018-09-28 08:48:02 +00:00
video_encoder_proxy_factory.h Revert "Replace VideoEncoderFactory::QueryVideoEncoder with VideoEncoder::GetEncoderInfo" 2018-12-10 10:36:00 +00:00
video_renderer.cc Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
video_renderer.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00