Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/
Ddnsresolver_binder_test.cpp89 ndk::SpAIBinder netdBinder = ndk::SpAIBinder(AServiceManager_getService("netd")); in expectLog() local
91 assert(nullptr != netdBinder.get()); in expectLog()
95 dumpService(netdBinder, /*args=*/nullptr, /*num_args=*/0, lines); in expectLog()
654 ndk::SpAIBinder netdBinder = ndk::SpAIBinder(AServiceManager_getService("dnsresolver")); in TEST_F() local
661 android::status_t ret = dumpService(netdBinder, /*args=*/nullptr, /*num_args=*/0, lines); in TEST_F()
670 ret = dumpService(netdBinder, /*args=*/nullptr, /*num_args=*/0, lines); in TEST_F()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/
DNetworkStackServiceTest.kt94 private val netdBinder = mock(IBinder::class.java).apply { in <lambda>() constant
98 doReturn(netdBinder).`when`(this).getSystemService(Context.NETD_SERVICE) in <lambda>()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.cpp206 ndk::SpAIBinder netdBinder = ndk::SpAIBinder(AServiceManager_getService("netd")); in SetUp() local
207 mNetdSrv = INetd::fromBinder(netdBinder); in SetUp()