Searched refs:valid_tag1 (Results 1 – 1 of 1) sorted by relevance
/system/extras/tests/iptables/qtaguid/ |
D | socketTag.cpp | 195 valid_tag1 = ((uint64_t)my_pid << 48) | ((uint64_t)testRand() << 32); in SetUp() 203 valid_tag1, valid_tag1, valid_tag2, valid_tag2); in SetUp() 221 ASSERT_FALSE(sock0.setup(valid_tag1)) << "socket0 setup failed"; in SetUp() 223 ASSERT_FALSE(sock1.setup(valid_tag1)) << "socket1 setup failed"; in SetUp() 243 uint64_t valid_tag1; member in android::SocketTaggingTest 327 EXPECT_GE(doCtrlCommand("t %d %" PRIu64, sock0.fd, valid_tag1), 0); in TEST_F() 328 EXPECT_TRUE(sock0.checkTag(valid_tag1, my_uid)) << "Tag not found"; in TEST_F() 333 EXPECT_GE(doCtrlCommand("t %d %" PRIu64, sock0.fd, valid_tag1), 0); in TEST_F() 334 EXPECT_TRUE(sock0.checkTag(valid_tag1, my_uid)) << "Tag not found"; in TEST_F() 336 EXPECT_FALSE(sock0.checkTag(valid_tag1, my_uid)) << "Tag should be removed"; in TEST_F() [all …]
|