Home
last modified time | relevance | path

Searched refs:resolverOptions (Results 1 – 11 of 11) sorted by relevance

/packages/modules/DnsResolver/
Dres_cache.cpp1582 const aidl::android::net::ResolverOptionsParcel& resolverOptions, in resolv_set_nameservers() argument
1637 for (const auto& host : resolverOptions.hosts) { in resolv_set_nameservers()
1642 if (resolverOptions.tcMode < aidl::android::net::IDnsResolver::TC_MODE_DEFAULT || in resolv_set_nameservers()
1643 resolverOptions.tcMode > aidl::android::net::IDnsResolver::TC_MODE_UDP_TCP) { in resolv_set_nameservers()
1645 << ", invalid TC mode: " << resolverOptions.tcMode; in resolv_set_nameservers()
1648 netconfig->tc_mode = resolverOptions.tcMode; in resolv_set_nameservers()
1649 netconfig->enforceDnsUid = resolverOptions.enforceDnsUid; in resolv_set_nameservers()
Dresolv_unit_test.cpp1458 const aidl::android::net::ResolverOptionsParcel& resolverOptions = { in TEST_F() local
1465 EXPECT_EQ(0, resolv_set_nameservers(TEST_NETID, servers, domains, params, resolverOptions, in TEST_F()
1476 EXPECT_EQ(0, resolv_set_nameservers(TEST_NETID + 1, servers, domains, params, resolverOptions, in TEST_F()
1483 const aidl::android::net::ResolverOptionsParcel& resolverOptions = { in TEST_F() local
1487 EXPECT_EQ(0, resolv_set_nameservers(TEST_NETID, servers, domains, params, resolverOptions, in TEST_F()
Dresolv_cache.h85 const aidl::android::net::ResolverOptionsParcel& resolverOptions =
Dresolv_cache_unit_test.cpp62 aidl::android::net::ResolverOptionsParcel resolverOptions; 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.aidl35 android.net.ResolverOptionsParcel resolverOptions;
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/5/android/net/
DResolverParamsParcel.aidl35 android.net.ResolverOptionsParcel resolverOptions;
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/6/android/net/
DResolverParamsParcel.aidl35 android.net.ResolverOptionsParcel resolverOptions;
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/current/android/net/
DResolverParamsParcel.aidl35 android.net.ResolverOptionsParcel resolverOptions;
/packages/modules/DnsResolver/binder/android/net/
DResolverParamsParcel.aidl106 ResolverOptionsParcel resolverOptions;
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp1097 resolverParams.resolverOptions.hosts = invalidCustHosts; in TEST_F()
1172 resolverParams.resolverOptions.hosts = config.customizedHosts; in TEST_F()
1208 resolverParams.resolverOptions.hosts = custHostV4V6; in TEST_F()
1216 resolverParams.resolverOptions.hosts = {}; in TEST_F()
4061 parcel.resolverOptions.enforceDnsUid = true; in TEST_F()
4334 parcel.resolverOptions.tcMode = config.tcMode.value(); in TEST_F()