Home
last modified time | relevance | path

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

/external/openscreen/platform/impl/
Dtls_data_router_posix_unittest.cc80 TestingDataRouter* network_manager() { return &network_manager_; } in network_manager() function in openscreen::TlsNetworkingManagerPosixTest
94 ASSERT_FALSE(network_manager()->IsSocketWatched(ptr)); in TEST_F()
96 network_manager()->RegisterAcceptObserver(std::move(socket), &observer); in TEST_F()
97 ASSERT_TRUE(network_manager()->IsSocketWatched(ptr)); in TEST_F()
98 ASSERT_TRUE(network_manager()->AnySocketsWatched()); in TEST_F()
100 network_manager()->DeregisterAcceptObserver(&observer); in TEST_F()
101 ASSERT_FALSE(network_manager()->IsSocketWatched(ptr)); in TEST_F()
102 ASSERT_FALSE(network_manager()->AnySocketsWatched()); in TEST_F()
104 network_manager()->DeregisterAcceptObserver(&observer); in TEST_F()
105 ASSERT_FALSE(network_manager()->IsSocketWatched(ptr)); in TEST_F()
[all …]
/external/webrtc/test/network/
Dnetwork_emulation_unittest.cc162 NetworkEmulationManagerImpl network_manager(TimeMode::kRealTime); in TEST() local
167 EmulatedEndpoint* endpoint = network_manager.CreateEndpoint(config); in TEST()
175 NetworkEmulationManagerImpl network_manager(TimeMode::kRealTime); in TEST() local
180 EmulatedEndpoint* endpoint = network_manager.CreateEndpoint(config); in TEST()
188 NetworkEmulationManagerImpl network_manager(TimeMode::kRealTime); in TEST() local
190 EmulatedNetworkNode* alice_node = network_manager.CreateEmulatedNode( in TEST()
192 EmulatedNetworkNode* bob_node = network_manager.CreateEmulatedNode( in TEST()
195 network_manager.CreateEndpoint(EmulatedEndpointConfig()); in TEST()
197 network_manager.CreateEndpoint(EmulatedEndpointConfig()); in TEST()
198 network_manager.CreateRoute(alice_endpoint, {alice_node}, bob_endpoint); in TEST()
[all …]
Dnetwork_emulation_manager.cc109 EmulatedNetworkManager* network_manager = in EnableEndpoint() local
111 RTC_CHECK(network_manager); in EnableEndpoint()
112 network_manager->EnableEndpoint(static_cast<EmulatedEndpointImpl*>(endpoint)); in EnableEndpoint()
116 EmulatedNetworkManager* network_manager = in DisableEndpoint() local
118 RTC_CHECK(network_manager); in DisableEndpoint()
119 network_manager->DisableEndpoint( in DisableEndpoint()
279 auto network_manager = std::make_unique<EmulatedNetworkManager>( in CreateEmulatedNetworkManagerInterface() local
284 endpoint_to_network_manager_.insert({endpoint, network_manager.get()}) in CreateEmulatedNetworkManagerInterface()
291 EmulatedNetworkManagerInterface* out = network_manager.get(); in CreateEmulatedNetworkManagerInterface()
294 network_managers_.push_back(std::move(network_manager)); in CreateEmulatedNetworkManagerInterface()
Dnetwork_emulation_pc_unittest.cc78 rtc::NetworkManager* network_manager) { in CreatePeerConnection() argument
81 std::make_unique<cricket::BasicPortAllocator>(network_manager); in CreatePeerConnection()
135 alice_network->network_manager()); in TEST()
140 bob_network->network_manager()); in TEST()
Demulated_network_manager.h51 rtc::NetworkManager* network_manager() override { return this; } in network_manager() function
/external/webrtc/test/pc/e2e/
Dpeer_connection_quality_test_params.h67 explicit PeerConnectionComponents(rtc::NetworkManager* network_manager) in PeerConnectionComponents()
68 : network_manager(network_manager) { in PeerConnectionComponents()
69 RTC_CHECK(network_manager); in PeerConnectionComponents()
72 rtc::NetworkManager* const network_manager; member
83 rtc::NetworkManager* network_manager) in InjectableComponents()
87 std::make_unique<PeerConnectionComponents>(network_manager)) { in InjectableComponents()
Dpeer_configurer.h46 rtc::NetworkManager* network_manager) in PeerConfigurerImpl() argument
48 network_manager)), in PeerConfigurerImpl()
Dpeer_connection_e2e_smoke_test.cc104 alice_network->network_manager(), alice_configurer); in RunTest()
106 bob_network->network_manager(), bob_configurer); in RunTest()
Dpeer_connection_quality_test.h73 rtc::NetworkManager* network_manager,
Dpeer_connection_quality_test.cc156 rtc::NetworkManager* network_manager, in AddPeer() argument
159 std::make_unique<PeerConfigurerImpl>(network_thread, network_manager)); in AddPeer()
Dtest_peer_factory.cc253 pc_dependencies->network_manager); in CreatePCDependencies()
/external/webrtc/rtc_base/
Dnetwork_unittest.cc93 BasicNetworkManager& network_manager, in MergeNetworkList() argument
97 network_manager.MergeNetworkList(list, changed, &stats); in MergeNetworkList()
101 bool IsIgnoredNetwork(BasicNetworkManager& network_manager, in IsIgnoredNetwork() argument
103 return network_manager.IsIgnoredNetwork(network); in IsIgnoredNetwork()
107 const BasicNetworkManager& network_manager, in GetNetworks() argument
110 network_manager.CreateNetworks(include_ignored, &list); in GetNetworks()
114 FakeNetworkMonitor* GetNetworkMonitor(BasicNetworkManager& network_manager) { in GetNetworkMonitor() argument
116 network_manager.network_monitor_.get()); in GetNetworkMonitor()
118 void ClearNetworks(BasicNetworkManager& network_manager) { in ClearNetworks() argument
119 for (const auto& kv : network_manager.networks_map_) { in ClearNetworks()
[all …]
Dnat_unittest.cc224 BasicNetworkManager network_manager; in TestPhysicalInternal() local
225 network_manager.StartUpdating(); in TestPhysicalInternal()
230 network_manager.GetNetworks(&networks); in TestPhysicalInternal()
/external/webrtc/p2p/client/
Dbasic_port_allocator.cc155 rtc::NetworkManager* network_manager, in BasicPortAllocator() argument
159 : network_manager_(network_manager), socket_factory_(socket_factory) { in BasicPortAllocator()
168 BasicPortAllocator::BasicPortAllocator(rtc::NetworkManager* network_manager) in BasicPortAllocator() argument
169 : network_manager_(network_manager), socket_factory_(nullptr) { in BasicPortAllocator()
175 BasicPortAllocator::BasicPortAllocator(rtc::NetworkManager* network_manager, in BasicPortAllocator() argument
177 : BasicPortAllocator(network_manager, in BasicPortAllocator()
181 BasicPortAllocator::BasicPortAllocator(rtc::NetworkManager* network_manager, in BasicPortAllocator() argument
184 : network_manager_(network_manager), socket_factory_(socket_factory) { in BasicPortAllocator()
271 allocator_->network_manager()->SignalNetworksChanged.connect( in BasicPortAllocatorSession()
273 allocator_->network_manager()->StartUpdating(); in BasicPortAllocatorSession()
[all …]
Dbasic_port_allocator.h33 BasicPortAllocator(rtc::NetworkManager* network_manager,
37 explicit BasicPortAllocator(rtc::NetworkManager* network_manager);
38 BasicPortAllocator(rtc::NetworkManager* network_manager,
40 BasicPortAllocator(rtc::NetworkManager* network_manager,
52 rtc::NetworkManager* network_manager() const { in network_manager() function
Dbasic_port_allocator_unittest.cc727 EXPECT_EQ(&network_manager_, allocator().network_manager()); in TEST_F()
2387 ASSERT_EQ(&network_manager_, allocator().network_manager()); in TEST_F()
/external/webrtc/examples/stunprober/
Dmain.cc128 std::unique_ptr<rtc::BasicNetworkManager> network_manager( in main() local
131 network_manager->GetNetworks(&networks); in main()
/external/webrtc/audio/test/
Dpc_low_bandwidth_audio_test.cc84 network_links.first->network_manager(), alice_configurer); in CreateTestFixture()
86 network_links.second->network_manager(), bob_configurer); in CreateTestFixture()
/external/webrtc/api/test/
Dnetwork_emulation_manager.h68 virtual rtc::NetworkManager* network_manager() = 0;
Dpeerconnection_quality_test_fixture.h452 rtc::NetworkManager* network_manager,
/external/webrtc/test/peer_scenario/
Dscenario_connection.cc98 new cricket::BasicPortAllocator(manager_->network_manager())),
Dpeer_scenario_client.cc236 std::make_unique<cricket::BasicPortAllocator>(manager->network_manager()); in PeerScenarioClient()
/external/webrtc/video/
Dpc_full_stack_tests.cc91 network_links.first->network_manager(), alice_configurer); in CreateTestFixture()
93 network_links.second->network_manager(), bob_configurer); in CreateTestFixture()
/external/webrtc/pc/
Dpeer_connection_integrationtest.cc564 rtc::FakeNetworkManager* network_manager() const { in network_manager() function in webrtc::__anonb00edc420111::PeerConnectionWrapper
586 network_manager()->set_mdns_responder(std::move(mdns_responder)); in SetMdnsResponder()
3978 caller()->network_manager()->RemoveInterface(kDefaultLocalAddress); in SetUpNetworkInterfaces()
3979 callee()->network_manager()->RemoveInterface(kDefaultLocalAddress); in SetUpNetworkInterfaces()
3983 caller()->network_manager()->AddInterface(caller_address); in SetUpNetworkInterfaces()
3986 callee()->network_manager()->AddInterface(callee_address); in SetUpNetworkInterfaces()
/external/webrtc/p2p/base/
Dp2p_transport_channel_unittest.cc155 rtc::NetworkManager* network_manager, in CreateBasicPortAllocator() argument
172 new cricket::BasicPortAllocator(network_manager); in CreateBasicPortAllocator()