Searched refs:netdService (Results 1 – 3 of 3) sorted by relevance
/system/netd/resolv/dns_responder/ |
D | dns_responder_client.h | 98 android::net::INetd* netdService() const { return mNetdSrv.get(); } in netdService() function
|
/system/netd/resolv/ |
D | resolver_test.cpp | 3400 void expectDnsNetIdIsDefaultNetwork(android::net::INetd* netdService) { in expectDnsNetIdIsDefaultNetwork() argument 3402 EXPECT_TRUE(netdService->networkGetDefault(¤tNetid).isOk()); in expectDnsNetIdIsDefaultNetwork() 3406 void expectDnsNetIdWithVpn(android::net::INetd* netdService, unsigned vpnNetId, in expectDnsNetIdWithVpn() argument 3408 EXPECT_TRUE(netdService->networkCreateVpn(vpnNetId, false /* secure */).isOk()); in expectDnsNetIdWithVpn() 3411 EXPECT_TRUE(netdService->networkAddUidRanges(vpnNetId, {makeUidRangeParcel(uid, uid)}).isOk()); in expectDnsNetIdWithVpn() 3413 EXPECT_TRUE(netdService->networkDestroy(vpnNetId).isOk()); in expectDnsNetIdWithVpn() 3422 expectDnsNetIdIsDefaultNetwork(mDnsClient.netdService()); in TEST_F() 3423 expectDnsNetIdWithVpn(mDnsClient.netdService(), TEST_VPN_NETID, TEST_VPN_NETID); in TEST_F() 3454 expectDnsNetIdWithVpn(mDnsClient.netdService(), TEST_VPN_NETID, TEST_NETID); in TEST_F()
|
/system/netd/tests/ |
D | binder_test.cpp | 3194 void expectVpnFallthroughWorks(android::net::INetd* netdService, bool bypassable, uid_t uid, in expectVpnFallthroughWorks() argument 3199 EXPECT_TRUE(netdService->networkSetDefault(NETID_UNSET).isOk()); in expectVpnFallthroughWorks() 3220 EXPECT_TRUE(netdService->networkSetDefault(fallthroughNetId).isOk()); in expectVpnFallthroughWorks()
|