Home
last modified time | relevance | path

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

/system/netd/server/
DNetworkController.cpp213 unsigned defaultNetId = appDefaultNetwork ? appDefaultNetwork->getNetId() : mDefaultNetId; in getNetworkForDnsLocked() local
221 *netId = defaultNetId; in getNetworkForDnsLocked()
238 *netId = defaultNetId; in getNetworkForDnsLocked()
251 *netId = defaultNetId; in getNetworkForDnsLocked()
/system/netd/tests/
Dbinder_test.cpp220 void createDefaultAndOtherPhysicalNetwork(int defaultNetId, int otherNetId);
3266 void NetdBinderTest::createDefaultAndOtherPhysicalNetwork(int defaultNetId, int otherNetId) { in createDefaultAndOtherPhysicalNetwork() argument
3267 createAndSetDefaultNetwork(defaultNetId, sTun.name()); in createDefaultAndOtherPhysicalNetwork()
3268 EXPECT_TRUE(mNetd->networkAddRoute(defaultNetId, sTun.name(), "::/0", "").isOk()); in createDefaultAndOtherPhysicalNetwork()