Searched refs:NetworkSimulationConfig (Results 1 – 12 of 12) sorted by relevance
84 auto send_net = s.CreateMutableSimulationNode([](NetworkSimulationConfig* c) { in UpdatesTargetRateBasedOnLinkCapacity()90 [](NetworkSimulationConfig* c) { c->delay = TimeDelta::Millis(100); }); in UpdatesTargetRateBasedOnLinkCapacity()102 send_net->UpdateConfig([](NetworkSimulationConfig* c) { in UpdatesTargetRateBasedOnLinkCapacity()112 send_net->UpdateConfig([](NetworkSimulationConfig* c) { in UpdatesTargetRateBasedOnLinkCapacity()117 [](NetworkSimulationConfig* c) { c->delay = TimeDelta::Millis(200); }); in UpdatesTargetRateBasedOnLinkCapacity()268 s.CreateMutableSimulationNode([=](NetworkSimulationConfig* c) { in TEST_F()273 [](NetworkSimulationConfig* c) { c->delay = TimeDelta::Millis(100); }); in TEST_F()303 s.CreateMutableSimulationNode([=](NetworkSimulationConfig* c) { in TEST_F()308 [](NetworkSimulationConfig* c) { c->delay = TimeDelta::Millis(100); }); in TEST_F()389 s.CreateMutableSimulationNode([=](NetworkSimulationConfig* c) { in TEST_F()[all …]
35 {s.CreateSimulationNode(NetworkSimulationConfig())}, in TEST()37 {s.CreateSimulationNode(NetworkSimulationConfig())}); in TEST()83 {s.CreateSimulationNode(NetworkSimulationConfig())}, in TEST()85 {s.CreateSimulationNode(NetworkSimulationConfig())}); in TEST()122 {s.CreateSimulationNode([](NetworkSimulationConfig* c) { in TEST()126 {s.CreateSimulationNode(NetworkSimulationConfig())}); in TEST()141 {s.CreateSimulationNode([](NetworkSimulationConfig* c) { in TEST()146 {s.CreateSimulationNode(NetworkSimulationConfig())}); in TEST()160 {s.CreateSimulationNode([](NetworkSimulationConfig* c) { in TEST()165 {s.CreateSimulationNode(NetworkSimulationConfig())}); in TEST()[all …]
36 SimulationNode(NetworkSimulationConfig config,40 NetworkSimulationConfig config);42 void UpdateConfig(std::function<void(NetworkSimulationConfig*)> modifier);48 NetworkSimulationConfig config_;
19 NetworkSimulationConfig network_config, in CreateAnalyzedStream()31 {s->CreateSimulationNode(NetworkSimulationConfig())}); in CreateAnalyzedStream()57 NetworkSimulationConfig good_network; in TEST()78 NetworkSimulationConfig bad_network; in TEST()98 NetworkSimulationConfig long_delays; in TEST()
24 NetworkSimulationConfig config) { in CreateSimulationConfig()39 SimulationNode::SimulationNode(NetworkSimulationConfig config, in SimulationNode()45 NetworkSimulationConfig config) { in CreateBehavior()51 std::function<void(NetworkSimulationConfig*)> modifier) { in UpdateConfig()
54 EmulatedNetworkNode* CreateSimulationNode(NetworkSimulationConfig config);56 std::function<void(NetworkSimulationConfig*)> config_modifier);58 SimulationNode* CreateMutableSimulationNode(NetworkSimulationConfig config);60 std::function<void(NetworkSimulationConfig*)> config_modifier);
167 std::function<void(NetworkSimulationConfig*)> config_modifier) { in CreateSimulationNode()168 NetworkSimulationConfig config; in CreateSimulationNode()174 NetworkSimulationConfig config) { in CreateSimulationNode()180 std::function<void(NetworkSimulationConfig*)> config_modifier) { in CreateMutableSimulationNode()181 NetworkSimulationConfig config; in CreateMutableSimulationNode()187 NetworkSimulationConfig config) { in CreateMutableSimulationNode()
29 NetworkSimulationConfig network_config; in TEST()69 NetworkSimulationConfig network_config; in SetupVideoCall()156 NetworkSimulationConfig network_config; in TEST()
219 struct NetworkSimulationConfig { struct
86 auto send_net = s.CreateMutableSimulationNode([](NetworkSimulationConfig* c) { in TEST()91 [](NetworkSimulationConfig* c) { c->delay = TimeDelta::Millis(100); }); in TEST()102 send_net->UpdateConfig([](NetworkSimulationConfig* c) { in TEST()108 send_net->UpdateConfig([](NetworkSimulationConfig* c) { in TEST()113 [](NetworkSimulationConfig* c) { c->delay = TimeDelta::Millis(200); }); in TEST()
80 NetworkSimulationConfig net_conf; in TEST()99 NetworkSimulationConfig net_conf; in TEST()
530 test::NetworkSimulationConfig net_conf; in TEST()