Searched refs:netdService (Results 1 – 2 of 2) sorted by relevance
4019 void expectDnsNetIdIsDefaultNetwork(INetd* netdService) { in expectDnsNetIdIsDefaultNetwork() argument4021 EXPECT_TRUE(netdService->networkGetDefault(¤tNetid).isOk()); in expectDnsNetIdIsDefaultNetwork()4025 void expectDnsNetIdWithVpn(INetd* netdService, unsigned vpnNetId, unsigned expectedNetId) { in expectDnsNetIdWithVpn() argument4026 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 …]
118 aidl::android::net::INetd* netdService() const { return mNetdSrv.get(); } in netdService() function