Home
last modified time | relevance | path

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

/frameworks/native/libs/dumputils/
Ddump_utils.cpp213 std::string cmdline; in IsZygote() local
215 &cmdline)) { in IsZygote()
220 cmdline = std::string(cmdline.c_str()); in IsZygote()
222 return cmdline == "zygote" || cmdline == "zygote64" || cmdline == "usap32" || in IsZygote()
223 cmdline == "usap64" || cmdline == "webview_zygote"; in IsZygote()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DProcfsMemoryUtil.java73 String[] cmdline = new String[1]; in readCmdlineFromProcfs() local
74 if (!Process.readProcFile("/proc/" + pid + "/cmdline", CMDLINE_OUT, cmdline, null, null)) { in readCmdlineFromProcfs()
77 return cmdline[0]; in readCmdlineFromProcfs()
92 String cmdline = readCmdlineFromProcfs(pid); in getProcessCmdlines() local
93 if (cmdline.isEmpty()) { in getProcessCmdlines()
96 cmdlines.append(pid, cmdline); in getProcessCmdlines()
/frameworks/base/core/jni/
Dcom_android_internal_os_KernelAllocationStats.cpp40 std::string cmdline; member
82 std::string cmdline; in KernelAllocationStats_getDmabufAllocations() local
83 if (!ReadFileToString(StringPrintf("/proc/%d/cmdline", pid), &cmdline)) { in KernelAllocationStats_getDmabufAllocations()
88 if (cmdline.substr(0, cmdline.find('\0')) == "/system/bin/surfaceflinger") { in KernelAllocationStats_getDmabufAllocations()
107 .cmdline = cmdline, in KernelAllocationStats_getDmabufAllocations()
148 env->NewStringUTF(pidDmaInfos[pid].cmdline.c_str()), in KernelAllocationStats_getDmabufAllocations()
Dandroid_util_Process.cpp280 char cmdline[32]; in android_os_Process_setProcessGroup() local
283 strcpy(cmdline, "unknown"); in android_os_Process_setProcessGroup()
288 ssize_t rc = read(fd, cmdline, sizeof(cmdline) - 1); in android_os_Process_setProcessGroup()
292 cmdline[rc] = 0; in android_os_Process_setProcessGroup()
298 ALOGD("setProcessGroup: vvv pid %d (%s)", pid, cmdline); in android_os_Process_setProcessGroup()
300 ALOGD("setProcessGroup: ^^^ pid %d (%s)", pid, cmdline); in android_os_Process_setProcessGroup()
/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/core/java/com/android/internal/os/
DSelectedProcessCpuThreadReader.java37 public SelectedProcessCpuThreadReader(String cmdline) { in SelectedProcessCpuThreadReader() argument
38 mCmdline = new String[] { cmdline }; in SelectedProcessCpuThreadReader()
/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/services/core/java/com/android/server/power/
DPreRebootLogger.java134 final String[] cmdline = in dumpLogsLocked() local
136 Runtime.getRuntime().exec(cmdline).waitFor(); in dumpLogsLocked()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp2222 std::string cmdline; in GetCmdline() local
2224 &cmdline)) { in GetCmdline()
2229 size_t cur = cmdline.size() - 1; in GetCmdline()
2230 while (cur != 0 && cmdline[cur] == '\0') { in GetCmdline()
2236 while ((cur = cmdline.rfind('\0', cur)) != std::string::npos) { in GetCmdline()
2237 cmdline[cur] = ' '; in GetCmdline()
2239 return cmdline; in GetCmdline()
3310 FILE *cmdline = fopen("/proc/cmdline", "re"); in RunInternal() local
3311 if (cmdline) { in RunInternal()
3312 fgets(cmdline_buf, sizeof(cmdline_buf), cmdline); in RunInternal()
[all …]
/frameworks/base/tools/lint/
DREADME.md13 `prebuilts/cmdline-tools` subproject, and included by soong with all invocations of lint.
24 5. Run `prebuilts/cmdline-tools/update-android-global-lint-checker.sh
26 approval to the `prebuilts/cmdline-tools` subproject.
/frameworks/base/core/proto/android/os/
Dprocrank.proto60 optional string cmdline = 10; field
/frameworks/av/media/ndk/
DNdkMediaDrm.cpp245 std::ifstream cmdline("/proc/self/cmdline"); in GetAppPackageName() local
246 std::getline(cmdline, appName); in GetAppPackageName()
247 cmdline.close(); in GetAppPackageName()
/frameworks/native/cmds/flatland/
DREADME.txt37 cmdline: flatland
/frameworks/native/cmds/atrace/
Datrace.cpp605 static bool setAppCmdlineProperty(char* cmdline) in setAppCmdlineProperty() argument
608 char* start = cmdline; in setAppCmdlineProperty()
/frameworks/opt/car/services/builtInServices/src/com/android/internal/car/
DCarServiceHelperService.java691 String cmdline = getProcessCmdLine(processIdentifier.pid); in killProcessAndReportToMonitor() local
693 Slogf.w(TAG, "carwatchdog killed %s %s", cmdline, processInfo); in killProcessAndReportToMonitor()
/frameworks/compile/mclinker/tools/mcld/
DOptions.td428 HelpText<"Only search lib dirs explicitly specified on cmdline">;
/frameworks/proto_logging/stats/
Datoms.proto8379 // Usually package name or process cmdline.
8380 // Provided by ActivityManagerService or read from /proc/PID/cmdline.
8403 // Usually package name or process cmdline.
8404 // Provided by ActivityManagerService or read from /proc/PID/cmdline.
9393 // Name of the process taken from `/proc/$PID/cmdline`.
12097 // The process name (from /proc/PID/cmdline).