Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/
Dresolv_test_utils.h445 std::optional<aidl::android::net::ResolverOptionsParcel> resolverOptions,
451 params.resolverOptions = resolverOptions;
Dresolv_integration_test.cpp1518 ResolverOptionsParcel resolverOptions; in TEST_F() local
1519 resolverOptions.hosts = invalidCustHosts; in TEST_F()
1521 resolverParams.resolverOptions = resolverOptions; in TEST_F()
1526 ->setResolverOptions(resolverParams.netId, resolverOptions) in TEST_F()
1602 ResolverOptionsParcel resolverOptions; in TEST_F() local
1603 resolverOptions.hosts = config.customizedHosts; in TEST_F()
1605 resolverParams.resolverOptions = resolverOptions; in TEST_F()
1611 ->setResolverOptions(resolverParams.netId, resolverOptions) in TEST_F()
1648 ResolverOptionsParcel resolverOptions; in TEST_F() local
1649 resolverOptions.hosts = custHostV4V6; in TEST_F()
[all …]
Dresolv_unit_test.cpp1852 const aidl::android::net::ResolverOptionsParcel& resolverOptions = { in TEST_F() local
1859 EXPECT_EQ(0, resolv_set_nameservers(TEST_NETID, servers, domains, params, resolverOptions, in TEST_F()
1870 EXPECT_EQ(0, resolv_set_nameservers(TEST_NETID + 1, servers, domains, params, resolverOptions, in TEST_F()
1877 const aidl::android::net::ResolverOptionsParcel& resolverOptions = { in TEST_F() local
1881 EXPECT_EQ(0, resolv_set_nameservers(TEST_NETID, servers, domains, params, resolverOptions, in TEST_F()
Dresolv_cache_unit_test.cpp67 aidl::android::net::ResolverOptionsParcel resolverOptions; member
210 setup.resolverOptions, setup.transportTypes, setup.metered); in cacheSetupResolver()
953 .resolverOptions = {.enforceDnsUid = true}, in TEST_F()
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/8/android/net/
DResolverParamsParcel.aidl36 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/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/7/android/net/
DResolverParamsParcel.aidl36 android.net.ResolverOptionsParcel resolverOptions;
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/9/android/net/
DResolverParamsParcel.aidl36 @nullable android.net.ResolverOptionsParcel resolverOptions;
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/10/android/net/
DResolverParamsParcel.aidl36 @nullable android.net.ResolverOptionsParcel resolverOptions;
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/11/android/net/
DResolverParamsParcel.aidl36 @nullable android.net.ResolverOptionsParcel resolverOptions;
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/12/android/net/
DResolverParamsParcel.aidl36 @nullable android.net.ResolverOptionsParcel resolverOptions;
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/13/android/net/
DResolverParamsParcel.aidl37 @nullable android.net.ResolverOptionsParcel resolverOptions;
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/14/android/net/
DResolverParamsParcel.aidl37 @nullable android.net.ResolverOptionsParcel resolverOptions;
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/current/android/net/
DResolverParamsParcel.aidl37 @nullable android.net.ResolverOptionsParcel resolverOptions;
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/15/android/net/
DResolverParamsParcel.aidl37 @nullable android.net.ResolverOptionsParcel resolverOptions;
/packages/modules/DnsResolver/binder/android/net/
DResolverParamsParcel.aidl109 ResolverOptionsParcel resolverOptions;
/packages/modules/DnsResolver/
Dres_cache.cpp1029 int setOptions(const ResolverOptionsParcel& resolverOptions) { in setOptions()
1031 for (const auto& host : resolverOptions.hosts) { in setOptions()
1036 if (resolverOptions.tcMode < aidl::android::net::IDnsResolver::TC_MODE_DEFAULT || in setOptions()
1037 resolverOptions.tcMode > aidl::android::net::IDnsResolver::TC_MODE_UDP_TCP) { in setOptions()
1039 << ", invalid TC mode: " << resolverOptions.tcMode; in setOptions()
1042 tc_mode = resolverOptions.tcMode; in setOptions()
1043 enforceDnsUid = resolverOptions.enforceDnsUid; in setOptions()
1731 if (params.resolverOptions.has_value()) { in resolv_set_nameservers()
1732 return netconfig->setOptions(params.resolverOptions.value()); in resolv_set_nameservers()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.cpp54 mParcel.resolverOptions = ResolverOptionsParcel{}; // optional, must be explicitly set. in Builder()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DDnsManagerTest.java353 expectedParams.resolverOptions = null; in testSendDnsConfiguration()