Home
last modified time | relevance | path

Searched refs:time_controller (Results 1 – 25 of 44) sorted by relevance

12

/external/webrtc/modules/pacing/
Dtask_queue_paced_sender_unittest.cc125 GlobalSimulatedTimeController time_controller(Timestamp::Millis(1234)); in TEST() local
128 time_controller.GetClock(), &packet_router, in TEST()
130 /*field_trials=*/nullptr, time_controller.GetTaskQueueFactory(), in TEST()
149 end_time = time_controller.GetClock()->CurrentTime(); in TEST()
153 const Timestamp start_time = time_controller.GetClock()->CurrentTime(); in TEST()
157 time_controller.AdvanceTime(TimeDelta::Seconds(1)); in TEST()
164 GlobalSimulatedTimeController time_controller(Timestamp::Millis(1234)); in TEST() local
167 time_controller.GetClock(), &packet_router, in TEST()
169 /*field_trials=*/nullptr, time_controller.GetTaskQueueFactory(), in TEST()
182 time_controller.AdvanceTime(TimeDelta::Seconds(1)); in TEST()
[all …]
DBUILD.gn108 "../../test/time_controller:time_controller",
/external/webrtc/video/
Dpc_full_stack_tests.cc82 TimeController& time_controller, in CreateTestFixture() argument
88 test_case_name, time_controller, /*audio_quality_analyzer=*/nullptr, in CreateTestFixture()
117 *network_emulation_manager->time_controller(), in TEST()
145 *network_emulation_manager->time_controller(), in TEST()
179 *network_emulation_manager->time_controller(), in TEST()
235 "pc_net_delay_0_0_plr_0", *network_emulation_manager->time_controller(), in TEST()
258 *network_emulation_manager->time_controller(), in TEST()
282 *network_emulation_manager->time_controller(), in TEST()
316 *network_emulation_manager->time_controller(), in TEST()
347 *network_emulation_manager->time_controller(), in TEST()
[all …]
/external/webrtc/api/test/
Dcreate_time_controller.cc32 TimeController* time_controller) { in CreateTimeControllerBasedCallFactory() argument
35 explicit TimeControllerBasedCallFactory(TimeController* time_controller) in CreateTimeControllerBasedCallFactory() argument
36 : time_controller_(time_controller) {} in CreateTimeControllerBasedCallFactory()
51 return std::make_unique<TimeControllerBasedCallFactory>(time_controller); in CreateTimeControllerBasedCallFactory()
Dcreate_peerconnection_quality_test_fixture.cc25 TimeController& time_controller, in CreatePeerConnectionE2EQualityTestFixture() argument
29 std::move(test_case_name), time_controller, in CreatePeerConnectionE2EQualityTestFixture()
Dcreate_time_controller.h30 TimeController* time_controller);
Dcreate_peerconnection_quality_test_fixture.h36 TimeController& time_controller,
DDEPS35 "time_controller\.h": [
/external/webrtc/test/fuzzers/
Dframe_buffer2_fuzzer.cc67 GlobalSimulatedTimeController time_controller(Timestamp::Seconds(0)); in FuzzOneInput() local
69 time_controller.GetTaskQueueFactory()->CreateTaskQueue( in FuzzOneInput()
71 VCMTiming timing(time_controller.GetClock()); in FuzzOneInput()
72 video_coding::FrameBuffer frame_buffer(time_controller.GetClock(), &timing, in FuzzOneInput()
109 time_controller.AdvanceTime(TimeDelta::Millis(reader.GetNum<uint8_t>())); in FuzzOneInput()
/external/webrtc/test/scenario/
Dcall_client.cc34 CallClientFakeAudio InitAudio(TimeController* time_controller) { in InitAudio() argument
39 time_controller->GetTaskQueueFactory(), std::move(capturer), in InitAudio()
53 Call* CreateCall(TimeController* time_controller, in CreateCall() argument
66 call_config.task_queue_factory = time_controller->GetTaskQueueFactory(); in CreateCall()
70 return Call::Create(call_config, time_controller->GetClock(), in CreateCall()
72 time_controller->CreateProcessThread("Pacer")); in CreateCall()
201 TimeController* time_controller, in CallClient() argument
204 : time_controller_(time_controller), in CallClient()
205 clock_(time_controller->GetClock()), in CallClient()
209 task_queue_(time_controller->GetTaskQueueFactory()->CreateTaskQueue( in CallClient()
Dscenario.cc68 clock_(network_manager_.time_controller()->GetClock()), in Scenario()
71 task_queue_(network_manager_.time_controller() in Scenario()
109 CallClient* client = new CallClient(network_manager_.time_controller(), in CreateClient()
275 network_manager_.time_controller()->AdvanceTime(duration); in RunFor()
288 network_manager_.time_controller()->AdvanceTime(check_interval); in RunUntil()
292 network_manager_.time_controller()->AdvanceTime( in RunUntil()
DBUILD.gn85 "../../api:time_controller",
86 "../../api:time_controller",
144 "../time_controller",
/external/webrtc/test/network/
DBUILD.gn40 "../../api:time_controller",
57 "../time_controller",
120 "//test/time_controller:time_controller",
136 "../time_controller",
Demulated_network_manager.cc23 TimeController* time_controller, in EmulatedNetworkManager() argument
28 network_thread_(time_controller->CreateThread( in EmulatedNetworkManager()
Dnetwork_emulation_unittest.cc134 emulation_.time_controller()->AdvanceTime(kNetworkPacketWaitTimeout); in SendPacketsAndValidateDelivery()
239 network_manager.time_controller()->AdvanceTime(TimeDelta::Seconds(1)); in TEST()
307 *network_manager.time_controller()); in TEST()
362 network_manager.time_controller()->AdvanceTime(kDelay); in TEST()
379 *network_manager.time_controller()); in TEST()
Dcross_traffic_unittest.cc147 net.time_controller()->AdvanceTime(TimeDelta::Seconds(5)); in TEST()
150 net.time_controller()->AdvanceTime(TimeDelta::Seconds(60)); in TEST()
Demulated_network_manager.h34 EmulatedNetworkManager(TimeController* time_controller,
/external/webrtc/test/time_controller/
DBUILD.gn11 rtc_library("time_controller") {
29 "../../api:time_controller",
57 ":time_controller",
/external/webrtc/audio/test/
Dpc_low_bandwidth_audio_test.cc75 TimeController& time_controller, in CreateTestFixture() argument
81 test_case_name, time_controller, /*audio_quality_analyzer=*/nullptr, in CreateTestFixture()
133 GetMetricTestCaseName(), *network_emulation_manager->time_controller(), in TEST()
160 GetMetricTestCaseName(), *network_emulation_manager->time_controller(), in TEST()
/external/webrtc/test/pc/e2e/
Dtest_peer_factory.h57 TimeController& time_controller, in TestPeerFactory() argument
61 time_controller_(time_controller), in TestPeerFactory()
/external/webrtc/test/peer_scenario/
Dpeer_scenario.cc59 signaling_thread_(net_.time_controller()->GetMainThread()) {} in PeerScenario()
110 return net_.time_controller()->Wait([event] { return event->load(); }, in WaitAndProcess()
115 net_.time_controller()->AdvanceTime(duration); in ProcessMessages()
DBUILD.gn35 "../../api:time_controller",
54 "../time_controller",
Dpeer_scenario_client.cc158 task_queue_factory_(net->time_controller()->GetTaskQueueFactory()), in PeerScenarioClient()
161 worker_thread_(net->time_controller()->CreateThread("worker")), in PeerScenarioClient()
197 CreateTimeControllerBasedCallFactory(net->time_controller()); in PeerScenarioClient()
199 net->time_controller()->CreateTaskQueueFactory(); in PeerScenarioClient()
217 net->time_controller()->GetClock()); in PeerScenarioClient()
/external/webrtc/api/
DBUILD.gn467 ":time_controller",
595 ":time_controller",
605 rtc_source_set("time_controller") {
608 "test/time_controller.cc",
609 "test/time_controller.h",
979 ":time_controller",
982 "../test/time_controller",
1011 ":time_controller",
/external/webrtc/modules/rtp_rtcp/source/
Drtp_rtcp_impl2_unittest.cc63 void SimulateNetworkDelay(int64_t delay_ms, TimeController* time_controller) { in SimulateNetworkDelay() argument
64 time_controller_ = time_controller; in SimulateNetworkDelay()
104 RtpRtcpModule(TimeController* time_controller, bool is_sender) in RtpRtcpModule() argument
107 ReceiveStatistics::Create(time_controller->GetClock())), in RtpRtcpModule()
108 time_controller_(time_controller) { in RtpRtcpModule()
110 transport_.SimulateNetworkDelay(kOneWayNetworkDelayMs, time_controller); in RtpRtcpModule()

12