Searched refs:pw_uid (Results 1 – 7 of 7) sorted by relevance
/bionic/tests/ |
D | grp_pwd_test.cpp | 67 EXPECT_EQ(uid, pwd->pw_uid); in check_passwd() 487 EXPECT_EQ(pwd->pw_gid, pwd->pw_uid) << "pwd->pw_uid: " << pwd->pw_uid; in TEST() 488 EXPECT_EQ(nullptr, pwd->pw_passwd) << "pwd->pw_uid: " << pwd->pw_uid; in TEST() 490 EXPECT_TRUE(nullptr == pwd->pw_gecos) << "pwd->pw_uid: " << pwd->pw_uid; in TEST() 493 if (pwd->pw_uid < AID_APP_START || pwd->pw_uid == AID_OVERFLOWUID) { in TEST() 494 EXPECT_STREQ("/", pwd->pw_dir) << "pwd->pw_uid: " << pwd->pw_uid; in TEST() 496 EXPECT_STREQ("/data", pwd->pw_dir) << "pwd->pw_uid: " << pwd->pw_uid; in TEST() 499 EXPECT_EQ(0U, uids.count(pwd->pw_uid)) << "pwd->pw_uid: " << pwd->pw_uid; in TEST() 500 uids.emplace(pwd->pw_uid); in TEST()
|
D | grp_pwd_file_test.cpp | 47 EXPECT_EQ(uid, name_passwd.pw_uid); in FindAndCheckPasswdEntry() 59 EXPECT_EQ(uid, id_passwd.pw_uid); in FindAndCheckPasswdEntry()
|
D | ftw_test.cpp | 145 ASSERT_EQ(0, setuid(pwd->pw_uid)); in TEST()
|
/bionic/tests/headers/posix/ |
D | pwd_h.c | 36 STRUCT_MEMBER(struct passwd, uid_t, pw_uid); in pwd_h()
|
/bionic/libc/include/ |
D | pwd.h | 71 uid_t pw_uid; member
|
/bionic/libc/bionic/ |
D | grp_pwd.cpp | 116 pw->pw_uid = iinfo->aid; in android_iinfo_to_passwd() 472 pw->pw_uid = uid; in oem_id_to_passwd() 520 pw->pw_uid = uid; in app_id_to_passwd()
|
D | grp_pwd_file.cpp | 130 passwd_state->passwd_.pw_uid = uid; in ToPasswdState()
|