/frameworks/native/libs/dumputils/ |
D | dump_utils.cpp | 213 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/ |
D | ProcfsMemoryUtil.java | 73 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/ |
D | com_android_internal_os_KernelAllocationStats.cpp | 40 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()
|
D | android_util_Process.cpp | 280 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/ |
D | procpartition.cpp | 82 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/ |
D | SelectedProcessCpuThreadReader.java | 37 public SelectedProcessCpuThreadReader(String cmdline) { in SelectedProcessCpuThreadReader() argument 38 mCmdline = new String[] { cmdline }; in SelectedProcessCpuThreadReader()
|
/frameworks/base/cmds/incident_helper/testdata/ |
D | procrank_short.txt | 1 PID Vss Rss Pss Uss cmdline
|
D | procrank.txt | 1 PID Vss Rss Pss Uss Swap PSwap USwap ZSwap cmdline
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PreRebootLogger.java | 134 final String[] cmdline = in dumpLogsLocked() local 136 Runtime.getRuntime().exec(cmdline).waitFor(); in dumpLogsLocked()
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.cpp | 2222 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/ |
D | README.md | 13 `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/ |
D | procrank.proto | 60 optional string cmdline = 10; field
|
/frameworks/av/media/ndk/ |
D | NdkMediaDrm.cpp | 245 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/ |
D | README.txt | 37 cmdline: flatland
|
/frameworks/native/cmds/atrace/ |
D | atrace.cpp | 605 static bool setAppCmdlineProperty(char* cmdline) in setAppCmdlineProperty() argument 608 char* start = cmdline; in setAppCmdlineProperty()
|
/frameworks/opt/car/services/builtInServices/src/com/android/internal/car/ |
D | CarServiceHelperService.java | 691 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/ |
D | Options.td | 428 HelpText<"Only search lib dirs explicitly specified on cmdline">;
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 8379 // 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).
|