Home
last modified time | relevance | path

Searched refs:SimulatedNetwork (Results 1 – 25 of 41) sorted by relevance

12

/external/webrtc/call/
Dsimulated_network.cc82 SimulatedNetwork::SimulatedNetwork(Config config, uint64_t random_seed) in SimulatedNetwork() function in webrtc::SimulatedNetwork
87 SimulatedNetwork::~SimulatedNetwork() = default;
89 void SimulatedNetwork::SetConfig(const Config& config) { in SetConfig()
114 void SimulatedNetwork::UpdateConfig( in UpdateConfig()
120 void SimulatedNetwork::PauseTransmissionUntil(int64_t until_us) { in PauseTransmissionUntil()
125 bool SimulatedNetwork::EnqueuePacket(PacketInFlightInfo packet) { in EnqueuePacket()
150 absl::optional<int64_t> SimulatedNetwork::NextDeliveryTimeUs() const { in NextDeliveryTimeUs()
155 void SimulatedNetwork::UpdateCapacityQueue(ConfigState state, in UpdateCapacityQueue()
262 SimulatedNetwork::ConfigState SimulatedNetwork::GetConfigState() const { in GetConfigState()
267 std::vector<PacketDeliveryInfo> SimulatedNetwork::DequeueDeliverablePackets( in DequeueDeliverablePackets()
Dfake_network_pipe_unittest.cc78 auto simulated_network = std::make_unique<SimulatedNetwork>(config); in TEST_F()
119 auto simulated_network = std::make_unique<SimulatedNetwork>(config); in TEST_F()
154 auto simulated_network = std::make_unique<SimulatedNetwork>(config); in TEST_F()
179 auto simulated_network = std::make_unique<SimulatedNetwork>(config); in TEST_F()
210 std::unique_ptr<SimulatedNetwork> network(new SimulatedNetwork(config)); in TEST_F()
211 SimulatedNetwork* simulated_network = network.get(); in TEST_F()
272 std::unique_ptr<SimulatedNetwork> network(new SimulatedNetwork(config)); in TEST_F()
273 SimulatedNetwork* simulated_network = network.get(); in TEST_F()
322 std::unique_ptr<SimulatedNetwork> network(new SimulatedNetwork(config)); in TEST_F()
323 SimulatedNetwork* simulated_network = network.get(); in TEST_F()
[all …]
Dsimulated_network.h57 class SimulatedNetwork : public SimulatedNetworkInterface {
60 explicit SimulatedNetwork(Config config, uint64_t random_seed = 1);
61 ~SimulatedNetwork() override;
Dsimulated_network_unittest.cc32 SimulatedNetwork::Config config; in TEST()
36 SimulatedNetwork network(config); in TEST()
87 SimulatedNetwork::Config config; in TEST()
91 SimulatedNetwork network(config); in TEST()
Dcall_perf_tests.cc231 std::make_unique<SimulatedNetwork>(audio_net_config))); in TestAudioVideoSync()
238 std::make_unique<SimulatedNetwork>( in TestAudioVideoSync()
246 std::make_unique<SimulatedNetwork>( in TestAudioVideoSync()
399 std::make_unique<SimulatedNetwork>(net_config_))); in TestCaptureNtpTime()
409 std::make_unique<SimulatedNetwork>(net_config_))); in TestCaptureNtpTime()
903 std::make_unique<SimulatedNetwork>(GetFakeNetworkPipeConfig()); in TestMinAudioVideoBitrate()
915 std::make_unique<SimulatedNetwork>(GetFakeNetworkPipeConfig()); in TestMinAudioVideoBitrate()
994 SimulatedNetwork* send_simulated_network_; in TestMinAudioVideoBitrate()
995 SimulatedNetwork* receive_simulated_network_; in TestMinAudioVideoBitrate()
Ddegraded_call.h159 SimulatedNetwork* send_simulated_network_;
167 SimulatedNetwork* receive_simulated_network_;
Ddegraded_call.cc140 auto network = std::make_unique<SimulatedNetwork>(*receive_config_); in DegradedCall()
147 auto network = std::make_unique<SimulatedNetwork>(*send_config_); in DegradedCall()
/external/webrtc/test/scenario/
Dnetwork_node.cc23 SimulatedNetwork::Config CreateSimulationConfig( in CreateSimulationConfig()
25 SimulatedNetwork::Config sim_config; in CreateSimulationConfig()
40 SimulatedNetwork* behavior, in SimulationNode()
44 std::unique_ptr<SimulatedNetwork> SimulationNode::CreateBehavior( in CreateBehavior()
46 SimulatedNetwork::Config sim_config = CreateSimulationConfig(config); in CreateBehavior()
47 return std::make_unique<SimulatedNetwork>(sim_config); in CreateBehavior()
53 SimulatedNetwork::Config sim_config = CreateSimulationConfig(config_); in UpdateConfig()
Dnetwork_node.h37 SimulatedNetwork* behavior,
39 static std::unique_ptr<SimulatedNetwork> CreateBehavior(
49 SimulatedNetwork* const simulation_;
/external/webrtc/video/end_to_end_tests/
Dcall_operation_tests.cc109 Clock::GetRealTimeClock(), std::make_unique<SimulatedNetwork>( in TEST_F()
115 Clock::GetRealTimeClock(), std::make_unique<SimulatedNetwork>( in TEST_F()
184 Clock::GetRealTimeClock(), std::make_unique<SimulatedNetwork>( in TEST_F()
190 Clock::GetRealTimeClock(), std::make_unique<SimulatedNetwork>( in TEST_F()
Dmulti_stream_tester.cc164 std::make_unique<SimulatedNetwork>(BuiltInNetworkBehaviorConfig())), in CreateSendTransport()
175 std::make_unique<SimulatedNetwork>(BuiltInNetworkBehaviorConfig())), in CreateReceiveTransport()
Dextended_reports_tests.cc165 std::make_unique<SimulatedNetwork>(forward_transport_config_); in CreateSendTransport()
213 SimulatedNetwork* send_simulated_network_;
Drtp_rtcp_tests.cc297 std::make_unique<SimulatedNetwork>( in TestRtpStatePreservation()
304 std::make_unique<SimulatedNetwork>( in TestRtpStatePreservation()
499 std::make_unique<SimulatedNetwork>(lossy_delayed_link))); in TEST_F()
508 std::make_unique<SimulatedNetwork>(flawless_link))); in TEST_F()
Dprobing_tests.cc223 std::make_unique<SimulatedNetwork>(BuiltInNetworkBehaviorConfig());
308 SimulatedNetwork* send_simulated_network_;
Dssrc_tests.cc90 Clock::GetRealTimeClock(), std::make_unique<SimulatedNetwork>( in TEST_F()
96 Clock::GetRealTimeClock(), std::make_unique<SimulatedNetwork>( in TEST_F()
Dmulti_codec_receive_tests.cc139 Clock::GetRealTimeClock(), std::make_unique<SimulatedNetwork>( in MultiCodecReceiveTest()
147 Clock::GetRealTimeClock(), std::make_unique<SimulatedNetwork>( in MultiCodecReceiveTest()
/external/webrtc/test/network/
Dfeedback_generator.h48 SimulatedNetwork* const send_link_;
49 SimulatedNetwork* const ret_link_;
Dfeedback_generator.cc21 send_link_{new SimulatedNetwork(conf_.send_link)}, in FeedbackGeneratorImpl()
22 ret_link_{new SimulatedNetwork(conf_.return_link)},
Dnetwork_emulation_unittest.cc154 std::make_unique<SimulatedNetwork>(BuiltInNetworkBehaviorConfig())); in CreateEmulatedNodeWithDefaultBuiltInConfig()
191 std::make_unique<SimulatedNetwork>(BuiltInNetworkBehaviorConfig())); in TEST()
193 std::make_unique<SimulatedNetwork>(BuiltInNetworkBehaviorConfig())); in TEST()
314 std::make_unique<SimulatedNetwork>(BuiltInNetworkBehaviorConfig())); in TEST()
316 std::make_unique<SimulatedNetwork>(BuiltInNetworkBehaviorConfig())); in TEST()
Dnetwork_emulation_pc_unittest.cc105 std::make_unique<SimulatedNetwork>(BuiltInNetworkBehaviorConfig())); in TEST()
107 std::make_unique<SimulatedNetwork>(BuiltInNetworkBehaviorConfig())); in TEST()
/external/webrtc/audio/test/
Daudio_end_to_end_test.cc74 std::make_unique<SimulatedNetwork>(GetNetworkPipeConfig()))); in CreateSendTransport()
84 std::make_unique<SimulatedNetwork>(GetNetworkPipeConfig()))); in CreateReceiveTransport()
Daudio_bwe_integration_test.cc69 std::make_unique<SimulatedNetwork>(GetNetworkPipeConfig()))); in CreateSendTransport()
79 std::make_unique<SimulatedNetwork>(GetNetworkPipeConfig()))); in CreateReceiveTransport()
/external/webrtc/test/pc/e2e/
Dpeer_connection_e2e_smoke_test.cc58 std::make_unique<SimulatedNetwork>(BuiltInNetworkBehaviorConfig()); in RunTest()
59 SimulatedNetwork* alice_network_behavior_ptr = alice_network_behavior.get(); in RunTest()
65 std::make_unique<SimulatedNetwork>(BuiltInNetworkBehaviorConfig())); in RunTest()
/external/bcc/src/cc/frontends/p4/test/
DendToEndTest.py195 class SimulatedNetwork(NetworkBase): class
350 network = SimulatedNetwork()
367 network = SimulatedNetwork()
/external/webrtc/api/test/
Dnetwork_emulation_manager.cc70 auto behavior = std::make_unique<SimulatedNetwork>(config_); in Build()

12