Lines Matching refs:cmdline
86 android::base::ReadFileToString("/proc/cmdline", &kernel_cmdline);
128 // name from /proc/<pid>/cmdline.
129 snprintf(filename, sizeof(filename), "/proc/%d/cmdline", pid);
130 std::string cmdline;
131 android::base::ReadFileToString(filename, &cmdline);
132 const char* full_name = cmdline.c_str(); // So we stop at the first NUL.
138 if (!cmdline.empty()) {
166 std::string cmdline;
168 android::base::ReadFileToString("/proc/cmdline", &cmdline);
170 if ((s = strstr(cmdline.c_str(), KERNEL_OPTION)) != NULL) {