Searched refs:valid_tag1 (Results 1 – 1 of 1) sorted by relevance
/system/extras/tests/iptables/qtaguid/ |
D | socketTag.cpp | 202 valid_tag1 = ((uint64_t)my_pid << 48) | ((uint64_t)testRand() << 32); in SetUp() 210 valid_tag1, valid_tag1, valid_tag2, valid_tag2); in SetUp() 228 ASSERT_FALSE(sock0.setup(valid_tag1)) << "socket0 setup failed"; in SetUp() 230 ASSERT_FALSE(sock1.setup(valid_tag1)) << "socket1 setup failed"; in SetUp() 250 uint64_t valid_tag1; member in android::SocketTaggingTest 334 EXPECT_GE(doCtrlCommand("t %d %" PRIu64, sock0.fd, valid_tag1), 0); in TEST_F() 335 EXPECT_TRUE(sock0.checkTag(valid_tag1, my_uid)) << "Tag not found"; in TEST_F() 340 EXPECT_GE(doCtrlCommand("t %d %" PRIu64, sock0.fd, valid_tag1), 0); in TEST_F() 341 EXPECT_TRUE(sock0.checkTag(valid_tag1, my_uid)) << "Tag not found"; in TEST_F() 343 EXPECT_FALSE(sock0.checkTag(valid_tag1, my_uid)) << "Tag should be removed"; in TEST_F() [all …]
|