Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp3173 char cmdpath[255]; in __for_each_pid() local
3182 snprintf(cmdpath, sizeof(cmdpath), "/proc/%d/cmdline", pid); in __for_each_pid()
3183 if ((fd = TEMP_FAILURE_RETRY(open(cmdpath, O_RDONLY | O_CLOEXEC))) >= 0) { in __for_each_pid()
3193 snprintf(cmdpath, sizeof(cmdpath), "/proc/%d/comm", pid); in __for_each_pid()
3194 if ((fd = TEMP_FAILURE_RETRY(open(cmdpath, O_RDONLY | O_CLOEXEC))) >= 0) { in __for_each_pid()