Lines Matching refs:mDnsResolver
68 mDnsResolver = android::interface_cast<IDnsResolver>(binder); in DnsResolverBinderTest()
70 assert(nullptr != mDnsResolver.get()); in DnsResolverBinderTest()
72 mDnsResolver->createNetworkCache(TEST_NETID); in DnsResolverBinderTest()
77 mDnsResolver->destroyNetworkCache(TEST_NETID); in ~DnsResolverBinderTest()
81 sp<IDnsResolver> mDnsResolver; member in DnsResolverBinderTest
143 mDnsResolver->isAlive(&isAlive); in TEST_F()
194 android::binder::Status status = mDnsResolver->registerEventListener( in TEST_F()
264 binder::Status status = mDnsResolver->setResolverConfiguration(resolverParams); in TEST_F()
290 binder::Status status = mDnsResolver->setResolverConfiguration(resolverParams); in TEST_F()
299 status = mDnsResolver->getResolverInfo(TEST_NETID, &res_servers, &res_domains, &res_tls_servers, in TEST_F()
333 EXPECT_TRUE(mDnsResolver->createNetworkCache(ANOTHER_TEST_NETID).isOk()); in TEST_F()
337 mDnsResolver->createNetworkCache(ANOTHER_TEST_NETID).serviceSpecificErrorCode()); in TEST_F()
340 EXPECT_TRUE(mDnsResolver->destroyNetworkCache(ANOTHER_TEST_NETID).isOk()); in TEST_F()
343 EXPECT_TRUE(mDnsResolver->createNetworkCache(ANOTHER_TEST_NETID).isOk()); in TEST_F()
346 EXPECT_TRUE(mDnsResolver->destroyNetworkCache(ANOTHER_TEST_NETID).isOk()); in TEST_F()
349 EXPECT_TRUE(mDnsResolver->destroyNetworkCache(ANOTHER_TEST_NETID).isOk()); in TEST_F()
354 EXPECT_EQ(EINVAL, mDnsResolver->setLogSeverity(-1).serviceSpecificErrorCode()); in TEST_F()
357 EXPECT_TRUE(mDnsResolver->setLogSeverity(IDnsResolver::DNS_RESOLVER_LOG_VERBOSE).isOk()); in TEST_F()
359 EXPECT_TRUE(mDnsResolver->setLogSeverity(IDnsResolver::DNS_RESOLVER_LOG_DEBUG).isOk()); in TEST_F()
361 EXPECT_TRUE(mDnsResolver->setLogSeverity(IDnsResolver::DNS_RESOLVER_LOG_INFO).isOk()); in TEST_F()
363 EXPECT_TRUE(mDnsResolver->setLogSeverity(IDnsResolver::DNS_RESOLVER_LOG_WARNING).isOk()); in TEST_F()
365 EXPECT_TRUE(mDnsResolver->setLogSeverity(IDnsResolver::DNS_RESOLVER_LOG_ERROR).isOk()); in TEST_F()
368 EXPECT_TRUE(mDnsResolver->setLogSeverity(IDnsResolver::DNS_RESOLVER_LOG_WARNING).isOk()); in TEST_F()