Home
last modified time | relevance | path

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

/frameworks/native/libs/dumputils/
Ddump_utils.cpp161 std::string cmdline; in IsZygote() local
163 &cmdline)) { in IsZygote()
168 cmdline = std::string(cmdline.c_str()); in IsZygote()
170 return cmdline == "zygote" || cmdline == "zygote64" || cmdline == "usap32" || in IsZygote()
171 cmdline == "usap64"; in IsZygote()
/frameworks/native/cmds/lshal/libprocpartition/
Dprocpartition.cpp82 const auto& cmdline = getCmdline(pid); in getPartitionFromCmdline() local
83 if (cmdline == "system_server") { in getPartitionFromCmdline()
86 if (cmdline.empty() || cmdline.front() != '/') { in getPartitionFromCmdline()
89 return getPartitionFromRealpath(cmdline); in getPartitionFromCmdline()
/frameworks/base/services/core/java/com/android/server/am/
DMemoryStatUtil.java259 static String parseCmdlineFromProcfs(String cmdline) { in parseCmdlineFromProcfs() argument
260 if (cmdline == null) { in parseCmdlineFromProcfs()
263 int firstNullByte = cmdline.indexOf("\0"); in parseCmdlineFromProcfs()
265 return cmdline; in parseCmdlineFromProcfs()
267 return cmdline.substring(0, firstNullByte); in parseCmdlineFromProcfs()
/frameworks/base/services/core/java/com/android/server/power/
DPreRebootLogger.java108 final String[] cmdline = in dumpLogsLocked() local
110 Runtime.getRuntime().exec(cmdline).waitFor(); in dumpLogsLocked()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp2696 FILE *cmdline = fopen("/proc/cmdline", "re"); in RunInternal() local
2697 if (cmdline) { in RunInternal()
2698 fgets(cmdline_buf, sizeof(cmdline_buf), cmdline); in RunInternal()
2699 fclose(cmdline); in RunInternal()
3174 char cmdline[255]; in __for_each_pid() local
3180 memset(cmdline, 0, sizeof(cmdline)); in __for_each_pid()
3184 TEMP_FAILURE_RETRY(read(fd, cmdline, sizeof(cmdline) - 2)); in __for_each_pid()
3186 if (cmdline[0]) { in __for_each_pid()
3187 helper(pid, cmdline, arg); in __for_each_pid()
3195 TEMP_FAILURE_RETRY(read(fd, cmdline + 1, sizeof(cmdline) - 4)); in __for_each_pid()
[all …]
/frameworks/base/cmds/incident_helper/testdata/
Dprocrank_short.txt1 PID Vss Rss Pss Uss cmdline
Dprocrank.txt1 PID Vss Rss Pss Uss Swap PSwap USwap ZSwap cmdline
/frameworks/base/core/jni/
Dandroid_util_Process.cpp225 char cmdline[32]; in android_os_Process_setProcessGroup() local
228 strcpy(cmdline, "unknown"); in android_os_Process_setProcessGroup()
233 int rc = read(fd, cmdline, sizeof(cmdline)-1); in android_os_Process_setProcessGroup()
234 cmdline[rc] = 0; in android_os_Process_setProcessGroup()
239 ALOGD("setProcessGroup: vvv pid %d (%s)", pid, cmdline); in android_os_Process_setProcessGroup()
241 ALOGD("setProcessGroup: ^^^ pid %d (%s)", pid, cmdline); in android_os_Process_setProcessGroup()
/frameworks/base/core/proto/android/os/
Dprocrank.proto60 optional string cmdline = 10; field
/frameworks/native/cmds/flatland/
DREADME.txt37 cmdline: flatland
/frameworks/native/cmds/atrace/
Datrace.cpp604 static bool setAppCmdlineProperty(char* cmdline) in setAppCmdlineProperty() argument
607 char* start = cmdline; in setAppCmdlineProperty()
/frameworks/base/cmds/statsd/src/
Dstatsd_config.proto342 // passed binary-encoded to the perfetto cmdline client.
Datoms.proto4558 // Value read from /proc/PID/cmdline.
4599 // Usually package name or process cmdline.
4600 // Provided by ActivityManagerService or read from /proc/PID/cmdline.
5409 // Name of the process taken from `/proc/$PID/cmdline`.
7154 // The process name (from /proc/PID/cmdline).
/frameworks/compile/mclinker/tools/mcld/
DOptions.td428 HelpText<"Only search lib dirs explicitly specified on cmdline">;