Lines Matching refs:network_manager
93 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()
122 network_manager.networks_.clear(); in ClearNetworks()
123 network_manager.networks_map_.clear(); in ClearNetworks()
126 AdapterType GetAdapterType(BasicNetworkManager& network_manager) { in GetAdapterType() argument
128 network_manager.GetNetworks(&list); in GetAdapterType()
135 static void CallConvertIfAddrs(const BasicNetworkManager& network_manager, in CallConvertIfAddrs() argument
141 network_manager.ConvertIfAddrs(interfaces, ifaddrs_converter.get(), in CallConvertIfAddrs()
179 BasicNetworkManager& network_manager) { in InstallIpv6Network() argument
185 CallConvertIfAddrs(network_manager, addr_list, true, &result); in InstallIpv6Network()
186 network_manager.MergeNetworkList(result, &changed, &stats); in InstallIpv6Network()
221 BasicNetworkManager& network_manager) { in InstallIpv4Network() argument
227 CallConvertIfAddrs(network_manager, addr_list, true, &result); in InstallIpv4Network()
228 network_manager.MergeNetworkList(result, &changed, &stats); in InstallIpv4Network()
270 BasicNetworkManager network_manager; in TEST_F() local
271 EXPECT_FALSE(IsIgnoredNetwork(network_manager, ipv4_network1)); in TEST_F()
272 EXPECT_TRUE(IsIgnoredNetwork(network_manager, ipv4_network2)); in TEST_F()
281 BasicNetworkManager network_manager; in TEST_F() local
282 EXPECT_FALSE(IsIgnoredNetwork(network_manager, ignore_me)); in TEST_F()
283 EXPECT_FALSE(IsIgnoredNetwork(network_manager, include_me)); in TEST_F()
286 network_manager.set_network_ignore_list(ignore_list); in TEST_F()
287 EXPECT_TRUE(IsIgnoredNetwork(network_manager, ignore_me)); in TEST_F()
288 EXPECT_FALSE(IsIgnoredNetwork(network_manager, include_me)); in TEST_F()