Home
last modified time | relevance | path

Searched refs:resolverParams (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/DnsResolver/tests/
Ddnsresolver_binder_test.cpp387 const auto resolverParams = ResolverParams::Builder() in TEST_F() local
392 ::ndk::ScopedAStatus status = mDnsResolver->setResolverConfiguration(resolverParams); in TEST_F()
398 mExpectedLogDataWithPacel.push_back(toSetResolverConfigurationLogData(resolverParams)); in TEST_F()
404 toSetResolverConfigurationLogData(resolverParams, td.expectedReturnCode)); in TEST_F()
411 auto resolverParams = DnsResponderClient::GetDefaultResolverParamsParcel(); in TEST_F() local
412 resolverParams.transportTypes = {IDnsResolver::TRANSPORT_WIFI, IDnsResolver::TRANSPORT_VPN}; in TEST_F()
413 ::ndk::ScopedAStatus status = mDnsResolver->setResolverConfiguration(resolverParams); in TEST_F()
415 mExpectedLogDataWithPacel.push_back(toSetResolverConfigurationLogData(resolverParams)); in TEST_F()
429 auto resolverParams = DnsResponderClient::GetDefaultResolverParamsParcel(); in TEST_F() local
430 ::ndk::ScopedAStatus status = mDnsResolver->setResolverConfiguration(resolverParams); in TEST_F()
[all …]
Dresolv_integration_test.cpp677 const auto resolverParams = ResolverParams::Builder() in TEST_F() local
682 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(resolverParams)); in TEST_F()
702 EXPECT_EQ(resolverParams.sampleValiditySeconds, resolvInfo.value().params.sample_validity); in TEST_F()
703 EXPECT_EQ(resolverParams.successThreshold, resolvInfo.value().params.success_threshold); in TEST_F()
704 EXPECT_EQ(resolverParams.minSamples, resolvInfo.value().params.min_samples); in TEST_F()
705 EXPECT_EQ(resolverParams.maxSamples, resolvInfo.value().params.max_samples); in TEST_F()
706 EXPECT_EQ(resolverParams.baseTimeoutMsec, resolvInfo.value().params.base_timeout_msec); in TEST_F()
707 EXPECT_EQ(resolverParams.retryCount, resolvInfo.value().params.retry_count); in TEST_F()
1516 auto resolverParams = DnsResponderClient::GetDefaultResolverParamsParcel(); in TEST_F() local
1521 resolverParams.resolverOptions = resolverOptions; in TEST_F()
[all …]
/packages/modules/DnsResolver/
DResolverController.cpp198 int ResolverController::setResolverConfiguration(const ResolverParamsParcel& resolverParams) { in setResolverConfiguration() argument
199 if (!has_named_cache(resolverParams.netId)) { in setResolverConfiguration()
205 gResNetdCallbacks.get_network_context(resolverParams.netId, 0 /* uid */, &netcontext); in setResolverConfiguration()
208 std::vector<std::string> tlsServers = resolverParams.tlsServers; in setResolverConfiguration()
218 int err = privateDnsConfiguration.set(resolverParams.netId, netcontext.app_mark, in setResolverConfiguration()
219 resolverParams.servers, tlsServers, in setResolverConfiguration()
220 resolverParams.tlsName, resolverParams.caCertificate); in setResolverConfiguration()
226 if (is_mdns_supported_transport_types(resolverParams.transportTypes)) { in setResolverConfiguration()
227 if (err = resolv_stats_set_addrs(resolverParams.netId, PROTO_MDNS, in setResolverConfiguration()
234 return resolv_set_nameservers(resolverParams); in setResolverConfiguration()
DDnsResolverService.cpp187 const ResolverParamsParcel& resolverParams) { in setResolverConfiguration() argument
195 if (resolverParams.caCertificate.size() != 0 && uid != AID_ROOT) { in setResolverConfiguration()
200 int res = gDnsResolv->resolverCtrl.setResolverConfiguration(resolverParams); in setResolverConfiguration()
DResolverController.h45 int setResolverConfiguration(const aidl::android::net::ResolverParamsParcel& resolverParams);
DDnsResolverService.h49 const aidl::android::net::ResolverParamsParcel& resolverParams) override;
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.cpp122 const auto resolverParams = ResolverParams::Builder() in SetResolversForNetwork() local
127 const auto rv = mDnsResolvSrv->setResolverConfiguration(resolverParams); in SetResolversForNetwork()
131 bool DnsResponderClient::SetResolversFromParcel(const ResolverParamsParcel& resolverParams) { in SetResolversFromParcel() argument
132 const auto rv = mDnsResolvSrv->setResolverConfiguration(resolverParams); in SetResolversFromParcel()
Ddns_responder_client_ndk.h131 bool SetResolversFromParcel(const aidl::android::net::ResolverParamsParcel& resolverParams);
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/1/android/net/
DIDnsResolver.aidl5 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/2/android/net/
DIDnsResolver.aidl22 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/3/android/net/
DIDnsResolver.aidl5 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/4/android/net/
DIDnsResolver.aidl23 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/5/android/net/
DIDnsResolver.aidl23 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/7/android/net/
DIDnsResolver.aidl24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/6/android/net/
DIDnsResolver.aidl23 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/8/android/net/
DIDnsResolver.aidl24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/10/android/net/
DIDnsResolver.aidl24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/9/android/net/
DIDnsResolver.aidl24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
/packages/modules/DnsResolver/binder/android/net/
DIDnsResolver.aidl61 void setResolverConfiguration(in ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/12/android/net/
DIDnsResolver.aidl24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/current/android/net/
DIDnsResolver.aidl24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/15/android/net/
DIDnsResolver.aidl24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/14/android/net/
DIDnsResolver.aidl24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/11/android/net/
DIDnsResolver.aidl24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/13/android/net/
DIDnsResolver.aidl24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument

12