Home
last modified time | relevance | path

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

/system/extras/tests/iptables/qtaguid/
DsocketTag.cpp201 fake_uid2 = testRand(); in SetUp()
209 (unsigned long)fake_uid2, (unsigned long)fake_uid2, in SetUp()
224 EXPECT_GE(doCtrlCommand("d 0 %u", fake_uid2), 0) << "Failed to delete fake_uid2"; in SetUp()
247 uid_t fake_uid2; member in android::SocketTaggingTest
268 EXPECT_GE(doCtrlCommand("t %d %" PRIu64 " %u", sock0.fd, tag , fake_uid2), 0) in TEST_F()
270 EXPECT_TRUE(sock0.checkTag(tag, fake_uid2))<< "Unexpected results: tag not found"; in TEST_F()
275 EXPECT_LT(doCtrlCommand("t %d %" PRIu64 " %u", sock0.fd, new_tag, fake_uid2), 0); in TEST_F()
277 fake_uid2)) << "Unexpected results: tag not found"; in TEST_F()
281 EXPECT_FALSE(sock0.checkTag(valid_tag2 + (((uint64_t)max_tags - 1) << 32), fake_uid2)) in TEST_F()
286 EXPECT_LT(doCtrlCommand("t %d %" PRIu64 " %u", sock0.fd, new_tag2 , fake_uid2), 0); in TEST_F()
[all …]