Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.cpp161 mNetdSrv->networkDestroy(oemNetId); in SetupOemNetwork()
165 if (DnsResponderClient::isRemoteVersionSupported(mNetdSrv, 6)) { in SetupOemNetwork()
168 ret = mNetdSrv->networkCreate(config); in SetupOemNetwork()
173 ret = mNetdSrv->networkCreatePhysical(oemNetId, INetd::PERMISSION_NONE); in SetupOemNetwork()
193 if (auto status = mNetdSrv->networkDestroy(oemNetId); !status.isOk()) { in TearDownOemNetwork()
207 mNetdSrv = INetd::fromBinder(netdBinder); in SetUp()
208 if (mNetdSrv.get() == nullptr) { in SetUp()
Ddns_responder_client_ndk.h167 aidl::android::net::INetd* netdService() const { return mNetdSrv.get(); } in netdService()
170 std::shared_ptr<aidl::android::net::INetd> mNetdSrv;
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp7051 mNetdSrv(netdSrv), in ScopedNetwork()
7057 if (mNetdSrv != nullptr) mNetdSrv->networkDestroy(mNetId); in ~ScopedNetwork()
7071 if (auto r = mNetdSrv->networkAddUidRanges(mNetId, {makeUidRangeParcel(from, to)}); in addUidRange()
7085 if (auto r = mNetdSrv->networkAddUidRangesParcel(cfg); !r.isOk()) { in addUidRangeFromParcel()
7107 INetd* mNetdSrv; member in ResolverMultinetworkTest::ScopedNetwork
7129 if (DnsResponderClient::isRemoteVersionSupported(mNetdSrv, 6)) { in createNetwork()
7133 r = mNetdSrv->networkCreate(config); in createNetwork()
7137 r = mNetdSrv->networkCreatePhysical(mNetId, INetd::PERMISSION_NONE); in createNetwork()
7160 mNetdSrv->firewallRemoveUidInterfaceRules(tmpUids); in ~ScopedVirtualNetwork()
7169 } else if (auto r = mNetdSrv->firewallAddUidInterfaceRules(mIfname, {uid}); !r.isOk()) { in enableVpnIsolation()
[all …]