Searched refs:pw_uid (Results 1 – 7 of 7) sorted by relevance
/bionic/tests/ |
D | grp_pwd_test.cpp | 65 EXPECT_EQ(uid, pwd->pw_uid); in check_passwd() 457 EXPECT_EQ(pwd->pw_gid, pwd->pw_uid) << "pwd->pw_uid: " << pwd->pw_uid; in TEST() 458 EXPECT_EQ(nullptr, pwd->pw_passwd) << "pwd->pw_uid: " << pwd->pw_uid; in TEST() 460 EXPECT_TRUE(nullptr == pwd->pw_gecos) << "pwd->pw_uid: " << pwd->pw_uid; in TEST() 463 if (pwd->pw_uid < AID_APP_START || pwd->pw_uid == AID_OVERFLOWUID) { in TEST() 464 EXPECT_STREQ("/", pwd->pw_dir) << "pwd->pw_uid: " << pwd->pw_uid; in TEST() 466 EXPECT_STREQ("/data", pwd->pw_dir) << "pwd->pw_uid: " << pwd->pw_uid; in TEST() 469 EXPECT_EQ(0U, uids.count(pwd->pw_uid)) << "pwd->pw_uid: " << pwd->pw_uid; in TEST() 470 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 | 143 ASSERT_EQ(0, setuid(pwd->pw_uid)); in TEST()
|
/bionic/libc/include/ |
D | pwd.h | 71 uid_t pw_uid; member
|
/bionic/tests/headers/posix/ |
D | pwd_h.c | 36 STRUCT_MEMBER(struct passwd, uid_t, pw_uid); in pwd_h()
|
/bionic/libc/bionic/ |
D | grp_pwd.cpp | 110 pw->pw_uid = iinfo->aid; in android_iinfo_to_passwd() 452 pw->pw_uid = uid; in oem_id_to_passwd() 500 pw->pw_uid = uid; in app_id_to_passwd()
|
D | grp_pwd_file.cpp | 130 passwd_state->passwd_.pw_uid = uid; in ToPasswdState()
|