Home
last modified time | relevance | path

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

/system/netd/tests/
Dbinder_test.cpp134 mNetd = android::interface_cast<INetd>(binder); in NetdBinderTest()
139 ASSERT_NE(nullptr, mNetd.get()); in SetUp()
143 mNetd->networkDestroy(TEST_NETID1); in TearDown()
144 mNetd->networkDestroy(TEST_NETID2); in TearDown()
147 if (mStoredDefaultNetwork >= 0) mNetd->networkSetDefault(mStoredDefaultNetwork); in TearDown()
176 sp<INetd> mNetd; member in NetdBinderTest
198 mNetd->isAlive(&isAlive); in TEST_F()
226 mNetd->firewallReplaceUidChain(chainName, true, uids, &ret); in TEST_F()
235 mNetd->firewallReplaceUidChain(chainName, false, noUids, &ret); in TEST_F()
243 mNetd->firewallReplaceUidChain(chainName, false, uids, &ret); in TEST_F()
[all …]
/system/netd/server/
DNdcDispatcher.cpp118 sp<INetd> NdcDispatcher::mNetd; member in android::net::NdcDispatcher
126 NdcDispatcher::mNetd = interface_cast<INetd>(binderNetd); in NdcDispatcher()
175 Status status = mNetd->interfaceGetList(&interfaceGetList); in runCommand()
199 Status status = mNetd->interfaceGetCfg(std::string(argv[2]), &interfaceCfgResult); in runCommand()
240 Status status = mNetd->interfaceSetCfg(interfaceCfg); in runCommand()
255 Status status = mNetd->interfaceSetCfg(interfaceCfg); in runCommand()
266 Status status = mNetd->interfaceSetCfg(interfaceCfg); in runCommand()
290 mNetd->interfaceClearAddrs(std::string(argv[2])); in runCommand()
302 Status status = mNetd->interfaceSetIPv6PrivacyExtensions(std::string(argv[2]), enable); in runCommand()
319 Status status = mNetd->interfaceSetEnableIPv6(std::string(argv[2]), enable); in runCommand()
[all …]
DNdcDispatcher.h70 static sp<INetd> mNetd; variable