Lines Matching refs:TEST_NETID2
115 static const int TEST_NETID2 = 65502; variable
144 mNetd->networkDestroy(TEST_NETID2); in TearDown()
169 void createVpnNetworkWithUid(bool secure, uid_t uid, int vpnNetId = TEST_NETID2,
551 EXPECT_TRUE(mNetd->networkCreateVpn(TEST_NETID2, true).isOk()); in TEST_F()
555 mNetd->networkAddInterface(TEST_NETID2, sTun.name()).serviceSpecificErrorCode()); in TEST_F()
558 EXPECT_TRUE(mNetd->networkAddInterface(TEST_NETID2, sTun.name()).isOk()); in TEST_F()
559 EXPECT_TRUE(mNetd->networkDestroy(TEST_NETID2).isOk()); in TEST_F()
1422 EXPECT_TRUE(mNetd->networkCreatePhysical(TEST_NETID2, INetd::PERMISSION_NONE).isOk()); in TEST_F()
1423 EXPECT_TRUE(mNetd->networkAddInterface(TEST_NETID2, sTun2.name()).isOk()); in TEST_F()
3128 {StringPrintf("ndc network interface add %d %s", TEST_NETID2, sTun.name().c_str()), in TEST_F()
3287 EXPECT_TRUE(mNetd->networkAddRoute(TEST_NETID2, sTun2.name(), "2001:db8::/32", "").isOk()); in createVpnNetworkWithUid()
3362 const TunInterface& vpnNetwork, int vpnNetId = TEST_NETID2, in expectVpnFallthroughWorks()
3489 EXPECT_TRUE(mNetd->networkCreatePhysical(TEST_NETID2, INetd::PERMISSION_NONE).isOk()); in TEST_F()
3490 EXPECT_TRUE(mNetd->networkAddInterface(TEST_NETID2, sTun2.name()).isOk()); in TEST_F()
3503 ASSERT_TRUE(mNetd->getFwmarkForNetwork(TEST_NETID2, &maskMarkNet2).isOk()); in TEST_F()
3508 EXPECT_TRUE(mNetd->networkDestroy(TEST_NETID2).isOk()); in TEST_F()