Home
last modified time | relevance | path

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

/bionic/tests/
Dgrp_pwd_test.cpp65 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()
Dgrp_pwd_file_test.cpp47 EXPECT_EQ(uid, name_passwd.pw_uid); in FindAndCheckPasswdEntry()
59 EXPECT_EQ(uid, id_passwd.pw_uid); in FindAndCheckPasswdEntry()
Dftw_test.cpp143 ASSERT_EQ(0, setuid(pwd->pw_uid)); in TEST()
/bionic/libc/include/
Dpwd.h71 uid_t pw_uid; member
/bionic/tests/headers/posix/
Dpwd_h.c36 STRUCT_MEMBER(struct passwd, uid_t, pw_uid); in pwd_h()
/bionic/libc/bionic/
Dgrp_pwd.cpp110 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()
Dgrp_pwd_file.cpp130 passwd_state->passwd_.pw_uid = uid; in ToPasswdState()