Searched refs:checkTag (Results 1 - 1 of 1) sorted by relevance

/system/extras/tests/iptables/qtaguid/
H A DsocketTag.cpp43 bool checkTag(uint64_t tag, uid_t uid);
108 if (!checkTag(tag, getuid())) {
121 /* checkTag() also tries to lookup the socket address in the kernel and
129 bool SockInfo::checkTag(uint64_t acct_tag, uid_t uid) { function in class:android::SockInfo
264 EXPECT_TRUE(sock0.checkTag(tag, fake_uid2))<< "Unexpected results: tag not found";
270 EXPECT_TRUE(sock0.checkTag(valid_tag2 + (((uint64_t)max_tags - 1) << 32),
275 EXPECT_FALSE(sock0.checkTag(valid_tag2 + (((uint64_t)max_tags - 1) << 32), fake_uid2))
281 EXPECT_FALSE(sock0.checkTag(valid_tag2 + ((uint64_t)max_tags << 32), fake_uid2))
292 EXPECT_TRUE(sock0.checkTag(valid_tag2 + (((uint64_t)max_tags + 1) << 32), fake_uid2))
296 EXPECT_FALSE(sock0.checkTag(valid_tag
[all...]

Completed in 452 milliseconds