Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dres_cache.cpp1007 int setOptions(const ResolverOptionsParcel& resolverOptions) { in setOptions()
1009 for (const auto& host : resolverOptions.hosts) { in setOptions()
1014 if (resolverOptions.tcMode < aidl::android::net::IDnsResolver::TC_MODE_DEFAULT || in setOptions()
1015 resolverOptions.tcMode > aidl::android::net::IDnsResolver::TC_MODE_UDP_TCP) { in setOptions()
1017 << ", invalid TC mode: " << resolverOptions.tcMode; in setOptions()
1020 tc_mode = resolverOptions.tcMode; in setOptions()
1021 enforceDnsUid = resolverOptions.enforceDnsUid; in setOptions()
1676 const ResolverOptionsParcel& resolverOptions = optionalResolverOptions.value(); in resolv_set_nameservers() local
1677 return netconfig->setOptions(resolverOptions); in resolv_set_nameservers()
Dresolv_cache.h82 std::optional<aidl::android::net::ResolverOptionsParcel> resolverOptions,
DResolverController.cpp229 resolverParams.resolverOptions, resolverParams.transportTypes); in setResolverConfiguration()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp1324 ResolverOptionsParcel resolverOptions; in TEST_F() local
1325 resolverOptions.hosts = invalidCustHosts; in TEST_F()
1327 resolverParams.resolverOptions = resolverOptions; in TEST_F()
1332 ->setResolverOptions(resolverParams.netId, resolverOptions) in TEST_F()
1408 ResolverOptionsParcel resolverOptions; in TEST_F() local
1409 resolverOptions.hosts = config.customizedHosts; in TEST_F()
1411 resolverParams.resolverOptions = resolverOptions; in TEST_F()
1417 ->setResolverOptions(resolverParams.netId, resolverOptions) in TEST_F()
1454 ResolverOptionsParcel resolverOptions; in TEST_F() local
1455 resolverOptions.hosts = custHostV4V6; in TEST_F()
[all …]
Dresolv_unit_test.cpp1498 const aidl::android::net::ResolverOptionsParcel& resolverOptions = { in TEST_F() local
1505 EXPECT_EQ(0, resolv_set_nameservers(TEST_NETID, servers, domains, params, resolverOptions, in TEST_F()
1516 EXPECT_EQ(0, resolv_set_nameservers(TEST_NETID + 1, servers, domains, params, resolverOptions, in TEST_F()
1523 const aidl::android::net::ResolverOptionsParcel& resolverOptions = { in TEST_F() local
1527 EXPECT_EQ(0, resolv_set_nameservers(TEST_NETID, servers, domains, params, resolverOptions, in TEST_F()
Dresolv_cache_unit_test.cpp61 aidl::android::net::ResolverOptionsParcel resolverOptions; member
205 setup.resolverOptions, setup.transportTypes); in cacheSetupResolver()
Ddnsresolver_binder_test.cpp232 parms.tlsConnectTimeoutMs, toString(parms.resolverOptions), in toString()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DDnsManagerTest.java140 assertResolverOptionsEquals(actual.resolverOptions, expected.resolverOptions); in assertResolverParamsEquals()
375 expectedParams.resolverOptions = null; in testSendDnsConfiguration()
/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/aidl_api/dnsresolver_aidl_interface/8/android/net/
DResolverParamsParcel.aidl36 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/4/android/net/
DResolverParamsParcel.aidl35 android.net.ResolverOptionsParcel resolverOptions;
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/current/android/net/
DResolverParamsParcel.aidl36 @nullable 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/binder/android/net/
DResolverParamsParcel.aidl107 ResolverOptionsParcel resolverOptions;
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.cpp81 paramsParcel.resolverOptions = ResolverOptionsParcel{}; // optional, must be explicitly set. in makeResolverParamsParcel()