socketTag.cpp | 220 testPrintI("setup sock0 and addr via tag"); 221 ASSERT_FALSE(sock0.setup(valid_tag1)) << "socket0 setup failed"; 235 SockInfo sock0; member in class:android::SocketTaggingTest 261 EXPECT_GE(doCtrlCommand("t %d %" PRIu64 " %u", sock0.fd, tag , fake_uid2), 0) 263 EXPECT_TRUE(sock0.checkTag(tag, fake_uid2))<< "Unexpected results: tag not found"; 268 EXPECT_LT(doCtrlCommand("t %d %" PRIu64 " %u", sock0.fd, new_tag, fake_uid2), 0); 269 EXPECT_TRUE(sock0.checkTag(valid_tag2 + (((uint64_t)max_tags - 1) << 32), 273 EXPECT_GE(doCtrlCommand("u %d", sock0.fd), 0); 274 EXPECT_FALSE(sock0.checkTag(valid_tag2 + (((uint64_t)max_tags - 1) << 32), fake_uid2)) 279 EXPECT_LT(doCtrlCommand("t %d %" PRIu64 " %u", sock0.fd, new_tag2 , fake_uid2), 0) [all...] |