/packages/modules/DnsResolver/ |
D | res_cache.cpp | 1007 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()
|
D | resolv_cache.h | 82 std::optional<aidl::android::net::ResolverOptionsParcel> resolverOptions,
|
D | ResolverController.cpp | 229 resolverParams.resolverOptions, resolverParams.transportTypes); in setResolverConfiguration()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 1324 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 …]
|
D | resolv_unit_test.cpp | 1498 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()
|
D | resolv_cache_unit_test.cpp | 61 aidl::android::net::ResolverOptionsParcel resolverOptions; member 205 setup.resolverOptions, setup.transportTypes); in cacheSetupResolver()
|
D | dnsresolver_binder_test.cpp | 232 parms.tlsConnectTimeoutMs, toString(parms.resolverOptions), in toString()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | DnsManagerTest.java | 140 assertResolverOptionsEquals(actual.resolverOptions, expected.resolverOptions); in assertResolverParamsEquals() 375 expectedParams.resolverOptions = null; in testSendDnsConfiguration()
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/6/android/net/ |
D | ResolverParamsParcel.aidl | 35 android.net.ResolverOptionsParcel resolverOptions;
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/5/android/net/ |
D | ResolverParamsParcel.aidl | 35 android.net.ResolverOptionsParcel resolverOptions;
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/8/android/net/ |
D | ResolverParamsParcel.aidl | 36 android.net.ResolverOptionsParcel resolverOptions;
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/7/android/net/ |
D | ResolverParamsParcel.aidl | 36 android.net.ResolverOptionsParcel resolverOptions;
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/4/android/net/ |
D | ResolverParamsParcel.aidl | 35 android.net.ResolverOptionsParcel resolverOptions;
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/current/android/net/ |
D | ResolverParamsParcel.aidl | 36 @nullable android.net.ResolverOptionsParcel resolverOptions;
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/9/android/net/ |
D | ResolverParamsParcel.aidl | 36 @nullable android.net.ResolverOptionsParcel resolverOptions;
|
/packages/modules/DnsResolver/binder/android/net/ |
D | ResolverParamsParcel.aidl | 107 ResolverOptionsParcel resolverOptions;
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder_client_ndk.cpp | 81 paramsParcel.resolverOptions = ResolverOptionsParcel{}; // optional, must be explicitly set. in makeResolverParamsParcel()
|