Searched refs:defaultNetId (Results 1 – 2 of 2) sorted by relevance
216 unsigned defaultNetId = appDefaultNetwork ? appDefaultNetwork->getNetId() : mDefaultNetId; in getNetworkForDnsLocked() local224 *netId = defaultNetId; in getNetworkForDnsLocked()241 *netId = defaultNetId; in getNetworkForDnsLocked()254 *netId = defaultNetId; in getNetworkForDnsLocked()
245 void createDefaultAndOtherPhysicalNetwork(int defaultNetId, int otherNetId);3670 void NetdBinderTest::createDefaultAndOtherPhysicalNetwork(int defaultNetId, int otherNetId) { in createDefaultAndOtherPhysicalNetwork() argument3671 createAndSetDefaultNetwork(defaultNetId, sTun.name()); in createDefaultAndOtherPhysicalNetwork()3672 EXPECT_TRUE(mNetd->networkAddRoute(defaultNetId, sTun.name(), "::/0", "").isOk()); in createDefaultAndOtherPhysicalNetwork()