Searched refs:netdService (Results 1 – 3 of 3) sorted by relevance
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 4363 void expectDnsNetIdIsDefaultNetwork(INetd* netdService) { in expectDnsNetIdIsDefaultNetwork() argument 4365 EXPECT_TRUE(netdService->networkGetDefault(¤tNetid).isOk()); in expectDnsNetIdIsDefaultNetwork() 4369 void expectDnsNetIdWithVpn(INetd* netdService, unsigned vpnNetId, unsigned expectedNetId) { in expectDnsNetIdWithVpn() argument 4370 if (DnsResponderClient::isRemoteVersionSupported(netdService, 6)) { in expectDnsNetIdWithVpn() 4373 EXPECT_TRUE(netdService->networkCreate(config).isOk()); in expectDnsNetIdWithVpn() 4377 EXPECT_TRUE(netdService->networkCreateVpn(vpnNetId, false /* secure */).isOk()); in expectDnsNetIdWithVpn() 4383 EXPECT_TRUE(netdService->networkAddUidRanges(vpnNetId, {makeUidRangeParcel(uid, uid)}).isOk()); in expectDnsNetIdWithVpn() 4385 EXPECT_TRUE(netdService->networkDestroy(vpnNetId).isOk()); in expectDnsNetIdWithVpn() 4394 expectDnsNetIdIsDefaultNetwork(mDnsClient.netdService()); in TEST_F() 4395 expectDnsNetIdWithVpn(mDnsClient.netdService(), TEST_VPN_NETID, TEST_VPN_NETID); in TEST_F() [all …]
|
D | resolv_private_dns_test.cpp | 589 ScopeBlockedUIDRule scopeBlockUidRule(mDnsClient.netdService(), TEST_UID); in TEST_P() 653 ScopeBlockedUIDRule scopeBlockUidRule(mDnsClient.netdService(), TEST_UID); in TEST_P()
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder_client_ndk.h | 167 aidl::android::net::INetd* netdService() const { return mNetdSrv.get(); } in netdService() function
|