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

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/net/
Credentials.java 24 /** pid of process. root peers may lie. */
25 private final int pid; field in class:Credentials
31 public Credentials (int pid, int uid, int gid) {
32 this.pid = pid;
38 return pid;
  /system/vold/
Process.h 24 static int checkSymLink(int pid, const char *path, const char *name);
25 static int checkFileMaps(int pid, const char *path);
26 static int checkFileMaps(int pid, const char *path, char *openFilename, size_t max);
27 static int checkFileDescriptorSymLinks(int pid, const char *mountPoint);
28 static int checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_t max);
29 static void getProcessName(int pid, char *buffer, size_t max);
Process.cpp 66 void Process::getProcessName(int pid, char *buffer, size_t max) {
68 snprintf(buffer, max, "/proc/%d/cmdline", pid);
79 int Process::checkFileDescriptorSymLinks(int pid, const char *mountPoint) {
80 return checkFileDescriptorSymLinks(pid, mountPoint, NULL, 0);
83 int Process::checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_t max) {
88 sprintf(path, "/proc/%d/fd", pid);
124 int Process::checkFileMaps(int pid, const char *mountPoint) {
125 return checkFileMaps(pid, mountPoint, NULL, 0);
128 int Process::checkFileMaps(int pid, const char *mountPoint, char *openFilename, size_t max) {
132 sprintf(buffer, "/proc/%d/maps", pid);
191 int pid = getPid(de->d_name); local
    [all...]
  /external/dnsmasq/contrib/dnsmasq_MacOSX/
DNSmasq 11 pid=`GetPID dnsmasq`
13 kill $pid
  /frameworks/base/core/java/android/os/
IPermissionController.aidl 22 boolean checkPermission(String permission, int pid, int uid);
  /system/core/include/cutils/
iosched_policy.h 31 extern int android_set_ioprio(int pid, IoSchedClass clazz, int ioprio);
32 extern int android_get_ioprio(int pid, IoSchedClass *clazz, int *ioprio);
  /bionic/libc/unistd/
daemon.c 34 pid_t pid; local
56 pid = fork();
57 if (pid < 0)
60 if (pid > 0)
popen.c 45 static struct pid { struct
46 struct pid *next;
48 pid_t pid; member in struct:pid
54 struct pid * volatile cur;
57 pid_t pid; local
64 if ((cur = malloc(sizeof(struct pid))) == NULL)
72 switch (pid = vfork()) {
81 struct pid *pcur;
126 cur->pid = pid;
143 pid_t pid; local
    [all...]
  /external/strace/
strace-graph 44 my ($pid, $call, $args, $result, $time);
48 $pid = $1;
62 $unfinished{$pid} = $_;
67 unless (exists $unfinished{$pid}) {
71 $_ = $unfinished{$pid} . $_;
72 delete $unfinished{$pid};
76 # $pid received signal $1
82 # $pid received signal $1
83 handle_killed($pid, $time);
93 handle_trace($pid, $call, $args, $result, $time)
    [all...]
  /external/bluetooth/glib/tests/
child-test.c 57 GPid pid; local
76 pid = pi.hProcess;
78 return pid;
80 pid = fork ();
81 if (pid < 0)
84 if (pid > 0)
85 return pid;
93 child_watch_callback (GPid pid, gint status, gpointer data)
98 g_print ("child " GPID_FORMAT " (ttl %d) exited, status %d\n", pid, ttl, status);
101 g_spawn_close_pid (pid);
125 GPid pid; local
150 GPid pid; local
    [all...]
  /external/dhcpcd/dhcpcd-hooks/
50-yp.conf 6 [ -s /var/run/ypbind.pid ] && cat /var/run/ypbind.pid
12 local cf=/etc/yp.conf."${interface}" prefix= x= pid=
30 pid="$(ypbind_pid)"
31 if [ -n "${pid}" ]; then
32 kill -HUP "${pid}"
40 local pid="$(ypbind_pid)"
41 if [ -n "${pid}" ]; then
42 kill -HUP "${pid}"
  /external/elfutils/src/
Makefile.am 115 bad=0; pid=$$$$; list="$(bin_PROGRAMS)"; for p in $$list; do \
123 $(DESTDIR)$(bindir)/$$f $$opt > c$${pid}_.out 2> c$${pid}_.err \
124 && test -n "`cat c$${pid}_.out`" \
125 && test -z "`cat c$${pid}_.err`"; then :; \
128 done; rm -f c$${pid}_.???; exit $$bad
  /frameworks/base/core/java/android/app/
IActivityController.aidl 46 boolean appCrashed(String processName, int pid,
53 int appEarlyNotResponding(String processName, int pid, String annotation);
60 int appNotResponding(String processName, int pid, String processStats);
  /system/core/toolbox/
ionice.c 14 int pid; local
17 fprintf(stderr, "usage: ionice <pid> [none|rt|be|idle] [prio]\n");
21 if (!(pid = atoi(argv[1]))) {
22 fprintf(stderr, "Invalid pid specified\n");
27 if (android_get_ioprio(pid, &clazz, &ioprio)) {
31 fprintf(stdout, "Pid %d, class %s (%d), prio %d\n", pid, classes[clazz], clazz, ioprio);
50 printf("Setting pid %d i/o class to %d, prio %d\n", pid, clazz, ioprio);
51 if (android_set_ioprio(pid, clazz, ioprio))
    [all...]
renice.c 42 fprintf(stderr, "USAGE: %s [[-r] priority pids ...] [-g pid]\n", s);
46 void print_prio(pid_t pid)
51 printf("pid %d's priority: %d\n", pid, getpriority(PRIO_PROCESS, pid));
54 sched = sched_getscheduler(pid);
72 sched_getparam(pid, &sp);
115 pid_t pid; local
117 pid = atoi(argv[0]);
125 ret = sched_setscheduler(pid, SCHED_RR, &sp)
    [all...]
  /external/clearsilver/util/
filter.h 31 * Input: pid -> the process identifier to wait for
36 NEOERR *filter_wait(pid_t pid, int options, int *exitcode);
62 * pid -> the pid of the sub process
66 pid_t *pid);
84 * pid -> the pid of the sub process
88 pid_t *pid);
  /bionic/libc/bionic/
ptrace.c 31 extern long __ptrace(int request, pid_t pid, void *addr, void *data);
33 long ptrace(int request, pid_t pid, void * addr, void * data)
43 ret = __ptrace(request, pid, addr, &word);
53 return __ptrace(request, pid, addr, data);
  /external/webkit/WebKitTools/BuildSlaveSupport/build.webkit.org-config/
Makefile 13 kill `cat twistd.pid`
16 kill -HUP `cat twistd.pid`
  /dalvik/vm/native/
dalvik_system_Zygote.c 49 pid_t pid; local
52 while ((pid = waitpid(-1, &status, WNOHANG)) > 0) {
63 (int) pid, WEXITSTATUS(status));
68 (int) pid, WEXITSTATUS(status));
75 (int) pid, WTERMSIG(status));
80 (int) pid, WTERMSIG(status));
86 (int) pid);
96 if (pid == gDvm.systemServerPid) {
99 (int) pid);
104 if (pid < 0)
227 pid_t pid; local
359 pid_t pid; local
480 pid_t pid; local
494 pid_t pid; local
    [all...]
  /system/extras/tests/bionic/libc/common/
test_clone.c 35 int pid,child; local
38 pid = clone (clone_child, clone_stack + 3 * PAGE_SIZE,
40 if (pid < 0)
45 printf ("child pid %d\n", pid);
48 child = waitpid (pid, &status, 0);
  /system/wlan/ti/sta_dk_4_0_4_32/CUDK/CLI/
ipc.c 123 int pid = getpid(); local
127 /* The pid of the caller process is inserted, so the main process */
136 command[0] = (pid & 0x00FF);
137 command[1] = ((pid & 0xFF00) >> 8);
143 command[0] = (pid & 0x00FF);
144 command[1] = ((pid & 0xFF00) >> 8);
  /sdk/emulator/qtools/
gtrace.cpp 58 void Gtrace::WriteFirstHeader(uint32_t start_sec, uint32_t pid)
61 current_pid_ = pid;
63 FillFirstHeader(start_sec, pid, &fh);
68 void Gtrace::FillFirstHeader(uint32_t start_sec, uint32_t pid,
80 fh->common.pid = pid;
94 void Gtrace::WriteBlockHeader(uint32_t cycle, uint32_t pid)
105 bh.pid = pid;
111 void Gtrace::AddGtraceRecord(int filenum, int procnum, uint32_t cycle, uint32_t pid,
    [all...]
gtrace.h 24 uint32_t pid; member in struct:Gtrace::block_header
45 void WriteFirstHeader(uint32_t start_sec, uint32_t pid);
47 void AddProcEntry(int filenum, int procnum, uint32_t cycle, uint32_t pid);
48 void AddProcExit(int filenum, int procnum, uint32_t cycle, uint32_t pid);
51 void AddGtraceRecord(int filenum, int procnum, uint32_t cycle, uint32_t pid,
53 void FillFirstHeader(uint32_t start_sec, uint32_t pid,
55 void WriteBlockHeader(uint32_t cycle, uint32_t pid);
  /external/bluetooth/hcidump/parser/
hcrp.c 39 static char *pid2str(uint16_t pid)
41 switch (pid) {
85 uint16_t pid, tid, plen, status; local
88 pid = get_u16(frm);
95 pid2str(pid), frm->in ? "rsp" : "cmd", tid, plen);
103 if (pid == 0x0001 && !frm->in) {
109 if (pid == 0x0002 && frm->in) {
  /frameworks/base/libs/binder/
Permission.cpp 55 pid_t pid = ipcState->getCallingPid(); local
57 return doCheckPermission(pid, uid);
60 bool Permission::check(pid_t pid, uid_t uid) const
62 return doCheckPermission(pid, uid);
65 bool Permission::doCheckPermission(pid_t pid, uid_t uid) const
67 if ((uid == 0) || (pid == mPid)) {
77 bool granted = checkPermission(mPermissionName, pid, uid);

Completed in 1319 milliseconds

1 2 3 4 5 6 7 8 91011>>