/frameworks/base/core/java/android/os/ |
SchedulingPolicyService.java | 41 public int requestPriority(int pid, int tid, int prio) { 42 //Log.i(TAG, "requestPriority(pid=" + pid + ", tid=" + tid + ", prio=" + prio + ")"); 46 // Once we've verified that the caller is mediaserver, we can trust the pid but 47 // we can't trust the tid. No need to explicitly check for pid == 0 || tid == 0, 50 prio > PRIORITY_MAX || Process.getThreadGroupLeader(tid) != pid) { 55 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ?
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
p2p-action-udhcp.sh | 14 PID=`cat $PF` 15 if [ $PID -gt 0 ]; then 16 if ps $PID | grep -q $NAME; then 17 kill $PID 26 kill_daemon udhcpc /var/run/udhcpc-$GIFNAME.pid 31 kill_daemon udhcpc /var/run/udhcpc-$GIFNAME.pid 32 kill_daemon udhcpd /var/run/udhcpd-$GIFNAME.pid 33 udhcpc -i $GIFNAME -p /var/run/udhcpc-$GIFNAME.pid \ 41 kill_daemon udhcpd /var/run/udhcpd-$GIFNAME.pid 45 kill_daemon udhcpc /var/run/udhcpc-$GIFNAME.pid [all...] |
/libcore/dalvik/src/main/java/dalvik/system/ |
Zygote.java | 82 * @return 0 if this is the child, pid of the child 87 int pid = nativeFork(); local 89 return pid; 111 * @return 0 if this is the child, pid of the child 117 int pid = nativeForkAndSpecialize(uid, gid, gids, debugFlags, rlimits); local 119 return pid; 138 * common actions performed in forkAndSpecialize, the pid of the child 156 * @return 0 if this is the child, pid of the child 163 int pid = nativeForkSystemServer(uid, gid, gids, debugFlags, rlimits, local 167 return pid; [all...] |
/sdk/emulator/qtools/ |
read_pid.cpp | 22 printf("t%lld fork tgid %d pid %d\n", event.time, event.tgid, event.pid); 25 printf("t%lld clone tgid %d pid %d\n", event.time, event.tgid, event.pid); 28 printf("t%lld switch %d\n", event.time, event.pid); 31 printf("t%lld exit %d\n", event.time, event.pid); 59 printf("t%lld kthread tgid %d pid %d %s\n", 60 event.time, event.tgid, event.pid, event.path); 65 event.time, event.pid, event.path);
|
/external/chromium/base/debug/ |
profiler.cc | 26 std::string pid = StringPrintf("%d", GetCurrentProcId()); local 28 ReplaceSubstringsAfterOffset(&full_name, 0, "{pid}", pid);
|
/external/chromium/chrome/browser/ |
mach_broker_mac.cc | 96 int pid; local 97 err = pid_for_task(child_task, &pid); 99 broker_->FinalizePid(pid, 102 LOG(ERROR) << "Error getting pid for task " << child_task 146 // Adds a placeholder to the map for the given pid with MACH_PORT_NULL. 147 void MachBroker::AddPlaceholderForPid(base::ProcessHandle pid) { 151 DCHECK_EQ(0u, mach_map_.count(pid)); 152 mach_map_[pid] = mach_info; 155 // Updates the mapping for |pid| to include the given |mach_info|. 156 void MachBroker::FinalizePid(base::ProcessHandle pid, 242 const pid_t pid = is_child ? getppid() : getpid(); local [all...] |
memory_details_linux.cc | 75 pid_t pid; member in struct:Process 117 // <pid> (<name>) R <parent pid> 118 unsigned pid, ppid; local 120 if (sscanf(buf, "%u (%a[^)]) %*c %u", &pid, &process_name, &ppid) != 3) 124 process.pid = pid; 154 pmi.pid = *i; 157 if (pmi.pid == base::GetCurrentProcId()) 186 // pid namespace, the zygote's parent process is not the browser [all...] |
fullscreen_win.cc | 87 DWORD pid = 0; local 88 ::GetWindowThreadProcessId(::GetForegroundWindow(), &pid); local 89 if (!pid) 92 if (!::AttachConsole(pid))
|
/external/chromium/chrome/browser/ssl/ |
ssl_policy_backend.h | 24 void HostRanInsecureContent(const std::string& host, int pid); 27 bool DidHostRunInsecureContent(const std::string& host, int pid) const;
|
/external/dropbear/ |
chansession.h | 43 pid_t pid; /* child process pid */ member in struct:ChanSess 71 pid_t pid; member in struct:ChildPid
|
/external/kernel-headers/original/linux/ |
if_pppol2tp.h | 28 __kernel_pid_t pid; /* pid that owns the fd. member in struct:pppol2tp_addr 42 pid_t pid; /* pid that owns the fd. member in struct:pppol2tpv3_addr
|
/external/oprofile/libop/ |
op_interface.h | 36 u32 pid; /**< 32 bits can hold any pid */ member in struct:op_sample 37 u32 tgid; /**< always equal to pid for kernel < 2.4.0 */ 68 unsigned int pid; member in struct:op_note
|
/frameworks/av/services/audioflinger/ |
SchedulingPolicyService.cpp | 28 int requestPriority(pid_t pid, pid_t tid, int32_t prio) 49 return sps->requestPriority(pid, tid, prio);
|
/external/linux-tools-perf/scripts/perl/ |
rwtop.pl | 8 # pid. If an [interval] arg is specified, the display will be 125 printf("\nread counts by pid:\n\n"); 127 printf("%6s %20s %10s %10s %10s\n", "pid", "comm", 132 foreach my $pid (sort { ($reads{$b}{bytes_read} || 0) <=> 134 my $comm = $reads{$pid}{comm} || ""; 135 my $total_reads = $reads{$pid}{total_reads} || 0; 136 my $bytes_requested = $reads{$pid}{bytes_requested} || 0; 137 my $bytes_read = $reads{$pid}{bytes_read} || 0; 139 printf("%6s %-20s %10s %10s %10s\n", $pid, $comm, 149 printf("\nwrite counts by pid:\n\n") [all...] |
/external/bluetooth/bluez/compat/ |
dun.c | 122 static int find_pppd(int id, pid_t *pid) 138 *pid = 0; 144 *pid = atoi(de->d_name); 154 return *pid != 0; 159 int pid = fork(); local 162 switch (pid) { 170 return pid; 246 pid_t pid; local 253 if (find_pppd(di->id, &pid)) { 257 printf("rfcomm%d: %s channel %d pppd pid %d\n" 267 pid_t pid; local 310 int pid; 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...] |
/external/linux-tools-perf/scripts/python/ |
netdev-times.py | 136 event['pid'], event['comm']) 227 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, vec): 230 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec) 233 def irq__softirq_exit(name, context, cpu, sec, nsec, pid, comm, vec): 236 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec) 239 def irq__softirq_raise(name, context, cpu, sec, nsec, pid, comm, vec): 242 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec) 245 def irq__irq_handler_entry(name, context, cpu, sec, nsec, pid, comm, 247 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, 251 def irq__irq_handler_exit(name, context, cpu, sec, nsec, pid, comm, irq, ret) [all...] |
/bionic/libc/include/sys/ |
ptrace.h | 41 extern long ptrace(int request, pid_t pid, void *addr, void *data);
|
/bionic/libc/kernel/common/linux/netfilter_ipv4/ |
ipt_owner.h | 31 pid_t pid; member in struct:ipt_owner_info
|
/bionic/libc/kernel/common/linux/netfilter_ipv6/ |
ip6t_owner.h | 30 pid_t pid; member in struct:ip6t_owner_info
|
/bionic/libc/kernel/common/linux/ |
proc_fs.h | 89 struct pid *pid; member in struct:proc_inode 101 struct pid *pid; member in struct:proc_maps_private
|
/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-3/include/linux/netfilter_ipv4/ |
ipt_owner.h | 24 pid_t pid; member in struct:ipt_owner_info
|
/development/ndk/platforms/android-3/include/linux/netfilter_ipv6/ |
ip6t_owner.h | 23 pid_t pid; member in struct:ip6t_owner_info
|
/development/ndk/platforms/android-3/include/sys/ |
ptrace.h | 41 extern long ptrace(int request, pid_t pid, void *addr, void *data);
|