Lines Matching refs:callingUid

133                           uid_t callingUid) {  in setUpSocketAndTag()  argument
138 EXPECT_EQ(0, mTc.tagSocket(sock, tag, uid, callingUid)); in setUpSocketAndTag()
385 std::vector<uid_t> callingUid = {TEST_UID2}; in TEST_F() local
386 mTc.setPermissionForUids(INetd::PERMISSION_UPDATE_DEVICE_STATS, callingUid); in TEST_F()
397 mTc.setPermissionForUids(INetd::PERMISSION_NONE, callingUid); in TEST_F()
440 uid_t callingUid = TEST_UID2; in TEST_F() local
441 addPrivilegedUid(callingUid); in TEST_F()
442 ASSERT_EQ(0, mTc.setCounterSet(TEST_COUNTERSET, TEST_UID, callingUid)); in TEST_F()
447 ASSERT_EQ(0, mTc.setCounterSet(DEFAULT_COUNTERSET, TEST_UID, callingUid)); in TEST_F()
464 uid_t callingUid = TEST_UID2; in TEST_F() local
465 addPrivilegedUid(callingUid); in TEST_F()
466 ASSERT_GT(0, mTc.setCounterSet(OVERFLOW_COUNTERSET, TEST_UID, callingUid)); in TEST_F()
488 uid_t callingUid = TEST_UID2; in TEST_F() local
489 addPrivilegedUid(callingUid); in TEST_F()
495 ASSERT_EQ(0, mTc.deleteTagData(TEST_TAG, TEST_UID, callingUid)); in TEST_F()
515 uid_t callingUid = TEST_UID2; in TEST_F() local
516 addPrivilegedUid(callingUid); in TEST_F()
522 ASSERT_EQ(0, mTc.deleteTagData(0, TEST_UID, callingUid)); in TEST_F()
534 uid_t callingUid = TEST_UID2; in TEST_F() local
535 addPrivilegedUid(callingUid); in TEST_F()
545 ASSERT_EQ(0, mTc.deleteTagData(TEST_TAG, TEST_UID, callingUid)); in TEST_F()
564 uid_t callingUid = TEST_UID2; in TEST_F() local
565 addPrivilegedUid(callingUid); in TEST_F()
578 ASSERT_EQ(0, mTc.deleteTagData(0, uid2, callingUid)); in TEST_F()
599 ASSERT_EQ(0, mTc.deleteTagData(0, uid1, callingUid)); in TEST_F()