Searched refs:mNetdSrv (Results 1 – 3 of 3) sorted by relevance
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder_client_ndk.cpp | 192 mNetdSrv->networkDestroy(TEST_NETID); in SetupOemNetwork() 194 auto ret = mNetdSrv->networkCreatePhysical(TEST_NETID, INetd::PERMISSION_NONE); in SetupOemNetwork() 213 mNetdSrv->networkDestroy(oemNetId); in TearDownOemNetwork() 221 mNetdSrv = INetd::fromBinder(netdBinder); in SetUp() 222 if (mNetdSrv.get() == nullptr) { in SetUp()
|
D | dns_responder_client_ndk.h | 118 aidl::android::net::INetd* netdService() const { return mNetdSrv.get(); } in netdService() 121 std::shared_ptr<aidl::android::net::INetd> mNetdSrv;
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 5223 mNetdSrv(netdSrv), in ScopedNetwork() 5247 INetd* mNetdSrv; member in ResolverMultinetworkTest::ScopedNetwork 5288 if (auto r = mNetdSrv->networkCreatePhysical(mNetId, INetd::PERMISSION_SYSTEM); !r.isOk()) { in init() 5294 if (auto r = mNetdSrv->networkAddInterface(mNetId, mIfname); !r.isOk()) { in init() 5300 if (auto r = mNetdSrv->interfaceAddAddress(mIfname, v4Addr, 32); !r.isOk()) { in init() 5303 if (auto r = mNetdSrv->networkAddRoute(mNetId, mIfname, "0.0.0.0/0", ""); !r.isOk()) { in init() 5309 if (auto r = mNetdSrv->interfaceAddAddress(mIfname, v6Addr, 128); !r.isOk()) { in init() 5312 if (auto r = mNetdSrv->networkAddRoute(mNetId, mIfname, "::/0", ""); !r.isOk()) { in init() 5321 mNetdSrv->networkDestroy(mNetId); in destroy() 5356 if (!mNetdSrv->interfaceAddAddress(mIfname, dst2, prefixLen).isOk()) { in addDns()
|