Home
last modified time | relevance | path

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

/bionic/tests/
Dgrp_pwd_test.cpp67 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()
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.cpp145 ASSERT_EQ(0, setuid(pwd->pw_uid)); in TEST()
/bionic/tests/headers/posix/
Dpwd_h.c36 STRUCT_MEMBER(struct passwd, uid_t, pw_uid); in pwd_h()
/bionic/libc/include/
Dpwd.h71 uid_t pw_uid; member
/bionic/libc/bionic/
Dgrp_pwd.cpp116 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()
Dgrp_pwd_file.cpp130 passwd_state->passwd_.pw_uid = uid; in ToPasswdState()