Searched refs:pid (Results 126 - 150 of 217) sorted by relevance

123456789

/system/core/crash_reporter/
H A Dcrash_collector.cc135 pid_t pid) {
147 pid);
235 FilePath CrashCollector::GetProcessPath(pid_t pid) { argument
236 return FilePath(StringPrintf("/proc/%d", pid));
269 bool CrashCollector::GetExecutableBaseNameFromPid(pid_t pid, argument
272 FilePath process_path = GetProcessPath(pid);
133 FormatDumpBasename(const std::string &exec_name, time_t timestamp, pid_t pid) argument
/system/extras/libpagemap/
H A Dpm_process.c33 int pm_process_create(pm_kernel_t *ker, pid_t pid, pm_process_t **proc_out) { argument
46 proc->pid = pid;
48 error = snprintf(filename, MAX_FILENAME, "/proc/%d/pagemap", pid);
209 proc->pid);
263 error = snprintf(filename, MAX_FILENAME, "/proc/%d/maps", proc->pid);
/system/connectivity/shill/dhcp/
H A Ddhcp_provider_unittest.cc62 void RetireUnboundPID(int pid) { provider_->RetireUnboundPID(pid); } argument
/system/core/healthd/
H A DBatteryPropertiesRegistrar.cpp82 const int pid = self->getCallingPid(); local
86 String16("android.permission.DUMP"), pid, uid))
/system/core/libbacktrace/
H A DBacktraceOffline.h62 BacktraceOffline(pid_t pid, pid_t tid, BacktraceMap* map, const backtrace_stackinfo_t& stack, argument
64 : Backtrace(pid, tid, map),
H A DUnwindPtrace.cpp31 UnwindPtrace::UnwindPtrace(pid_t pid, pid_t tid, BacktraceMap* map) argument
32 : BacktracePtrace(pid, tid, map), addr_space_(nullptr), upt_info_(nullptr) {
/system/core/liblog/
H A Dfake_log_device.c365 pid_t pid, tid; local
367 uint32_t pid, tid; local
374 pid = tid = getpid(); // find gettid()?
406 "%c(%5d) ", priChar, pid);
412 "%c(%5d:%5d) ", priChar, pid, tid);
426 "%s %5d %5d %c %-8s \n\t", timeBuf, pid, tid, priChar, tag);
432 timeBuf, pid, tid, priChar, tag);
437 "%c/%-8s(%5d): ", priChar, tag, pid);
H A Dlogger_read.c235 pid_t pid)
248 logger_list->pid = pid;
256 pid_t pid)
269 logger_list->pid = pid;
327 pid_t pid)
330 android_logger_list_alloc(mode, tail, pid);
232 android_logger_list_alloc( int mode, unsigned int tail, pid_t pid) argument
253 android_logger_list_alloc_time( int mode, log_time start, pid_t pid) argument
323 android_logger_list_open( log_id_t logId, int mode, unsigned int tail, pid_t pid) argument
/system/core/logd/
H A DLogListener.cpp102 !clientHasLogCredentials(cred->uid, cred->gid, cred->pid))) {
113 cred->uid, cred->pid, header->tid, msg,
H A DLogKlog.cpp423 int pid = 0; local
425 if (sscanf(cp + 4, "%d%c", &pid, &dummy) == 2) {
427 return pid;
434 int pid = 0; local
436 if (sscanf(cp, "[%d:%*[a-z_./0-9:A-Z]]%c", &pid, &dummy) == 2) {
437 return pid;
615 // Parse pid, tid and uid
616 const pid_t pid = sniffPid(&p, len - (p - buf)); local
617 const pid_t tid = pid;
619 if (pid) {
[all...]
H A DCommandListener.cpp213 pid_t pid = 0; local
217 static const char _pid[] = "pid=";
219 pid = atol(argv[i] + sizeof(_pid) - 1);
220 if (pid == 0) {
236 cli->sendMsg(package_string(mBuf.formatStatistics(uid, pid,
H A DLogBufferElement.h59 uid_t uid, pid_t pid, pid_t tid,
/system/tpm/trunks/ftdi/
H A Dmpsse.c63 mpsse = Open(supported_devices[i].vid, supported_devices[i].pid, mode,
78 * @pid - Device product ID.
89 int pid,
96 return OpenIndex(vid, pid, mode, freq, endianess, interface, description,
104 * @pid - Device product ID.
118 int pid,
148 if (!ftdi_usb_open_desc_index(&mpsse->ftdi, vid, pid, description, serial,
152 mpsse->pid = pid;
500 int pid local
88 Open(int vid, int pid, enum modes mode, int freq, int endianess, int interface, const char* description, const char* serial) argument
117 OpenIndex(int vid, int pid, enum modes mode, int freq, int endianess, int interface, const char* description, const char* serial, int index) argument
[all...]
H A Dmpsse.h148 int pid; member in struct:vid_pid
159 int pid; member in struct:mpsse_context
180 int pid,
188 int pid,
/system/core/adb/
H A Dtransport_usb.cpp97 int is_adb_interface(int vid, int pid, int usb_class, int usb_subclass, int usb_protocol) argument
/system/core/include/log/
H A Dlogprint.h57 int32_t pid; member in struct:AndroidLogEntry_t
/system/core/include/private/
H A Dandroid_filesystem_capability.h39 int pid; member in struct:__user_cap_header_struct
H A Dandroid_logger.h37 uint16_t pid; member in struct:__anon1541
/system/extras/procmem/
H A Dprocmem.c43 pid_t pid; local
97 pid = (pid_t)strtol(argv[argc - 1], &endptr, 10);
112 error = pm_process_create(ker, pid, &proc);
115 "does process %d really exist?\n", pid);
305 fprintf(stderr, "Usage: %s [ -w | -W ] [ -p | -m ] [ -h ] pid\n"
/system/netd/server/
H A DTetherController.cpp143 pid_t pid; local
155 if ((pid = fork()) < 0) {
162 if (!pid) {
182 args[6] = (char *)"--pid-file";
198 mDaemonPid = pid;
/system/bt/stack/avct/
H A Davct_lcb_act.c248 (avct_lcb_has_pid(p_lcb, p_ccb->cc.pid) == NULL))
599 UINT16_TO_BE_STREAM(p, p_data->ul_msg.p_ccb->cc.pid);
665 UINT16 pid; local
694 BE_STREAM_TO_UINT16(pid, p);
695 if ((p_ccb = avct_lcb_has_pid(p_lcb, pid)) != NULL)
705 AVCT_TRACE_WARNING("No ccb for PID=%x", pid);
716 UINT16_TO_BE_STREAM(p, pid);
/system/extras/procrank/
H A Dprocrank.c30 pid_t pid; member in struct:proc_info
36 static int getprocname(pid_t pid, char *buf, int len);
257 procs[i]->pid = pids[i];
345 if (getprocname(procs[i]->pid, cmdline, (int)sizeof(cmdline)) < 0) {
358 printf("%5d ", procs[i]->pid);
487 static int getprocname(pid_t pid, char *buf, int len) { argument
497 if (asprintf(&filename, "/proc/%d/cmdline", pid) < 0) {
/system/core/libmemunreachable/tests/
H A DThreadCapture_test.cpp42 // pthread_join may return before the entry in /proc/pid/task/ is gone,
186 int pid = fork(); local
188 if (pid == 0) {
198 ASSERT_GT(pid, 0);
202 parent(pid);
206 ASSERT_EQ(0, TEMP_FAILURE_RETRY(waitid(P_PID, pid, &info, WEXITED))) << strerror(errno);
/system/core/liblog/tests/
H A Dliblog_benchmark.cpp131 pmsg_header.pid = getpid();
219 buffer->pmsg_header.pid = getpid();
295 buffer->pmsg_header.pid = getpid();
371 buffer->pmsg_header.pid = getpid();
444 buffer->pmsg_header.pid = getpid();
510 pid_t pid = getpid(); local
513 ANDROID_LOG_RDONLY, 0, pid);
588 pid_t pid = getpid(); local
591 ANDROID_LOG_RDONLY, 0, pid);
/system/extras/perfprofd/
H A Dperfprofdcore.cc232 // Constructor takes a timeout (in seconds) and a child pid; If an
293 pid_t pid = fork(); local
294 if (pid == -1) {
299 } else if (pid == 0) {
314 AlarmHelper helper(10, pid);
342 TEMP_FAILURE_RETRY(waitpid(pid, &st, 0));
533 pid_t pid = fork(); local
535 if (pid == -1) {
539 if (pid == 0) {
585 fprintf(stderr, "perf invocation (pid
[all...]

Completed in 1736 milliseconds

123456789