Searched refs:sTun2 (Results 1 – 2 of 2) sorted by relevance
/system/hardware/interfaces/net/netd/1.1/vts/functional/ |
D | VtsHalNetNetdV1_1TargetTest.cpp | 94 static TunInterface sTun2; member in NetdHidlTest 101 ASSERT_EQ(0, sTun2.init()); in SetUpTestCase() 103 ASSERT_LE(sTun2.name().size(), static_cast<size_t>(IFNAMSIZ)); in SetUpTestCase() 106 ASSERT_EQ(0, ifc_up(sTun2.name().c_str())); in SetUpTestCase() 112 sTun2.destroy(); in TearDownTestCase() 161 TunInterface NetdHidlTest::sTun2; member in NetdHidlTest 273 retStatus = netd->addInterfaceToOemNetwork(mNetHandle, sTun2.name().c_str()); in TEST_P() 281 StringPrintf(regexTemplate, sTun1.name().c_str(), sTun2.name().c_str(), table2); in TEST_P() 283 StringPrintf(regexTemplate, sTun2.name().c_str(), sTun1.name().c_str(), table1); in TEST_P() 288 retStatus = netd->setForwardingBetweenInterfaces(sTun1.name(), sTun2.name(), true); in TEST_P() [all …]
|
/system/netd/tests/ |
D | binder_test.cpp | 191 ASSERT_EQ(0, sTun2.init()); in SetUpTestCase() 195 ASSERT_LE(sTun2.name().size(), static_cast<size_t>(IFNAMSIZ)); in SetUpTestCase() 203 sTun2.destroy(); in TearDownTestCase() 236 static TunInterface sTun2; member in NetdBinderTest 242 TunInterface NetdBinderTest::sTun2; member in NetdBinderTest 803 status = mNetd->interfaceAddAddress(sTun2.name(), kLinkLocalAddress, 64); in TEST_F() 818 sin6_2.sin6_scope_id = if_nametoindex(sTun2.name().c_str()); in TEST_F() 842 status = mNetd->interfaceDelAddress(sTun2.name(), kLinkLocalAddress, 64); in TEST_F() 1584 EXPECT_TRUE(mNetd->networkAddInterface(TEST_NETID2, sTun2.name()).isOk()); in TEST_F() 1586 binder::Status status = mNetd->ipfwdAddInterfaceForward(sTun.name(), sTun2.name()); in TEST_F() [all …]
|