Home
last modified time | relevance | path

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

/test/vts-testcase/kernel/api/qtaguid/
DSocketTagUserSpace.cpp207 uid_t fake_uid2; member in android::SocketTagUsrSpaceTest
224 fake_uid2 = rand() & 0x7FFFFFFF; in SetUp()
237 EXPECT_GE(legacy_deleteTagData(0, fake_uid2), 0) in SetUp()
364 EXPECT_GE(legacy_tagSocket(sock_0.fd, valid_tag1, fake_uid2), 0); in TEST_F()
375 EXPECT_GE(legacy_tagSocket(sock_0.fd, valid_tag2, fake_uid2), 0); in TEST_F()
376 EXPECT_TRUE(sock_0.checkTag(valid_tag2, fake_uid2)) << "Tag not found."; in TEST_F()
386 EXPECT_GE(legacy_tagSocket(sock_1.fd, valid_tag1, fake_uid2), 0); in TEST_F()
387 EXPECT_TRUE(sock_1.checkTag(valid_tag1, fake_uid2)) << "Tag not found."; in TEST_F()
391 EXPECT_TRUE(sock_1.checkTag(valid_tag1, fake_uid2)) << "Tag not found"; in TEST_F()
393 EXPECT_FALSE(sock_1.checkTag(valid_tag1, fake_uid2)) in TEST_F()
[all …]