Home
last modified time | relevance | path

Searched refs:network_list (Results 1 – 12 of 12) sorted by relevance

/external/cronet/net/android/
Dnetwork_change_notifier_android_unittest.cc470 NetworkChangeNotifier::NetworkList network_list; in TEST_F() local
471 NetworkChangeNotifier::GetConnectedNetworks(&network_list); in TEST_F()
472 EXPECT_EQ(0u, network_list.size()); in TEST_F()
479 NetworkChangeNotifier::GetConnectedNetworks(&network_list); in TEST_F()
480 EXPECT_EQ(1u, network_list.size()); in TEST_F()
481 EXPECT_EQ(100, network_list[0]); in TEST_F()
491 NetworkChangeNotifier::GetConnectedNetworks(&network_list); in TEST_F()
492 EXPECT_EQ(2u, network_list.size()); in TEST_F()
493 EXPECT_EQ(100, network_list[0]); in TEST_F()
494 EXPECT_EQ(101, network_list[1]); in TEST_F()
[all …]
Dnetwork_change_notifier_delegate_android.cc181 NetworkList* network_list) const { in GetCurrentlyConnectedNetworks()
182 network_list->clear(); in GetCurrentlyConnectedNetworks()
185 network_list->push_back(i.first); in GetCurrentlyConnectedNetworks()
Dnetwork_change_notifier_android.h74 void GetCurrentConnectedNetworks(NetworkList* network_list) const override;
Dnetwork_change_notifier_delegate_android.h155 void GetCurrentlyConnectedNetworks(NetworkList* network_list) const;
/external/cronet/net/base/
Dmock_network_change_notifier.cc43 const NetworkList& network_list) { in SetConnectedNetworksList() argument
44 connected_networks_ = network_list; in SetConnectedNetworksList()
48 NetworkList* network_list) const { in GetCurrentConnectedNetworks()
49 network_list->clear(); in GetCurrentConnectedNetworks()
50 *network_list = connected_networks_; in GetCurrentConnectedNetworks()
Dmock_network_change_notifier.h34 void SetConnectedNetworksList(const NetworkList& network_list);
36 void GetCurrentConnectedNetworks(NetworkList* network_list) const override;
Dnetwork_change_notifier.cc461 void NetworkChangeNotifier::GetConnectedNetworks(NetworkList* network_list) { in GetConnectedNetworks() argument
464 g_network_change_notifier->GetCurrentConnectedNetworks(network_list); in GetConnectedNetworks()
466 network_list->clear(); in GetConnectedNetworks()
923 NetworkList* network_list) const { in GetCurrentConnectedNetworks()
924 network_list->clear(); in GetCurrentConnectedNetworks()
Dnetwork_change_notifier.h426 static void GetConnectedNetworks(NetworkList* network_list);
653 virtual void GetCurrentConnectedNetworks(NetworkList* network_list) const;
/external/autotest/client/site_tests/network_ChromeCellularEndToEnd/
Dnetwork_ChromeCellularEndToEnd.py166 network_list = self.chrome_net._chrome_testing.call_test_function(
170 return network_list
177 network_list = self._get_networks()
179 if not len(network_list['result']) > 1:
180 logging.debug('Available networks: %s', network_list)
186 network_list['result'])
/external/autotest/client/site_tests/network_ChromeWifiEndToEnd/
Dnetwork_ChromeWifiEndToEnd.py39 network_list = []
46 network_list.append(network)
48 return network_list
116 network_list = self._extract_wifi_network_info(networks_found_via_api)
122 for network in network_list:
/external/cronet/net/dns/
Dmdns_client.cc48 NetworkInterfaceList network_list; in GetMDnsInterfacesToBind() local
50 if (!GetNetworkList(&network_list, INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES)) in GetMDnsInterfacesToBind()
52 for (const auto& network_interface : network_list) { in GetMDnsInterfacesToBind()
/external/cronet/net/quic/
Dquic_stream_factory.cc1834 NetworkChangeNotifier::NetworkList network_list; in FindAlternateNetwork() local
1835 NetworkChangeNotifier::GetConnectedNetworks(&network_list); in FindAlternateNetwork()
1836 for (handles::NetworkHandle new_network : network_list) { in FindAlternateNetwork()