Lines Matching refs:uid_t
52 constexpr uid_t TEST_UID = 10086;
53 constexpr uid_t TEST_UID2 = 54321;
54 constexpr uid_t TEST_UID3 = 98765;
132 int setUpSocketAndTag(int protocol, uint64_t* cookie, uint32_t tag, uid_t uid, in setUpSocketAndTag()
133 uid_t callingUid) { in setUpSocketAndTag()
142 void expectUidTag(uint64_t cookie, uid_t uid, uint32_t tag) { in expectUidTag()
244 void expectUidPermissionMapValues(const std::vector<uid_t>& appUids, uint8_t expectedValue) { in expectUidPermissionMapValues()
245 for (uid_t uid : appUids) { in expectUidPermissionMapValues()
254 void expectPrivilegedUserSet(const std::vector<uid_t>& appUids) { in expectPrivilegedUserSet()
257 for (uid_t uid : appUids) { in expectPrivilegedUserSet()
267 void addPrivilegedUid(uid_t uid) { in addPrivilegedUid()
272 void removePrivilegedUid(uid_t uid) { in removePrivilegedUid()
371 std::vector<uid_t> callingUid = {TEST_UID2}; in TEST_F()
396 uid_t uid = TEST_UID; in TEST_F()
411 uid_t uid = TEST_UID + i; in TEST_F()
418 uid_t callingUid = TEST_UID2; in TEST_F()
421 uid_t uid = TEST_UID; in TEST_F()
432 uid_t uid = TEST_UID; in TEST_F()
438 uid_t callingUid = TEST_UID2; in TEST_F()
441 uid_t uid = TEST_UID; in TEST_F()
448 uid_t uid = TEST_UID; in TEST_F()
458 uid_t callingUid = TEST_UID2; in TEST_F()
461 uid_t uid = TEST_UID; in TEST_F()
483 uid_t callingUid = TEST_UID2; in TEST_F()
486 uid_t uid = TEST_UID; in TEST_F()
500 uid_t callingUid = TEST_UID2; in TEST_F()
504 uid_t uid = TEST_UID; in TEST_F()
528 uid_t callingUid = TEST_UID2; in TEST_F()
532 uid_t uid1 = TEST_UID; in TEST_F()
533 uid_t uid2 = TEST_UID + 1; in TEST_F()
786 std::vector<uid_t> appUids = {TEST_UID, TEST_UID2, TEST_UID3}; in TEST_F()
794 std::vector<uid_t> appUids = {TEST_UID, TEST_UID2, TEST_UID3}; in TEST_F()
801 std::vector<uid_t> appUids = {TEST_UID, TEST_UID2, TEST_UID3}; in TEST_F()
807 std::vector<uid_t> uidToRemove = {TEST_UID}; in TEST_F()
810 std::vector<uid_t> uidRemain = {TEST_UID3, TEST_UID2}; in TEST_F()
820 std::vector<uid_t> appUids = {TEST_UID, TEST_UID2, TEST_UID3}; in TEST_F()
832 std::vector<uid_t> appUids = {TEST_UID, TEST_UID2, TEST_UID3}; in TEST_F()
837 std::vector<uid_t> uidToRemove = {TEST_UID}; in TEST_F()
840 std::vector<uid_t> uidRemain = {TEST_UID3, TEST_UID2}; in TEST_F()
848 std::vector<uid_t> appUids = {TEST_UID, TEST_UID2, TEST_UID3}; in TEST_F()
856 std::vector<uid_t> appUids = {TEST_UID, TEST_UID2, TEST_UID3}; in TEST_F()
861 std::vector<uid_t> uidToAdd = {TEST_UID}; in TEST_F()