Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
Dutils.cpp138 char cmdline[255]; in __for_each_pid() local
144 memset(cmdline, 0, sizeof(cmdline)); in __for_each_pid()
148 TEMP_FAILURE_RETRY(read(fd, cmdline, sizeof(cmdline) - 2)); in __for_each_pid()
150 if (cmdline[0]) { in __for_each_pid()
151 helper(pid, cmdline, arg); in __for_each_pid()
159 TEMP_FAILURE_RETRY(read(fd, cmdline + 1, sizeof(cmdline) - 4)); in __for_each_pid()
161 if (cmdline[1]) { in __for_each_pid()
162 cmdline[0] = '['; in __for_each_pid()
163 size_t len = strcspn(cmdline, "\f\b\r\n"); in __for_each_pid()
164 cmdline[len] = ']'; in __for_each_pid()
[all …]
Ddumpstate.cpp189 std::string cmdline; in pid_of_process() local
201 + std::string(ps->d_name) + "/cmdline", &cmdline); in pid_of_process()
202 if (cmdline.find(ps_name) == std::string::npos) { in pid_of_process()
1530 FILE *cmdline = fopen("/proc/cmdline", "re"); in main() local
1531 if (cmdline) { in main()
1532 fgets(cmdline_buf, sizeof(cmdline_buf), cmdline); in main()
1533 fclose(cmdline); in main()
/frameworks/base/tools/preload2/src/com/android/preload/
DDeviceUtils.java48 public static void doShell(IDevice device, String cmdline, long timeout, TimeUnit unit) { in doShell() argument
49 doShell(device, cmdline, new NullShellOutputReceiver(), timeout, unit); in doShell()
55 public static String doShellReturnString(IDevice device, String cmdline, long timeout, in doShellReturnString() argument
58 doShell(device, cmdline, rec, timeout, unit); in doShellReturnString()
65 public static void doShell(IDevice device, String cmdline, IShellOutputReceiver receiver, in doShell() argument
68 device.executeShellCommand(cmdline, receiver, timeout, unit); in doShell()
/frameworks/native/opengl/libs/EGL/
DLoader.cpp113 static char cmdline[256]; in getProcessCmdline() local
114 char *str = fgets(cmdline, sizeof(cmdline) - 1, file); in getProcessCmdline()
117 return cmdline; in getProcessCmdline()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp200 char cmdline[32]; in android_os_Process_setProcessGroup() local
203 strcpy(cmdline, "unknown"); in android_os_Process_setProcessGroup()
208 int rc = read(fd, cmdline, sizeof(cmdline)-1); in android_os_Process_setProcessGroup()
209 cmdline[rc] = 0; in android_os_Process_setProcessGroup()
214 ALOGD("setProcessGroup: vvv pid %d (%s)", pid, cmdline); in android_os_Process_setProcessGroup()
216 ALOGD("setProcessGroup: ^^^ pid %d (%s)", pid, cmdline); in android_os_Process_setProcessGroup()
/frameworks/base/docs/html-intl/intl/zh-cn/google/play/billing/
Dbilling_testing.jd131 …<p>要了解如何在设备上安装应用,请参阅<a href="{@docRoot}tools/building/building-cmdline.html#RunningOnDevice">在设备上运…
167 …<p>要了解如何在设备上安装应用,请参阅<a href="{@docRoot}tools/building/building-cmdline.html#RunningOnDevice">在设备上运…
/frameworks/native/cmds/atrace/
Datrace.cpp536 static bool setAppCmdlineProperty(const char* cmdline) in setAppCmdlineProperty() argument
540 const char* start = cmdline; in setAppCmdlineProperty()
/frameworks/native/cmds/flatland/
DREADME.txt37 cmdline: flatland
/frameworks/base/docs/html/training/in-app-billing/
Dtest-iab-app.jd45 … install the application, see <a href="{@docRoot}tools/building/building-cmdline.html#RunningOnDev…
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java1246 String cmdline = ""; in getProcCmdLine() local
1253 cmdline = new String(buffer, 0, count); in getProcCmdLine()
1265 Rlog.d(TAG, "/proc/cmdline=" + cmdline); in getProcCmdLine()
1266 return cmdline; in getProcCmdLine()
/frameworks/base/docs/html/google/play/billing/
Dbilling_testing.jd280 href="{@docRoot}tools/building/building-cmdline.html#RunningOnDevice">Running on a
351 href="{@docRoot}tools/building/building-cmdline.html#RunningOnDevice">Running on a
/frameworks/compile/mclinker/tools/mcld/
DOptions.td428 HelpText<"Only search lib dirs explicitly specified on cmdline">;
/frameworks/base/docs/html/google/play/licensing/
Dsetting-up.jd373 see <a href="{@docRoot}tools/projects/projects-cmdline.html#SettingUpLibraryProject">
/frameworks/base/docs/html/guide/practices/
Dscreens_support.jd1410 href="{@docRoot}tools/devices/managing-avds-cmdline.html">Managing AVDs from the