Home
last modified time | relevance | path

Searched refs:service_info (Results 1 – 2 of 2) sorted by relevance

/packages/modules/adb/client/openscreen/
Dmdns_service_info.cpp27 ServiceInfo service_info; in DnsSdInstanceEndpointToServiceInfo() local
31 service_info.service_name = endpoint.service_id(); in DnsSdInstanceEndpointToServiceInfo()
32 service_info.instance_name = endpoint.instance_id(); in DnsSdInstanceEndpointToServiceInfo()
41 service_info.port = endpoint.port(); in DnsSdInstanceEndpointToServiceInfo()
43 if (!service_info.v4_address && address.IsV4()) { in DnsSdInstanceEndpointToServiceInfo()
44 service_info.v4_address = address; in DnsSdInstanceEndpointToServiceInfo()
45 } else if (!service_info.v6_address && address.IsV6()) { in DnsSdInstanceEndpointToServiceInfo()
46 service_info.v6_address = address; in DnsSdInstanceEndpointToServiceInfo()
49 CHECK(service_info.v4_address || service_info.v6_address); in DnsSdInstanceEndpointToServiceInfo()
50 return service_info; in DnsSdInstanceEndpointToServiceInfo()
/packages/modules/adb/
Dtest_adb.py693 service_info = ServiceInfo(
698 with zeroconf_register_service(zc, service_info) as info:
767 service_info = ServiceInfo(
772 with zeroconf_register_service(zc, service_info) as info: