Home
last modified time | relevance | path

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

/system/netd/server/
DNetworkController.h91 static constexpr int UNREACHABLE_NET_ID = INetd::UNREACHABLE_NET_ID; variable
DNetworkController.cpp150 mNetworks[UNREACHABLE_NET_ID] = new UnreachableNetwork(UNREACHABLE_NET_ID);
486 if (netId == LOCAL_NET_ID || netId == UNREACHABLE_NET_ID) { in destroyNetwork()
/system/netd/tests/
Dbinder_test.cpp350 EXPECT_TRUE(testNetworkExistsButCannotConnect(mNetd, sTun, INetd::UNREACHABLE_NET_ID)); in TEST_F()
4268 EXPECT_TRUE(mNetd->networkAddUidRanges(INetd::UNREACHABLE_NET_ID, uidRanges).isOk()); in TEST_F()
4271 EXPECT_TRUE(mNetd->networkRemoveUidRanges(INetd::UNREACHABLE_NET_ID, {uidRanges.at(0)}).isOk()); in TEST_F()
4274 EXPECT_TRUE(mNetd->networkRemoveUidRanges(INetd::UNREACHABLE_NET_ID, {uidRanges.at(1)}).isOk()); in TEST_F()
4310 EXPECT_TRUE(mNetd->networkAddUidRanges(INetd::UNREACHABLE_NET_ID, in TEST_F()
4314 expectUnreachableError(TEST_UID1, INetd::UNREACHABLE_NET_ID, IMPLICITLY_SELECT); in TEST_F()
4317 EXPECT_TRUE(mNetd->networkRemoveUidRanges(INetd::UNREACHABLE_NET_ID, in TEST_F()
4337 EXPECT_TRUE(mNetd->networkAddUidRanges(INetd::UNREACHABLE_NET_ID, in TEST_F()
4344 EXPECT_TRUE(mNetd->networkRemoveUidRanges(INetd::UNREACHABLE_NET_ID, in TEST_F()
4386 EXPECT_TRUE(mNetd->networkAddUidRanges(INetd::UNREACHABLE_NET_ID, in TEST_F()
[all …]