/packages/modules/DnsResolver/tests/ |
D | dnsresolver_binder_test.cpp | 387 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 …]
|
D | resolv_integration_test.cpp | 677 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/ |
D | ResolverController.cpp | 198 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()
|
D | DnsResolverService.cpp | 187 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()
|
D | ResolverController.h | 45 int setResolverConfiguration(const aidl::android::net::ResolverParamsParcel& resolverParams);
|
D | DnsResolverService.h | 49 const aidl::android::net::ResolverParamsParcel& resolverParams) override;
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder_client_ndk.cpp | 122 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()
|
D | dns_responder_client_ndk.h | 131 bool SetResolversFromParcel(const aidl::android::net::ResolverParamsParcel& resolverParams);
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/1/android/net/ |
D | IDnsResolver.aidl | 5 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/2/android/net/ |
D | IDnsResolver.aidl | 22 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/3/android/net/ |
D | IDnsResolver.aidl | 5 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/4/android/net/ |
D | IDnsResolver.aidl | 23 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/5/android/net/ |
D | IDnsResolver.aidl | 23 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/7/android/net/ |
D | IDnsResolver.aidl | 24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/6/android/net/ |
D | IDnsResolver.aidl | 23 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/8/android/net/ |
D | IDnsResolver.aidl | 24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/10/android/net/ |
D | IDnsResolver.aidl | 24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/9/android/net/ |
D | IDnsResolver.aidl | 24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
|
/packages/modules/DnsResolver/binder/android/net/ |
D | IDnsResolver.aidl | 61 void setResolverConfiguration(in ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/12/android/net/ |
D | IDnsResolver.aidl | 24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/current/android/net/ |
D | IDnsResolver.aidl | 24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/15/android/net/ |
D | IDnsResolver.aidl | 24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/14/android/net/ |
D | IDnsResolver.aidl | 24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/11/android/net/ |
D | IDnsResolver.aidl | 24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/13/android/net/ |
D | IDnsResolver.aidl | 24 void setResolverConfiguration(in android.net.ResolverParamsParcel resolverParams); in setResolverConfiguration() argument
|