socketTag.cpp | 221 testPrintI("setup sock0 and addr via tag"); 222 ASSERT_FALSE(sock0.setup(valid_tag1)) << "socket0 setup failed"; 236 SockInfo sock0; member in class:android::SocketTaggingTest 262 EXPECT_GE(doCtrlCommand("t %d %llu %u", sock0.fd, tag , fake_uid2), 0) 264 EXPECT_TRUE(sock0.checkTag(tag, fake_uid2))<< "Unexpected results: tag not found"; 269 EXPECT_LT(doCtrlCommand("t %d %llu %u", sock0.fd, new_tag , fake_uid2), 0); 270 EXPECT_TRUE(sock0.checkTag(valid_tag2 + (((uint64_t)max_tags - 1) << 32), 274 EXPECT_GE(doCtrlCommand("u %d", sock0.fd), 0); 275 EXPECT_FALSE(sock0.checkTag(valid_tag2 + (((uint64_t)max_tags - 1) << 32), fake_uid2)) 280 EXPECT_LT(doCtrlCommand("t %d %llu %u", sock0.fd, new_tag2 , fake_uid2), 0) [all...] |