/frameworks/native/cmds/dumpstate/ |
D | utils.cpp | 306 char cmdline[255]; in __for_each_pid() local 312 memset(cmdline, 0, sizeof(cmdline)); in __for_each_pid() 316 TEMP_FAILURE_RETRY(read(fd, cmdline, sizeof(cmdline) - 2)); in __for_each_pid() 318 if (cmdline[0]) { in __for_each_pid() 319 helper(pid, cmdline, arg); in __for_each_pid() 327 TEMP_FAILURE_RETRY(read(fd, cmdline + 1, sizeof(cmdline) - 4)); in __for_each_pid() 329 if (cmdline[1]) { in __for_each_pid() 330 cmdline[0] = '['; in __for_each_pid() 331 size_t len = strcspn(cmdline, "\f\b\r\n"); in __for_each_pid() 332 cmdline[len] = ']'; in __for_each_pid() [all …]
|
D | DumpstateUtil.cpp | 358 std::string cmdline; in GetPidByName() local 369 android::base::ReadFileToString("/proc/" + std::string(ps->d_name) + "/cmdline", &cmdline); in GetPidByName() 370 if (cmdline.find(ps_name) == std::string::npos) { in GetPidByName()
|
D | dumpstate.cpp | 1756 FILE *cmdline = fopen("/proc/cmdline", "re"); in main() local 1757 if (cmdline) { in main() 1758 fgets(cmdline_buf, sizeof(cmdline_buf), cmdline); in main() 1759 fclose(cmdline); in main()
|
/frameworks/base/tools/preload2/src/com/android/preload/ |
D | DeviceUtils.java | 65 public static void doShell(IDevice device, String cmdline, long timeout, TimeUnit unit) { in doShell() argument 66 doShell(device, cmdline, new NullShellOutputReceiver(), timeout, unit); in doShell() 72 public static String doShellReturnString(IDevice device, String cmdline, long timeout, in doShellReturnString() argument 75 doShell(device, cmdline, rec, timeout, unit); in doShellReturnString() 82 public static void doShell(IDevice device, String cmdline, IShellOutputReceiver receiver, in doShell() argument 85 device.executeShellCommand(cmdline, receiver, timeout, unit); in doShell()
|
/frameworks/base/core/jni/ |
D | android_util_Process.cpp | 216 char cmdline[32]; in android_os_Process_setProcessGroup() local 219 strcpy(cmdline, "unknown"); in android_os_Process_setProcessGroup() 224 int rc = read(fd, cmdline, sizeof(cmdline)-1); in android_os_Process_setProcessGroup() 225 cmdline[rc] = 0; in android_os_Process_setProcessGroup() 230 ALOGD("setProcessGroup: vvv pid %d (%s)", pid, cmdline); in android_os_Process_setProcessGroup() 232 ALOGD("setProcessGroup: ^^^ pid %d (%s)", pid, cmdline); in android_os_Process_setProcessGroup()
|
/frameworks/native/cmds/lshal/ |
D | ListCommand.cpp | 52 std::string cmdline; in getCmdline() local 56 ifs >> cmdline; in getCmdline() 57 return cmdline; in getCmdline()
|
/frameworks/native/cmds/flatland/ |
D | README.txt | 37 cmdline: flatland
|
/frameworks/native/cmds/atrace/ |
D | atrace.cpp | 603 static bool setAppCmdlineProperty(char* cmdline) in setAppCmdlineProperty() argument 606 char* start = cmdline; in setAppCmdlineProperty()
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyManager.java | 1423 String cmdline = ""; in getProcCmdLine() local 1430 cmdline = new String(buffer, 0, count); in getProcCmdLine() 1442 Rlog.d(TAG, "/proc/cmdline=" + cmdline); in getProcCmdLine() 1443 return cmdline; in getProcCmdLine()
|
/frameworks/compile/mclinker/tools/mcld/ |
D | Options.td | 428 HelpText<"Only search lib dirs explicitly specified on cmdline">;
|