Home
last modified time | relevance | path

Searched refs:mDnsResolvSrv (Results 1 – 3 of 3) sorted by relevance

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.cpp128 const auto rv = mDnsResolvSrv->setResolverConfiguration(resolverParams); in SetResolversForNetwork()
139 const auto rv = mDnsResolvSrv->setResolverConfiguration(resolverParams); in SetResolversWithTls()
145 const auto rv = mDnsResolvSrv->setResolverConfiguration(resolverParams); in SetResolversFromParcel()
177 mDnsResolvSrv->destroyNetworkCache(TEST_NETID); in SetupOemNetwork()
195 ret = mDnsResolvSrv->createNetworkCache(TEST_NETID); in SetupOemNetwork()
210 mDnsResolvSrv->destroyNetworkCache(oemNetId); in TearDownOemNetwork()
223 mDnsResolvSrv = IDnsResolver::fromBinder(resolvBinder); in SetUp()
224 if (mDnsResolvSrv.get() == nullptr) { in SetUp()
Ddns_responder_client_ndk.h139 aidl::android::net::IDnsResolver* resolvService() const { return mDnsResolvSrv.get(); } in resolvService()
144 std::shared_ptr<aidl::android::net::IDnsResolver> mDnsResolvSrv; variable
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp6070 mDnsResolvSrv(dnsResolvSrv), in ScopedNetwork()
6076 if (mDnsResolvSrv != nullptr) mDnsResolvSrv->destroyNetworkCache(mNetId); in ~ScopedNetwork()
6095 IDnsResolver* mDnsResolvSrv; member in ResolverMultinetworkTest::ScopedNetwork
6253 if (mNetdSrv == nullptr || mDnsResolvSrv == nullptr) return Error() << "srv not available"; in init()
6263 if (auto r = mDnsResolvSrv->createNetworkCache(mNetId); !r.isOk()) { in init()
6334 if (mDnsResolvSrv == nullptr) return false; in setDnsConfiguration()
6342 return mDnsResolvSrv->setResolverConfiguration(parcel).isOk(); in setDnsConfiguration()
6346 if (mDnsResolvSrv == nullptr) return false; in clearDnsConfiguration()
6347 return mDnsResolvSrv->destroyNetworkCache(mNetId).isOk() && in clearDnsConfiguration()
6348 mDnsResolvSrv->createNetworkCache(mNetId).isOk(); in clearDnsConfiguration()