/external/selinux/policycoreutils/sandbox/ |
seunshare.c | 557 pid_t *pid_table, pid, self; local 577 if (!(pid = (pid_t)atoi(de->d_name)) || pid == self) 590 pid_table[pids++] = pid;
|
/external/selinux/policycoreutils/secon/ |
secon.c | 67 pid_t pid; member in union:__anon17934::__anon17935 101 " --pid -p <arg> Use the context from the specified pid.\n" 102 " --pid-exec <arg> Use the exec context from the specified pid.\n" 103 " --pid-fs <arg> Use the fs context from the specified pid.\n" 104 " --pid-key <arg> Use the key context from the specified pid.\n" 191 {"pid", required_argument, NULL, 'p'} [all...] |
/external/toybox/toys/pending/ |
telnetd.c | 116 pid_t pid = getpid(); local 121 if (utp_ptr->ut_pid == pid && utp_ptr->ut_type >= INIT_PROCESS) break; 422 pid_t pid; local 426 pid = waitpid(-1, &status, WNOHANG); 427 if (pid < 0) break; 432 if (tm->child_pid == pid) break;
|
/external/valgrind/coregrind/ |
m_libcproc.c | 281 Int VG_(waitpid)(Int pid, Int *status, Int options) 285 pid, (UWord)status, options, 0); 289 pid, (UWord)status, options, 0); 344 Int pid; local 347 pid = VG_(fork)(); 348 if (pid < 0) 350 if (pid == 0) { 381 zzz = VG_(waitpid)(pid, NULL, 0); 454 HChar pid[16]; local 472 (UWord)pid, sizeof(pid)) [all...] |
/external/vboot_reference/host/arch/arm/lib/ |
crossystem_arch.c | 292 pid_t pid; local 300 if ((pid = fork()) < 0) { 305 } else if (!pid) { /* Child */ 336 if (waitpid(pid, &status, 0) < 0 || status) {
|
/external/wpa_supplicant_8/src/utils/ |
os_internal.c | 521 pid_t pid; local 524 pid = fork(); 525 if (pid < 0) { 530 if (pid == 0) { 566 waitpid(pid, &pid_status, 0);
|
os_unix.c | 317 header.pid = 0; 663 pid_t pid; local 666 pid = fork(); 667 if (pid < 0) { 672 if (pid == 0) { 708 waitpid(pid, &pid_status, 0);
|
/frameworks/av/services/camera/libcameraservice/api2/ |
CameraDeviceClient.cpp | 863 const int pid = IPCThreadState::self()->getCallingPid(); local 889 if (pid == selfPid) { 904 "can't disable transmit LED pid=%d, uid=%d", pid, uid);
|
/frameworks/base/services/core/java/com/android/server/ |
GraphicsStatsService.java | 58 * for userId, pid, package name, and a couple other objects) 92 int pid = Binder.getCallingPid(); local 100 pfd = requestBufferForProcessLocked(token, uid, pid, packageName); 117 int uid, int pid, String packageName) throws RemoteException { 118 ActiveBuffer buffer = fetchActiveBuffersLocked(token, uid, pid, packageName); 142 private ActiveBuffer fetchActiveBuffersLocked(IBinder token, int uid, int pid, 147 if (buffers.mPid == pid 154 ActiveBuffer buffers = new ActiveBuffer(token, uid, pid, packageName); 215 ActiveBuffer(IBinder token, int uid, int pid, String packageName) 218 mPid = pid; [all...] |
/hardware/intel/common/libmix/videoencoder/ |
IntelMetadataBuffer.cpp | 256 //TODO: if pid is int32? 257 pid_t pid = data.readInt32(); local 265 if (pid == getpid()) //in same process, should not use binder 288 if (pid == getpid()) //in same process, should not use binder 301 if (pid == getpid()) //in same process, should not use binder 465 //send pid, sessionflag, and memtype 466 pid_t pid = getpid(); 467 //TODO: if pid is int32? 468 data.writeInt32(pid); 698 //send pid, sessionflag, and valu 699 pid_t pid = getpid(); local 751 pid_t pid = getpid(); local 808 pid_t pid = getpid(); local [all...] |
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
wifi_hal.cpp | 91 uint32_t pid = getpid() & 0x3FFFFF; local 99 sock->s_local.nl_pid = pid + (port << 22); [all...] |
/hardware/ti/omap4xxx/security/tf_daemon/ |
delegation_client.c | 1011 TRACE_INFO("INSTRUCTION: ID=0x%x pid=%d err=%d", (nInstructionID & 0x0F), nPartitionID, nError); 1017 TRACE_INFO("INSTRUCTION: ID=0x%x pid=%d pSize=%d err=%d", (nInstructionID & 0x0F), nPartitionID, nPartitionSize, nError); 1040 TRACE_INFO("INSTRUCTION: ID=0x%x pid=%d sid=%d woff=%d err=%d", (nInstructionID & 0x0F), nPartitionID, nSectorID, nWorkspaceOffset, nError); 1059 TRACE_INFO("INSTRUCTION: ID=0x%x pid=%d sid=%d woff=%d err=%d", (nInstructionID & 0x0F), nPartitionID, nSectorID, nWorkspaceOffset, nError); 1064 TRACE_INFO("INSTRUCTION: ID=0x%x pid=%d err=%d", (nInstructionID & 0x0F), nPartitionID, nError); 1327 pid_t pid, sid; local [all...] |
/libcore/luni/src/main/java/java/lang/ |
ProcessManager.java | 42 * Map from pid to Process. We keep weak references to the Process objects 86 int pid = Libcore.os.waitpid(0, status, 0); local 100 onExit(pid, exitValue); 117 * @param pid ID of process that exited 120 private void onExit(int pid, int exitValue) { 124 processReference = processReferences.remove(pid); 207 int pid; local 209 pid = exec(command, environment, workingPath, in, out, err, redirectErrorStream); 218 ProcessImpl process = new ProcessImpl(pid, in, out, err); 220 processReferences.put(pid, processReference) 233 private final int pid; field in class:ProcessManager.ProcessImpl [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalSource.java | 197 PathId pid = list.get(i); local 200 Path parent = pid.path.getParent(); 202 imageList.add(pid); 204 videoList.add(pid); 218 PathId pid = list.get(i); local 222 int startId = Integer.parseInt(pid.path.getSuffix());
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
MmsService.java | 212 // Remember my PID to discard restarted intent 216 * Get the current PID 218 * @return the current PID 234 final int pid = intent.getIntExtra(EXTRA_MYPID, -1); local 235 return pid == getMyPid();
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/asm-generic/ |
fcntl.h | 96 pid_t pid; member in struct:f_owner_ex
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
capability.h | 42 int pid; member in struct:__user_cap_header_struct 151 * Transfer any capability in your permitted set to any pid, 152 * remove any capability in your permitted set from any pid
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/dvb/ |
dmx.h | 98 __u16 pid; member in struct:dmx_sct_filter_params 111 __u16 pid; member in struct:dmx_pes_filter_params
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/asm-generic/ |
fcntl.h | 129 __kernel_pid_t pid; member in struct:f_owner_ex
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
capability.h | 42 int pid; member in struct:__user_cap_header_struct 148 * Transfer any capability in your permitted set to any pid, 149 * remove any capability in your permitted set from any pid
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/dvb/ |
dmx.h | 98 __u16 pid; member in struct:dmx_sct_filter_params 111 __u16 pid; member in struct:dmx_pes_filter_params
|
/prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/asm-generic/ |
fcntl.h | 145 __kernel_pid_t pid; member in struct:f_owner_ex
|
/prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/linux/ |
capability.h | 34 int pid; member in struct:__user_cap_header_struct
|
/prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/linux/dvb/ |
dmx.h | 86 __u16 pid; member in struct:dmx_sct_filter_params 100 __u16 pid; member in struct:dmx_pes_filter_params
|
/prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/asm-generic/ |
fcntl.h | 145 __kernel_pid_t pid; member in struct:f_owner_ex
|