Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dres_cache.cpp1007 std::vector<int32_t> transportTypes; member
1518 return convert_network_type(netconfig->transportTypes); in resolv_get_network_types_for_net()
1583 const std::vector<int32_t>& transportTypes) { in resolv_set_nameservers() argument
1651 netconfig->transportTypes = transportTypes; in resolv_set_nameservers()
1940 android::net::NetworkType convert_network_type(const std::vector<int32_t>& transportTypes) { in convert_network_type() argument
1942 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 …]
Dresolv_unit_test.cpp1464 const std::vector<int32_t>& transportTypes = {IDnsResolver::TRANSPORT_WIFI}; in TEST_F() local
1466 transportTypes)); in TEST_F()
1477 transportTypes)); in TEST_F()
1485 const std::vector<int32_t>& transportTypes = {IDnsResolver::TRANSPORT_WIFI, in TEST_F() local
1488 transportTypes)); in TEST_F()
1495 std::vector<int32_t> transportTypes; in TEST_F() member
1535 EXPECT_EQ(config.networkType, convert_network_type(config.transportTypes)); in TEST_F()
Dresolv_cache.h89 const std::vector<int32_t>& transportTypes = {});
134 android::net::NetworkType convert_network_type(const std::vector<int32_t>& transportTypes);
Dresolv_cache_unit_test.cpp63 std::vector<int32_t> transportTypes; member
206 setup.resolverOptions, setup.transportTypes); in cacheSetupResolver()
DResolverController.cpp236 resolverParams.resolverOptions, resolverParams.transportTypes); in setResolverConfiguration()
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/4/android/net/
DResolverParamsParcel.aidl36 int[] transportTypes = {};
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/5/android/net/
DResolverParamsParcel.aidl36 int[] transportTypes = {};
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/6/android/net/
DResolverParamsParcel.aidl36 int[] transportTypes = {};
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/current/android/net/
DResolverParamsParcel.aidl36 int[] transportTypes = {};
/packages/modules/DnsResolver/binder/android/net/
DResolverParamsParcel.aidl114 int[] transportTypes = {};
/packages/modules/DnsResolver/tests/
Ddnsresolver_binder_test.cpp252 resolverParams.transportTypes = {IDnsResolver::TRANSPORT_WIFI, IDnsResolver::TRANSPORT_VPN}; in TEST_F()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java1766 int[] transportTypes = mNetworkCapabilities.getTransportTypes(); in onlyWifiTransport() local
1767 return transportTypes.length == 1 in onlyWifiTransport()
1768 && transportTypes[0] == NetworkCapabilities.TRANSPORT_WIFI; in onlyWifiTransport()