HomeSort by relevance Sort by last modified time
    Searched defs:pid (Results 251 - 275 of 1289) sorted by null

<<11121314151617181920>>

  /system/core/liblog/tests/
libc_test.cpp 39 pid_t pid = getpid(); local
42 LOG_ID_EVENTS, ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK, 1000, pid)));
59 ASSERT_EQ(log_msg.entry.pid, pid);
99 pid_t pid = getpid(); local
102 (log_id_t)LOG_ID_CRASH, ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK, 1000, pid)));
120 ASSERT_EQ(log_msg.entry.pid, pid);
  /system/core/logd/
LogWhiteBlackList.cpp 25 Prune::Prune(uid_t uid, pid_t pid) : mUid(uid), mPid(pid) {
28 int Prune::cmp(uid_t uid, pid_t pid) const {
33 return pid - mPid;
123 pid_t pid = Prune::pid_all; local
127 pid = 0;
129 pid = pid * 10 + *str++ - '0';
134 if ((uid == Prune::uid_all) && (pid == Prune::pid_all)) {
151 if ((pid == p->pid_all) && (p->mPid != p->pid_all))
    [all...]
  /system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/
target.h 23 const char * pid; member in struct:perf_target
  /system/extras/simpleperf/
workload.cpp 53 pid_t pid = fork(); local
54 if (pid == -1) {
61 } else if (pid == 0) {
72 work_pid_ = pid;
  /system/netd/server/
ClatdController.cpp 44 // Returns the PID of the clatd running on interface |interface|, or 0 if clatd is not running on
52 pid_t pid = getClatdPid(interface); local
54 if (pid != 0) {
55 ALOGE("clatd pid=%d already started on %s", pid, interface);
85 if ((pid = fork()) < 0) {
90 if (!pid) {
109 mClatdPids[interface] = pid;
117 pid_t pid = getClatdPid(interface); local
119 if (pid == 0)
137 pid_t pid = getClatdPid(interface); local
    [all...]
PppController.cpp 54 pid_t pid; local
74 if ((pid = fork()) < 0) {
79 if (!pid) {
105 mPid = pid;
SoftapController.cpp 60 pid_t pid = 1; local
71 if ((pid = fork()) < 0) {
76 if (!pid) {
86 mPid = pid;
  /art/test/137-cfi/
cfi.cc 183 pid_t pid = static_cast<pid_t>(pid_int); local
187 if (ptrace(PTRACE_ATTACH, pid, 0, 0)) {
191 kill(pid, SIGKILL);
195 kill(pid, SIGSTOP);
199 int signal = wait_for_sigstop(pid, &total_sleep_time_usec, &detach_failed);
204 std::unique_ptr<Backtrace> bt(Backtrace::Create(pid, BACKTRACE_CURRENT_THREAD));
229 if (ptrace(PTRACE_DETACH, pid, 0, 0) != 0) {
234 kill(pid, SIGKILL);
  /bionic/libc/bionic/
pty.cpp 160 pid_t pid = fork(); local
161 if (pid == -1) {
167 if (pid == 0) {
178 return pid;
  /bionic/libc/kernel/uapi/linux/
dlm_plock.h 42 __u32 pid; member in struct:dlm_plock_info
if_pppol2tp.h 24 __kernel_pid_t pid; member in struct:pppol2tp_addr
32 __kernel_pid_t pid; member in struct:pppol2tpin6_addr
41 __kernel_pid_t pid; member in struct:pppol2tpv3_addr
50 __kernel_pid_t pid; member in struct:pppol2tpv3in6_addr
  /bionic/tests/
pthread_dlfcn_test.cpp 52 int pid = fork(); local
54 ASSERT_NE(-1, pid) << strerror(errno);
56 if (pid == 0) {
68 ASSERT_EQ(pid, waitpid(pid, &status, 0));
70 pid = fork();
72 ASSERT_NE(-1, pid) << strerror(errno);
74 if (pid == 0) {
82 ASSERT_EQ(pid, waitpid(pid, &status, 0))
    [all...]
  /build/tools/atree/
fs.cpp 153 pid_t pid = fork(); local
154 if (pid == -1) {
157 } else if (pid == 0) {
206 // Wait for child pid and return its exit code.
208 waitpid(pid, &status, 0);
  /cts/tests/tests/app/src/android/app/cts/
ActivityManagerProcessErrorStateInfoTest.java 42 int pid = 2; local
50 mErrorStateInfo.pid = pid;
64 assertEquals(pid, values.pid);
76 int pid = 2; local
84 mErrorStateInfo.pid = pid;
98 assertEquals(pid, values.pid);
    [all...]
  /cts/tests/tests/view/src/android/view/inputmethod/cts/
InputBindingTest.java 34 int pid = 2; local
35 InputBinding inputBinding = new InputBinding(bic, binder, uid, pid);
40 assertEquals(pid, inputBinding.getPid());
50 assertEquals(pid, target.getPid());
  /development/ndk/platforms/android-21/include/linux/
dlm_plock.h 42 __u32 pid; member in struct:dlm_plock_info
if_pppol2tp.h 24 __kernel_pid_t pid; member in struct:pppol2tp_addr
32 __kernel_pid_t pid; member in struct:pppol2tpin6_addr
41 __kernel_pid_t pid; member in struct:pppol2tpv3_addr
50 __kernel_pid_t pid; member in struct:pppol2tpv3in6_addr
  /external/bison/djgpp/
subpipe.c 116 pid_t pid; local
119 pid = getpid();
163 return pid;
178 end_of_output_subpipe(pid_t pid, int fd[2])
277 reap_subpipe(pid_t pid, char const *program)
  /external/boringssl/src/crypto/rand/
urandom.c 42 * Each buffer contains the PID of the process that created it and it's tested
43 * against the current PID each time. Thus processes that fork will discard all
46 * 1) glibc maintains a cache of the current PID+PPID and, if this cache isn't
52 * the third process will end up with the same PID as the original process.
67 pid_t pid; /* pid contains the pid at the time that the buffer was member in struct:rand_buffer
69 pid_t ppid; /* ppid contains the parent pid in order to try and reduce
70 the possibility of duplicated PID confusing the
146 pid_t pid, ppid local
    [all...]
  /external/kernel-headers/original/uapi/linux/
dlm_plock.h 34 __u32 pid; member in struct:dlm_plock_info
if_pppol2tp.h 25 __kernel_pid_t pid; /* pid that owns the fd. member in struct:pppol2tp_addr
39 __kernel_pid_t pid; /* pid that owns the fd. member in struct:pppol2tpin6_addr
53 __kernel_pid_t pid; /* pid that owns the fd. member in struct:pppol2tpv3_addr
64 __kernel_pid_t pid; /* pid that owns the fd. member in struct:pppol2tpv3in6_addr
  /external/libcap-ng/libcap-ng-0.7/utils/
pscap.c 67 int pid, ppid, uid = -1, euid = -1; local
77 pid = strtol(ent->d_name, NULL, 10);
81 /* Skip our pid so we aren't listed */
82 if (pid == our_pid)
86 snprintf(buf, 32, "/proc/%d/stat", pid);
105 if (pid == 2 || ppid == 2)
108 if (!show_all && pid == 1)
113 capng_setpid(pid);
123 snprintf(buf, 32, "/proc/%d/status", pid);
149 "ppid", "pid", "name", "command"
    [all...]
  /external/libunwind/src/ptrace/
_UPT_access_reg.c 45 pid_t pid = ui->pid; local
65 nat_bits = ptrace (PTRACE_PEEKUSER, pid, PT_NAT_BITS, 0);
80 ptrace (PTRACE_POKEUSER, pid, PT_NAT_BITS, nat_bits);
105 psr = ptrace (PTRACE_PEEKUSER, pid, PT_CR_IPSR, 0);
117 ptrace (PTRACE_POKEUSER, pid, PT_CR_IIP, ip);
118 ptrace (PTRACE_POKEUSER, pid, PT_CR_IPSR, psr);
129 ip = ptrace (PTRACE_PEEKUSER, pid, PT_CR_IIP, 0);
153 cfm = ptrace (PTRACE_PEEKUSER, pid, PT_CFM, 0);
166 ptrace (PTRACE_POKEUSER, pid, PT_AR_BSP, bsp)
283 pid_t pid = ui->pid; local
361 pid_t pid = ui->pid; local
    [all...]
  /external/libvncserver/vncterm/
VNCommand.c 40 int in[2],out[2],err[2],pid; local
46 pid=fork();
47 if(!pid) {
75 while(c || waitpid(pid,&status,WNOHANG)==0) {
  /external/linux-tools-perf/src/tools/perf/util/
machine.h 16 /* Native host kernel uses -1 as pid index in machine */
22 pid_t pid; member in struct:machine
65 struct machine *machines__add(struct machines *machines, pid_t pid,
68 struct machine *machines__find(struct machines *machines, pid_t pid);
69 struct machine *machines__findnew(struct machines *machines, pid_t pid);
77 int machine__init(struct machine *machine, const char *root_dir, pid_t pid);
102 return machine ? machine->pid == DEFAULT_GUEST_KERNEL_ID : false;
107 return machine ? machine->pid == HOST_KERNEL_ID : false;
110 struct thread *machine__findnew_thread(struct machine *machine, pid_t pid,
162 int machines__create_kernel_maps(struct machines *machines, pid_t pid);
    [all...]

Completed in 1094 milliseconds

<<11121314151617181920>>