/system/core/init/ |
H A D | service.cpp | 98 NOTICE("Service '%s' (pid %d) killing any children in process group\n", 110 INFO("SVC_EXEC pid %d finished...\n", pid_); 390 pid_t pid = fork(); local 391 if (pid == 0) { 422 ERROR("Failed to set pid %d ioprio = %d,%d: %s\n", 483 if (pid < 0) { 490 pid_ = pid; 494 INFO("SVC_EXEC pid %d (uid %d gid %d+%zu context %s) started; waiting...\n", 532 NOTICE("Sending SIGTERM to service '%s' (pid %d)...\n", name_.c_str(), 709 Service* ServiceManager::FindServiceByPid(pid_t pid) cons 777 pid_t pid = TEMP_FAILURE_RETRY(waitpid(-1, &status, WNOHANG)); local [all...] |
H A D | bootchart.cpp | 123 int pid = strtol(entry->d_name, &end, 10); local 127 // /proc/<pid>/stat only has truncated task names, so get the full 128 // name from /proc/<pid>/cmdline. 129 snprintf(filename, sizeof(filename), "/proc/%d/cmdline", pid); 135 snprintf(filename, sizeof(filename), "/proc/%d/stat", pid);
|
H A D | service.h | 93 pid_t pid() const { return pid_; } function in class:Service 168 Service* FindServiceByPid(pid_t pid) const;
|
/system/extras/simpleperf/ |
H A D | cmd_record.cpp | 568 dump_processes.insert(thread.pid); 577 if (thread.pid != thread.tid) { 580 if (!all_threads && dump_processes.find(thread.pid) == dump_processes.end()) { 583 CommRecord record = CreateCommRecord(*attr, thread.pid, thread.tid, thread.comm); 588 if (!GetThreadMmapsInProcess(thread.pid, &thread_mmaps)) { 597 CreateMmapRecord(*attr, false, thread.pid, thread.tid, thread_mmap.start_addr, 607 if (thread.pid == thread.tid) { 613 ForkRecord fork_record = CreateForkRecord(*attr, thread.pid, thread.tid, thread.pid, thread.pid); [all...] |
H A D | event_fd.cpp | 40 static int perf_event_open(perf_event_attr* attr, pid_t pid, int cpu, int group_fd, argument 42 return syscall(__NR_perf_event_open, attr, pid, cpu, group_fd, flags);
|
H A D | dwarf_unwind.cpp | 120 std::unique_ptr<BacktraceMap> backtrace_map(BacktraceMap::Create(thread.pid, bt_maps)); 128 Backtrace::CreateOffline(thread.pid, thread.tid, backtrace_map.get(), stack_info, true));
|
/system/bt/stack/include/ |
H A D | avct_api.h | 115 UINT16 pid; /* Profile ID */ member in struct:__anon930
|
/system/connectivity/shill/pppoe/ |
H A D | pppoe_service.h | 84 void OnPPPDied(pid_t pid, int exit);
|
/system/core/logd/ |
H A D | LogTimes.h | 53 unsigned long tail, unsigned int logMask, pid_t pid,
|
H A D | LogBufferElement.cpp | 38 uid_t uid, pid_t pid, pid_t tid, 42 mPid(pid), 212 entry.pid = mPid; 37 LogBufferElement(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, const char *msg, unsigned short len) argument
|
H A D | LogBuffer.cpp | 203 uid_t uid, pid_t pid, pid_t tid, 210 uid, pid, tid, msg, len); 328 { // start of scope for pid found iterator 366 // for the specified uid, pid and tid. Used below to help merge-sort when 372 uint16_t pid; member in struct:LogBufferElementKey::__anon1694::__anon1695 380 LogBufferElementKey(uid_t uid, pid_t pid, pid_t tid): argument 382 pid(pid), 613 // begin scope for pid worst found iterator 987 std::string LogBuffer::formatStatistics(uid_t uid, pid_t pid, argument 202 log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, const char *msg, unsigned short len) argument [all...] |
H A D | LogTimes.cpp | 29 unsigned int logMask, pid_t pid, 38 mPid(pid), 27 LogTimeEntry(LogReader &reader, SocketClient *client, bool nonBlock, unsigned long tail, unsigned int logMask, pid_t pid, uint64_t start, uint64_t timeout) argument
|
/system/extras/memtrack/ |
H A D | memtrack.h | 78 bool getInformation(int pid, char *pid_str, size_t pid_str_len);
|
/system/bt/stack/avct/ |
H A D | avct_lcb.c | 414 ** Description See if any ccbs on this lcb have a particular pid. 420 tAVCT_CCB *avct_lcb_has_pid(tAVCT_LCB *p_lcb, UINT16 pid) argument 427 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb) && (p_ccb->cc.pid == pid))
|
/system/extras/tests/kernel.config/ |
H A D | aslr_test.cpp | 65 pid_t pid; local 74 if ((pid = fork()) < 0) { 79 } else if (pid > 0) {
|
/system/extras/tests/net_test/ |
H A D | netlink.py | 44 NLMsgHdr = cstruct.Struct("NLMsgHdr", "=LHHLL", "length type flags seq pid") 140 self.pid = self.sock.getsockname()[1] 175 nlmsg = NLMsgHdr((length, command, flags, self.seq, self.pid)).Pack() 237 nlmsghdr = NLMsgHdr((length, command, flags, self.seq, self.pid))
|
/system/core/logcat/tests/ |
H A D | logcat_test.cpp | 307 pid_t pid = getpid(); local 327 || (p != pid)) { 444 pid_t pid = getpid(); local 446 v += pid & 0xFFFF; 477 || (p != pid)) { 513 pid_t pid = getpid(); local 515 v += pid & 0xFFFF; 546 || (p != pid)) { 870 pid_t pid = getpid(); local 872 v += pid [all...] |
/system/core/logwrapper/ |
H A D | logwrap.c | 293 static int parent(const char *tag, int parent_read, pid_t pid, argument 411 ret = waitpid(pid, &status, WNOHANG); 487 pid_t pid; local 530 pid = fork(); 531 if (pid < 0) { 536 } else if (pid == 0) { 580 rc = parent(argv[0], parent_ptty, pid, status, log_target,
|
/system/netd/server/ |
H A D | NetdNativeService.cpp | 50 pid_t pid; local 53 if (checkCallingPermission(String16(permission), (int32_t *) &pid, (int32_t *) &uid)) { 56 auto err = StringPrintf("UID %d / PID %d lacks permission %s", uid, pid, permission);
|
/system/extras/tests/sdcard/ |
H A D | testcase.h | 121 pid_t pid() const { return mPid; } function in class:android_test::TestCase
|
/system/connectivity/apmanager/ |
H A D | service.cc | 270 return hostapd_process_ && hostapd_process_->pid() != 0 && 271 brillo::Process::ProcessExists(hostapd_process_->pid());
|
/system/connectivity/shill/net/ |
H A D | rtnl_message.h | 154 uint32_t pid, 171 uint32_t pid() const { return pid_; } function in class:shill::RTNLMessage
|
/system/core/crash_reporter/ |
H A D | crash_reporter_logs.conf | 60 ps axw -o user,pid,%cpu,%mem,vsz,rss,tname,stat,start_time,bsdtime,comm | \
|
/system/core/adb/ |
H A D | shell_service.cpp | 160 pid_t pid() const { return pid_; } function in class:__anon1491::Subprocess 453 "shell srvc %d", subprocess->pid())); 455 D("passing data streams for PID %d", subprocess->pid()); 458 D("deleting Subprocess for PID %d", subprocess->pid()); 491 D("protocol FD died, sending SIGHUP to pid %d", pid_); 664 D("waiting for pid %d", pid_); 668 D("post waitpid (pid=%d) status=%04x", pid_, status); 699 D("passed fd %d to SHELL_EXIT_NOTIFY_FD (%d) for pid %d", 707 << ") for pid " << pid_; 765 D("subprocess creation successful: local_socket_fd=%d, pid [all...] |
/system/core/liblog/ |
H A D | pmsg_reader.c | 201 (!logger_list->pid || (logger_list->pid == buf.p.pid))) { 221 log_msg->entry_v4.pid = buf.p.pid;
|