Home
last modified time | relevance | path

Searched refs:defaultNetId (Results 1 – 2 of 2) sorted by relevance

/system/netd/server/
DNetworkController.cpp216 unsigned defaultNetId = appDefaultNetwork ? appDefaultNetwork->getNetId() : mDefaultNetId; in getNetworkForDnsLocked() local
224 *netId = defaultNetId; in getNetworkForDnsLocked()
241 *netId = defaultNetId; in getNetworkForDnsLocked()
254 *netId = defaultNetId; in getNetworkForDnsLocked()
/system/netd/tests/
Dbinder_test.cpp245 void createDefaultAndOtherPhysicalNetwork(int defaultNetId, int otherNetId);
3670 void NetdBinderTest::createDefaultAndOtherPhysicalNetwork(int defaultNetId, int otherNetId) { in createDefaultAndOtherPhysicalNetwork() argument
3671 createAndSetDefaultNetwork(defaultNetId, sTun.name()); in createDefaultAndOtherPhysicalNetwork()
3672 EXPECT_TRUE(mNetd->networkAddRoute(defaultNetId, sTun.name(), "::/0", "").isOk()); in createDefaultAndOtherPhysicalNetwork()