Home
last modified time | relevance | path

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

/system/core/diagnose_usb/
Ddiagnose_usb.cpp54 passwd* pwd = getpwuid(getuid()); in GetUdevProblem() local
56 pwd ? pwd->pw_name : "?"); in GetUdevProblem()
/system/core/init/
Dueventd_parser.cpp59 passwd* pwd = getpwnam(uid_string.c_str()); in ParsePermissionsLine() local
60 if (!pwd) { in ParsePermissionsLine()
63 uid_t uid = pwd->pw_uid; in ParsePermissionsLine()
Dutil.cpp65 passwd* pwd = getpwnam(name.c_str()); in DecodeUid() local
66 if (!pwd) return ErrnoError() << "getpwnam failed"; in DecodeUid()
68 return pwd->pw_uid; in DecodeUid()
/system/core/logd/
DLogStatistics.cpp252 struct passwd* pwd = getpwuid(uid); in uidToName() local
253 if (pwd) { in uidToName()
254 return strdup(pwd->pw_name); in uidToName()
270 struct passwd* pwd = getpwuid(uid); in uidToName() local
271 if (pwd) { in uidToName()
272 return strdup(pwd->pw_name); in uidToName()
/system/core/shell_and_utilities/
DREADME.md107 pkill pmap printenv printf pwd readlink realpath restorecon rm rmdir
128 pmap printenv printf pwd readlink realpath renice restorecon rm rmdir
150 nl nohup od paste patch pgrep pidof pkill pmap printenv printf ps pwd
176 patch pgrep pidof pkill pmap printenv printf ps pwd readlink realpath
206 printf prlimit ps pwd pwdx readlink realpath renice restorecon rev
/system/core/llkd/
Dlibllkd.cpp746 auto pwd = ::getpwuid(uid); in llkSkipUid() local
747 return (pwd != nullptr) && __predict_true(pwd->pw_name != nullptr) && in llkSkipUid()
748 __predict_true(pwd->pw_name[0] != '\0') && llkSkipName(pwd->pw_name, llkBlacklistUid); in llkSkipUid()
/system/core/liblog/
Dlogprint.cpp1623 struct passwd* pwd = getpwuid(entry->uid); in android_log_formatLogLine() local
1624 if (pwd && (strlen(pwd->pw_name) <= 5)) { in android_log_formatLogLine()
1625 snprintf(uid, sizeof(uid), "%5s:", pwd->pw_name); in android_log_formatLogLine()