Searched refs:transportTypes (Results 1 – 12 of 12) sorted by relevance
1007 std::vector<int32_t> transportTypes; member1518 return convert_network_type(netconfig->transportTypes); in resolv_get_network_types_for_net()1583 const std::vector<int32_t>& transportTypes) { in resolv_set_nameservers() argument1651 netconfig->transportTypes = transportTypes; in resolv_set_nameservers()1940 android::net::NetworkType convert_network_type(const std::vector<int32_t>& transportTypes) { in convert_network_type() argument1942 if (transportTypes.size() > 3 || transportTypes.size() == 0) return android::net::NT_UNKNOWN; in convert_network_type()1944 if (transportTypes.size() == 1) return to_stats_network_type(transportTypes[0], false); in convert_network_type()1946 if (transportTypes.size() == 3) { in convert_network_type()1947 std::vector<int32_t> sortedTransTypes = transportTypes; in convert_network_type()1960 for (const auto& transportType : transportTypes) { in convert_network_type()[all …]
1464 const std::vector<int32_t>& transportTypes = {IDnsResolver::TRANSPORT_WIFI}; in TEST_F() local1466 transportTypes)); in TEST_F()1477 transportTypes)); in TEST_F()1485 const std::vector<int32_t>& transportTypes = {IDnsResolver::TRANSPORT_WIFI, in TEST_F() local1488 transportTypes)); in TEST_F()1495 std::vector<int32_t> transportTypes; in TEST_F() member1535 EXPECT_EQ(config.networkType, convert_network_type(config.transportTypes)); in TEST_F()
89 const std::vector<int32_t>& transportTypes = {});134 android::net::NetworkType convert_network_type(const std::vector<int32_t>& transportTypes);
63 std::vector<int32_t> transportTypes; member206 setup.resolverOptions, setup.transportTypes); in cacheSetupResolver()
236 resolverParams.resolverOptions, resolverParams.transportTypes); in setResolverConfiguration()
36 int[] transportTypes = {};
114 int[] transportTypes = {};
252 resolverParams.transportTypes = {IDnsResolver::TRANSPORT_WIFI, IDnsResolver::TRANSPORT_VPN}; in TEST_F()
1766 int[] transportTypes = mNetworkCapabilities.getTransportTypes(); in onlyWifiTransport() local1767 return transportTypes.length == 1 in onlyWifiTransport()1768 && transportTypes[0] == NetworkCapabilities.TRANSPORT_WIFI; in onlyWifiTransport()