Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dres_cache.cpp1584 const aidl::android::net::ResolverOptionsParcel& resolverOptions, in resolv_set_nameservers() argument
1639 for (const auto& host : resolverOptions.hosts) { in resolv_set_nameservers()
1644 if (resolverOptions.tcMode < aidl::android::net::IDnsResolver::TC_MODE_DEFAULT || in resolv_set_nameservers()
1645 resolverOptions.tcMode > aidl::android::net::IDnsResolver::TC_MODE_UDP_TCP) { in resolv_set_nameservers()
1647 << ", invalid TC mode: " << resolverOptions.tcMode; in resolv_set_nameservers()
1650 netconfig->tc_mode = resolverOptions.tcMode; in resolv_set_nameservers()
1651 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/current/android/net/
DResolverParamsParcel.aidl35 android.net.ResolverOptionsParcel resolverOptions;
/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/6/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/binder/android/net/
DResolverParamsParcel.aidl106 ResolverOptionsParcel resolverOptions;
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp1192 resolverParams.resolverOptions.hosts = invalidCustHosts; in TEST_F()
1267 resolverParams.resolverOptions.hosts = config.customizedHosts; in TEST_F()
1303 resolverParams.resolverOptions.hosts = custHostV4V6; in TEST_F()
1311 resolverParams.resolverOptions.hosts = {}; in TEST_F()
4175 parcel.resolverOptions.enforceDnsUid = true; in TEST_F()
4429 parcel.resolverOptions.tcMode = config.tcMode.value(); in TEST_F()