Home
last modified time | relevance | path

Searched refs:network_info (Results 1 – 16 of 16) sorted by relevance

/external/openscreen/discovery/dnssd/impl/
Dservice_instance.cc19 const Config::NetworkInfo& network_info) in ServiceInstance() argument
24 network_info)), in ServiceInstance()
25 network_config_(network_info.interface.index, in ServiceInstance()
26 (network_info.supported_address_families & in ServiceInstance()
28 ? network_info.interface.GetIpAddressV4() in ServiceInstance()
30 (network_info.supported_address_families &
32 ? network_info.interface.GetIpAddressV6()
35 network_info.supported_address_families;
Dservice_dispatcher.cc69 OSP_DCHECK_GT(config.network_info.size(), 0); in ServiceDispatcher()
72 service_instances_.reserve(config.network_info.size()); in ServiceDispatcher()
73 for (const auto& network_info : config.network_info) { in ServiceDispatcher() local
75 task_runner_, reporting_client, config, network_info)); in ServiceDispatcher()
Dservice_instance.h29 const Config::NetworkInfo& network_info);
/external/webrtc/sdk/android/src/jni/
Dandroid_network_monitor.cc136 NetworkInformation network_info; in GetNetworkInformationFromJava() local
137 network_info.interface_name = JavaToStdString( in GetNetworkInformationFromJava()
139 network_info.handle = static_cast<NetworkHandle>( in GetNetworkInformationFromJava()
141 network_info.type = GetNetworkTypeFromJava( in GetNetworkInformationFromJava()
143 network_info.underlying_type_for_vpn = GetNetworkTypeFromJava( in GetNetworkInformationFromJava()
148 network_info.ip_addresses = JavaToNativeVector<rtc::IPAddress>( in GetNetworkInformationFromJava()
150 return network_info; in GetNetworkInformationFromJava()
350 const NetworkInformation& network_info) { in OnNetworkConnected() argument
353 this, network_info)); in OnNetworkConnected()
359 const NetworkInformation& network_info) { in OnNetworkConnected_w() argument
[all …]
Dandroid_network_monitor.h82 void OnNetworkConnected(const NetworkInformation& network_info);
104 void OnNetworkConnected_w(const NetworkInformation& network_info);
/external/autotest/client/cros/enterprise/
Denterprise_network_api.py52 network_info = namedtuple(
56 network_data = network_info(
103 for network_info in networks_in_range:
104 if network_info.name == ssid:
105 return network_info
116 network_info = self._get_network_info(ssid)
117 if network_info is None:
119 return network_info.connectionState
/external/openscreen/discovery/mdns/
Dmdns_service_impl.cc23 const Config::NetworkInfo& network_info) { in Create() argument
25 task_runner, Clock::now, reporting_client, config, network_info); in Create()
32 const Config::NetworkInfo& network_info) in MdnsServiceImpl() argument
37 interface_(network_info.interface.index) { in MdnsServiceImpl()
40 OSP_DCHECK(network_info.supported_address_families); in MdnsServiceImpl()
47 if (network_info.supported_address_families & Config::NetworkInfo::kUseIpV4) { in MdnsServiceImpl()
58 if (network_info.supported_address_families & Config::NetworkInfo::kUseIpV6) { in MdnsServiceImpl()
Dmdns_service_impl.h43 const Config::NetworkInfo& network_info);
/external/openscreen/discovery/mdns/public/
Dmdns_service.h41 const Config::NetworkInfo& network_info);
/external/openscreen/discovery/common/
Dconfig.h38 std::vector<NetworkInfo> network_info; member
/external/autotest/frontend/afe/
Dmoblab_rpc_interface.py306 network_info = {}
309 network_info['server_ips'] = [info[0]]
310 network_info['is_connected'] = info[1]
312 return rpc_utils.prepare_for_serialization(network_info)
/external/webrtc/p2p/base/
Dconnection.cc187 uint32_t network_info = connection_->port()->Network()->id(); in Prepare() local
188 network_info = (network_info << 16) | connection_->port()->network_cost(); in Prepare()
190 STUN_ATTR_NETWORK_INFO, network_info)); in Prepare()
621 uint32_t network_info = network_attr->value(); in HandleStunBindingOrGoogPingRequest() local
622 uint16_t network_cost = static_cast<uint16_t>(network_info); in HandleStunBindingOrGoogPingRequest()
Dp2p_transport_channel.cc1018 uint32_t network_info = network_attr->value(); in OnUnknownAddress() local
1019 network_id = static_cast<uint16_t>(network_info >> 16); in OnUnknownAddress()
1020 network_cost = static_cast<uint16_t>(network_info); in OnUnknownAddress()
Dport_unittest.cc2057 uint32_t network_info = network_info_attr->value(); in TEST_F() local
2058 EXPECT_EQ(lnetwork_id, network_info >> 16); in TEST_F()
2060 EXPECT_EQ(rtc::kNetworkCostUnknown, network_info & 0xFFFF); in TEST_F()
2074 network_info = network_info_attr->value(); in TEST_F()
2075 EXPECT_EQ(rnetwork_id, network_info >> 16); in TEST_F()
2076 EXPECT_EQ(rtc::kNetworkCostHigh, network_info & 0xFFFF); in TEST_F()
/external/openscreen/cast/standalone_receiver/
Dcast_service.cc44 config.network_info.push_back({interface, supported_address_families}); in MakeDiscoveryConfig()
/external/openscreen/cast/standalone_sender/
Dreceiver_chooser.cc43 config.network_info.push_back({interface, families}); in ReceiverChooser()