Searched refs:mDnsResolver (Results 1 – 2 of 2) sorted by relevance
/packages/modules/DnsResolver/tests/ |
D | dnsresolver_binder_test.cpp | 60 mDnsResolver = IDnsResolver::fromBinder(resolvBinder); in DnsResolverBinderTest() 62 assert(nullptr != mDnsResolver.get()); in DnsResolverBinderTest() 64 mDnsResolver->createNetworkCache(TEST_NETID); in DnsResolverBinderTest() 69 mDnsResolver->destroyNetworkCache(TEST_NETID); in ~DnsResolverBinderTest() 73 std::shared_ptr<aidl::android::net::IDnsResolver> mDnsResolver; member in DnsResolverBinderTest 90 mDnsResolver->isAlive(&isAlive); in TEST_F() 95 ::ndk::ScopedAStatus status = mDnsResolver->registerEventListener(nullptr); in TEST_F() 105 ::ndk::ScopedAStatus status = mDnsResolver->registerEventListener(dummyListener); in TEST_F() 109 status = mDnsResolver->registerEventListener(dummyListener); in TEST_F() 162 ::ndk::ScopedAStatus status = mDnsResolver->registerEventListener(testOnDnsEvent); in TEST_F() [all …]
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 212 private @Mock DnsResolver mDnsResolver; field in NetworkMonitorTest 408 }).when(mDnsResolver).query(any(), any(), anyInt(), any(), any(), any()); in startMocking() 414 }).when(mDnsResolver).query(any(), any(), anyInt(), anyInt(), any(), any(), any()); in startMocking() 445 when(mDependencies.getDnsResolver()).thenReturn(mDnsResolver); in setUp()
|