Home
last modified time | relevance | path

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

/system/netd/tests/
Dbinder_test.cpp4389 int selectedNetId; in TEST_P() local
4390 std::tie(isSecureVPN, selectedNetId) = GetParam(); in TEST_P()
4397 switch (selectedNetId) { in TEST_P()
4408 GTEST_LOG_(ERROR) << "unexpected netId:" << selectedNetId; // Should not happen. in TEST_P()
4417 EXPECT_EQ(0, setNetworkForProcess(selectedNetId)); in TEST_P()
4418 expectPacketSentOnNetId(AID_ROOT, selectedNetId, expectedFd, EXPLICITLY_SELECT); in TEST_P()
4423 if (isSecureVPN && selectedNetId != VPN_NETID) { in TEST_P()
4424 EXPECT_EQ(-EPERM, setNetworkForProcess(selectedNetId)); in TEST_P()
4426 EXPECT_EQ(0, setNetworkForProcess(selectedNetId)); in TEST_P()
4427 expectPacketSentOnNetId(TEST_UID3, selectedNetId, expectedFd, EXPLICITLY_SELECT); in TEST_P()
[all …]