Home
last modified time | relevance | path

Searched refs:netdService (Results 1 – 2 of 2) sorted by relevance

/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp4019 void expectDnsNetIdIsDefaultNetwork(INetd* netdService) { in expectDnsNetIdIsDefaultNetwork() argument
4021 EXPECT_TRUE(netdService->networkGetDefault(&currentNetid).isOk()); in expectDnsNetIdIsDefaultNetwork()
4025 void expectDnsNetIdWithVpn(INetd* netdService, unsigned vpnNetId, unsigned expectedNetId) { in expectDnsNetIdWithVpn() argument
4026 EXPECT_TRUE(netdService->networkCreateVpn(vpnNetId, false /* secure */).isOk()); in expectDnsNetIdWithVpn()
4029 EXPECT_TRUE(netdService->networkAddUidRanges(vpnNetId, {makeUidRangeParcel(uid, uid)}).isOk()); in expectDnsNetIdWithVpn()
4031 EXPECT_TRUE(netdService->networkDestroy(vpnNetId).isOk()); in expectDnsNetIdWithVpn()
4040 expectDnsNetIdIsDefaultNetwork(mDnsClient.netdService()); in TEST_F()
4041 expectDnsNetIdWithVpn(mDnsClient.netdService(), TEST_VPN_NETID, TEST_VPN_NETID); in TEST_F()
4072 expectDnsNetIdWithVpn(mDnsClient.netdService(), TEST_VPN_NETID, TEST_NETID); in TEST_F()
4103 INetd* netdService = mDnsClient.netdService(); in TEST_F() local
[all …]
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.h118 aidl::android::net::INetd* netdService() const { return mNetdSrv.get(); } in netdService() function