Home
last modified time | relevance | path

Searched refs:mDnsResolver (Results 1 – 8 of 8) sorted by relevance

/packages/modules/DnsResolver/tests/
Ddnsresolver_binder_test.cpp74 mDnsResolver = IDnsResolver::fromBinder(resolvBinder); in DnsResolverBinderTest()
76 assert(nullptr != mDnsResolver.get()); in DnsResolverBinderTest()
78 mDnsResolver->createNetworkCache(TEST_NETID); in DnsResolverBinderTest()
84 mDnsResolver->destroyNetworkCache(TEST_NETID); in ~DnsResolverBinderTest()
197 std::shared_ptr<aidl::android::net::IDnsResolver> mDnsResolver; member in DnsResolverBinderTest
216 mDnsResolver->isAlive(&isAlive); in TEST_F()
221 ::ndk::ScopedAStatus status = mDnsResolver->registerEventListener(nullptr); in TEST_F()
234 ::ndk::ScopedAStatus status = mDnsResolver->registerEventListener(fakeListener); in TEST_F()
239 status = mDnsResolver->registerEventListener(fakeListener); in TEST_F()
248 ::ndk::ScopedAStatus status = mDnsResolver->registerUnsolicitedEventListener(nullptr); in TEST_F()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNat464XlatTest.java83 @Mock IDnsResolver mDnsResolver; field in Nat464XlatTest
106 return new Nat464Xlat(mNai, mNetd, mDnsResolver, deps) { in makeNat464Xlat()
294 verify(mDnsResolver).stopPrefix64Discovery(eq(NETID));
422 verify(mDnsResolver).stopPrefix64Discovery(eq(NETID));
449 verify(mDnsResolver).stopPrefix64Discovery(eq(NETID));
489 verify(mDnsResolver).stopPrefix64Discovery(eq(NETID));
556 verify(mDnsResolver, never()).startPrefix64Discovery(eq(NETID));
567 verify(mDnsResolver).startPrefix64Discovery(eq(NETID));
DLingerMonitorTest.java83 @Mock IDnsResolver mDnsResolver; field in LingerMonitorTest
377 new NetworkAgentConfig.Builder().build(), mConnService, mNetd, mDnsResolver, in nai()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNat464Xlat.java79 private final IDnsResolver mDnsResolver; field in Nat464Xlat
114 mDnsResolver = dnsResolver; in Nat464Xlat()
318 mDnsResolver.startPrefix64Discovery(getNetId()); in startPrefixDiscovery()
327 mDnsResolver.stopPrefix64Discovery(getNetId()); in stopPrefixDiscovery()
344 mDnsResolver.setPrefix64(getNetId(), prefixString); in setPrefix64()
DDnsManager.java250 private final IDnsResolver mDnsResolver; field in DnsManager
265 mDnsResolver = dnsResolver; in DnsManager()
417 mDnsResolver.setResolverConfiguration(paramsParcel); in sendDnsConfigurationForNetwork()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DNsdPublisher.java69 private final DnsResolver mDnsResolver; field in NsdPublisher
81 mDnsResolver = dnsResolver; in NsdPublisher()
324 mDnsResolver.query( in resolveHostInternal()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java255 private @Mock DnsResolver mDnsResolver; field in NetworkMonitorTest
538 }).when(mDnsResolver).query(any(), any(), anyInt(), any(), any(), any()); in startMocking()
544 }).when(mDnsResolver).query(any(), any(), anyInt(), anyInt(), any(), any(), any()); in startMocking()
589 doReturn(mDnsResolver).when(mDependencies).getDnsResolver(); in setUp()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java546 protected IDnsResolver mDnsResolver; field in ConnectivityService
1886 mDnsResolver = Objects.requireNonNull(dnsresolver, "missing IDnsResolver");
2006 mDnsManager = new DnsManager(mContext, mDnsResolver);
3397 mDnsResolver.registerUnsolicitedEventListener(mResolverUnsolEventCallback);
5578 mDnsResolver.createNetworkCache(nai.network.getNetId());
5604 mDnsResolver.destroyNetworkCache(nai.network.getNetId());
8892 new NetworkAgentConfig(networkAgentConfig), this, mNetd, mDnsResolver, providerId,