HomeSort by relevance Sort by last modified time
    Searched refs:pid (Results 226 - 250 of 592) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/com/android/internal/os/
ZygoteConnection.java 196 int pid; local
212 pid = Zygote.forkAndSpecialize(parsedArgs.uid, parsedArgs.gid,
216 pid = -1;
220 pid = -1;
223 if (pid == 0) {
228 } else { /* pid != 0 */
229 // in parent...pid of < 0 means failure
230 return handleParentProc(pid, descriptors, parsedArgs);
472 * After the zygote process reads these it will write the pid of
753 * @param pid != 0; pid of child if &gt; 0 or indication of failed for
    [all...]
ZygoteInit.java 522 int pid; local
537 pid = Zygote.forkSystemServer(
547 if (pid == 0) {
617 int pid; local
619 pid = Zygote.fork();
621 if (pid == 0) {
635 } else if (pid > 0) {
724 * @param pid pid to change
725 * @param pgid new process group of pid
    [all...]
  /system/core/adb/
services.c 179 int pid, ret; local
186 pid = fork();
187 if (pid == 0) {
191 } else if (pid > 0) {
193 waitpid(pid, &ret, 0);
279 pid_t pid;
294 pid = fork();
295 if(pid < 0) {
300 if(pid == 0){
322 snprintf(text, sizeof text, "/proc/%d/oom_adj", pid);
    [all...]
  /bionic/libc/include/sys/
linux-unistd.h 35 int __ptrace (int request, int pid, void* addr, void* data);
178 int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param);
179 int sched_getscheduler (pid_t pid);
181 int sched_setparam (pid_t pid, const struct sched_param *param);
182 int sched_getparam (pid_t pid, struct sched_param *param);
185 int sched_rr_get_interval (pid_t pid, struct timespec *interval);
189 pid_t __wait4 (pid_t pid, int *status, int options, struct rusage *rusage);
  /development/ndk/platforms/android-3/include/sys/
linux-unistd.h 35 int __ptrace (int request, int pid, void* addr, void* data);
174 int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param);
175 int sched_getscheduler (pid_t pid);
177 int sched_setparam (pid_t pid, const struct sched_param *param);
178 int sched_getparam (pid_t pid, struct sched_param *param);
181 int sched_rr_get_interval (pid_t pid, struct timespec *interval);
183 pid_t __wait4 (pid_t pid, int *status, int options, struct rusage *rusage);
  /development/ndk/platforms/android-9/include/sys/
linux-unistd.h 35 int __ptrace (int request, int pid, void* addr, void* data);
178 int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param);
179 int sched_getscheduler (pid_t pid);
181 int sched_setparam (pid_t pid, const struct sched_param *param);
182 int sched_getparam (pid_t pid, struct sched_param *param);
185 int sched_rr_get_interval (pid_t pid, struct timespec *interval);
189 pid_t __wait4 (pid_t pid, int *status, int options, struct rusage *rusage);
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/sys/
linux-unistd.h 35 int __ptrace (int request, int pid, void* addr, void* data);
174 int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param);
175 int sched_getscheduler (pid_t pid);
177 int sched_setparam (pid_t pid, const struct sched_param *param);
178 int sched_getparam (pid_t pid, struct sched_param *param);
181 int sched_rr_get_interval (pid_t pid, struct timespec *interval);
183 pid_t __wait4 (pid_t pid, int *status, int options, struct rusage *rusage);
  /prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/sys/
linux-unistd.h 35 int __ptrace (int request, int pid, void* addr, void* data);
174 int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param);
175 int sched_getscheduler (pid_t pid);
177 int sched_setparam (pid_t pid, const struct sched_param *param);
178 int sched_getparam (pid_t pid, struct sched_param *param);
181 int sched_rr_get_interval (pid_t pid, struct timespec *interval);
183 pid_t __wait4 (pid_t pid, int *status, int options, struct rusage *rusage);
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/sys/
linux-unistd.h 35 int __ptrace (int request, int pid, void* addr, void* data);
174 int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param);
175 int sched_getscheduler (pid_t pid);
177 int sched_setparam (pid_t pid, const struct sched_param *param);
178 int sched_getparam (pid_t pid, struct sched_param *param);
181 int sched_rr_get_interval (pid_t pid, struct timespec *interval);
183 pid_t __wait4 (pid_t pid, int *status, int options, struct rusage *rusage);
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/sys/
linux-unistd.h 35 int __ptrace (int request, int pid, void* addr, void* data);
174 int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param);
175 int sched_getscheduler (pid_t pid);
177 int sched_setparam (pid_t pid, const struct sched_param *param);
178 int sched_getparam (pid_t pid, struct sched_param *param);
181 int sched_rr_get_interval (pid_t pid, struct timespec *interval);
183 pid_t __wait4 (pid_t pid, int *status, int options, struct rusage *rusage);
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/sys/
linux-unistd.h 35 int __ptrace (int request, int pid, void* addr, void* data);
174 int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param);
175 int sched_getscheduler (pid_t pid);
177 int sched_setparam (pid_t pid, const struct sched_param *param);
178 int sched_getparam (pid_t pid, struct sched_param *param);
181 int sched_rr_get_interval (pid_t pid, struct timespec *interval);
183 pid_t __wait4 (pid_t pid, int *status, int options, struct rusage *rusage);
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/sys/
linux-unistd.h 35 int __ptrace (int request, int pid, void* addr, void* data);
174 int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param);
175 int sched_getscheduler (pid_t pid);
177 int sched_setparam (pid_t pid, const struct sched_param *param);
178 int sched_getparam (pid_t pid, struct sched_param *param);
181 int sched_rr_get_interval (pid_t pid, struct timespec *interval);
183 pid_t __wait4 (pid_t pid, int *status, int options, struct rusage *rusage);
  /external/dnsmasq/src/
helper.c 55 pid_t pid; local
61 if (pipe(pipefd) == -1 || !fix_fd(pipefd[1]) || (pid = fork()) == -1)
67 if (pid != 0)
163 while ((pid = fork()) == -1 && (errno == EAGAIN || errno == ENOMEM))
166 if (pid == -1)
170 if (pid != 0)
178 if (rc == pid)
  /external/ppp/pppd/plugins/rp-pppoe/
common.c 425 pid_t pid = getpid(); local
427 hostUniq.length = htons(sizeof(pid));
428 memcpy(hostUniq.payload, &pid, sizeof(pid));
429 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE);
430 cursor += sizeof(pid) + TAG_HDR_SIZE;
431 plen += sizeof(pid) + TAG_HDR_SIZE;
  /external/qemu/memcheck/
memcheck.c 72 printf("memcheck: Access violation is detected in process %s[pid=%u]:\n"
77 proc->image_path, proc->pid, ptr, routine == 1 ? "free" : "realloc",
116 printf("memcheck: Access violation is detected in process %s[pid=%u]:\n",
117 proc->image_path, proc->pid);
326 // Enable new PID allocation tracing.
384 memcheck_guest_libc_initialized(uint32_t pid)
386 ProcDesc* proc = get_process_from_pid(pid);
388 ME("memcheck: Unable to obtain process for libc_init pid=%u", pid);
398 T(PROC_LIBC_INIT, "memcheck: libc.so has been initialized for %s[pid=%u]\n"
    [all...]
  /external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/port/
websocket_server.py 226 f.write("%d" % self._process.pid)
234 pid = self._process.pid
237 pid = int(f.read().strip())
240 if not pid:
242 'Failed to find %s server pid.' % self._server_name)
244 logging.debug('Shutting down %s server %d.' % (self._server_name, pid))
245 self._port_obj._kill_process(pid)
278 option_parser.add_option('--pidfile', help='path to pid file.')
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/
LogFilter.java 49 * pid used for filtering. Only valid if mMode is MODE_PID.
70 /** temp pid filtering */
212 * Adds PID to the current filtering mode.
213 * @param pid
215 public void setPidMode(int pid) {
216 if (pid != -1) {
221 mPid = pid;
224 /** Returns the pid filter if valid, otherwise -1 */
343 if ((mMode & MODE_PID) == MODE_PID && mPid != logMessage.data.pid) {
382 if (mTempPid != -1 && mTempPid != logMessage.data.pid) {
    [all...]
  /external/blktrace/
blkparse.c 76 pid_t pid; member in struct:process_pid_map
534 static inline int ppm_hash_pid(pid_t pid)
536 return jhash_1word(pid, JHASH_RANDOM) & PPM_HASH_MASK;
539 static struct process_pid_map *find_ppm(pid_t pid)
541 const int hash_idx = ppm_hash_pid(pid);
546 if (ppm->pid == pid)
555 static struct process_pid_map *add_ppm_hash(pid_t pid, const char *name)
557 const int hash_idx = ppm_hash_pid(pid);
560 ppm = find_ppm(pid);
    [all...]
  /external/strace/
util.c 622 * move `len' bytes of data from process `pid'
634 int pid = tcp->pid;
647 u.val = ptrace(PTRACE_PEEKDATA, pid, (char *) addr, 0);
663 u.val = ptrace(PTRACE_PEEKDATA, pid, (char *) addr, 0);
680 int pid = tcp->pid;
693 u.val = ptrace(PTRACE_PEEKDATA, pid, (char *) addr, 0);
703 u.val = ptrace(PTRACE_PEEKDATA, pid, (char *) addr, 0);
717 if (ptrace(PTRACE_READDATA, pid,
    [all...]
  /system/vold/
CommandListener.cpp 256 int pid = Process::getPid(de->d_name); local
258 if (pid < 0) {
263 Process::getProcessName(pid, processName, sizeof(processName));
265 if (Process::checkFileDescriptorSymLinks(pid, argv[2]) ||
266 Process::checkFileMaps(pid, argv[2]) ||
267 Process::checkSymLink(pid, argv[2], "cwd") ||
268 Process::checkSymLink(pid, argv[2], "root") ||
269 Process::checkSymLink(pid, argv[2], "exe")) {
272 snprintf(msg, sizeof(msg), "%d %s", pid, processName);
  /development/apps/Term/jni/
termExec.cpp 86 pid_t pid; local
101 pid = fork();
102 if(pid < 0) {
107 if(pid == 0){
124 *pProcessId = (int) pid;
  /development/simulator/app/
MessageStream.cpp 145 sizeof(pBundle->pid) +
158 *((pid_t*)pCur) = pBundle->pid;
159 pCur += sizeof(pBundle->pid);
192 pBundle->pid = *((pid_t*) pCur);
193 pCur += sizeof(pBundle->pid);
  /frameworks/base/core/java/android/view/
Surface.java 187 int pid, int display, int w, int h, int format, int flags)
193 init(s,pid,null,display,w,h,format,flags);
201 int pid, String name, int display, int w, int h, int format, int flags)
207 init(s,pid,name,display,w,h,format,flags);
438 int pid, String name, int display, int w, int h, int format, int flags)
  /frameworks/base/tools/localize/
Perforce.cpp 24 pid_t pid; local
36 pid = fork();
37 if (pid == -1) {
42 else if (pid == 0) {
86 waitpid(pid, &err, 0);
  /system/extras/showmap/
showmap.c 93 fprintf(stderr, "WARNING: Format of /proc/<pid>/smaps has changed!\n");
99 mapinfo *load_maps(int pid, int verbose)
106 sprintf(tmp, "/proc/%d/smaps", pid);
140 int show_map(int pid)
152 milist = load_maps(pid, verbose);
154 fprintf(stderr,"cannot get /proc/smaps for pid %d\n", pid);
229 "showmap [-t] [-v] [-c] <pid>\n"

Completed in 1446 milliseconds

1 2 3 4 5 6 7 8 91011>>