Home
last modified time | relevance | path

Searched defs:pid (Results 1 – 25 of 150) sorted by relevance

123456

/system/connectivity/shill/
Dprocess_manager.cc113 pid_t pid = process->pid(); in StartProcess() local
162 pid_t pid; in StartProcessInMinijailWithPipes() local
180 bool ProcessManager::StopProcess(pid_t pid) { in StopProcess()
201 bool ProcessManager::StopProcessAndBlock(pid_t pid) { in StopProcessAndBlock()
238 bool ProcessManager::KillProcessWithTimeout(pid_t pid, bool kill_signal) { in KillProcessWithTimeout()
259 bool ProcessManager::KillProcess(pid_t pid, int signal, bool* killed) { in KillProcess()
274 bool ProcessManager::WaitpidWithTimeout(pid_t pid, in WaitpidWithTimeout()
293 pid_t pid, in UpdateExitCallback()
307 void ProcessManager::OnProcessExited(pid_t pid, const siginfo_t& info) { in OnProcessExited()
330 void ProcessManager::ProcessTerminationTimeoutHandler(pid_t pid, in ProcessTerminationTimeoutHandler()
[all …]
Dprocess_manager_unittest.cc58 void AddWatchedProcess(pid_t pid, const Callback<void(int)>& callback) { in AddWatchedProcess()
62 void AddTerminateProcess(pid_t pid, in AddTerminateProcess()
80 void OnProcessExited(pid_t pid, int exit_status) { in OnProcessExited()
86 void OnTerminationTimeout(pid_t pid, bool kill_signal) { in OnTerminationTimeout()
/system/vold/
DProcess.cpp66 void Process::getProcessName(int pid, char *buffer, size_t max) { in getProcessName()
79 int Process::checkFileDescriptorSymLinks(int pid, const char *mountPoint) { in checkFileDescriptorSymLinks()
83 int Process::checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_… in checkFileDescriptorSymLinks()
124 int Process::checkFileMaps(int pid, const char *mountPoint) { in checkFileMaps()
128 int Process::checkFileMaps(int pid, const char *mountPoint, char *openFilename, size_t max) { in checkFileMaps()
154 int Process::checkSymLink(int pid, const char *mountPoint, const char *name) { in checkSymLink()
191 int pid = getPid(de->d_name); in killProcessesWithOpenFiles() local
/system/connectivity/shill/dhcp/
Ddhcp_provider.cc130 DHCPConfigRefPtr DHCPProvider::GetConfig(int pid) { in GetConfig()
139 void DHCPProvider::BindPID(int pid, const DHCPConfigRefPtr& config) { in BindPID()
144 void DHCPProvider::UnbindPID(int pid) { in UnbindPID()
153 void DHCPProvider::RetireUnboundPID(int pid) { in RetireUnboundPID()
157 bool DHCPProvider::IsRecentlyUnbound(int pid) { in IsRecentlyUnbound()
/system/netd/server/
DClatdController.cpp52 pid_t pid = getClatdPid(interface); in startClatd() local
117 pid_t pid = getClatdPid(interface); in stopClatd() local
137 pid_t pid = getClatdPid(interface); in isClatdStarted() local
/system/core/libbacktrace/
DUnwindMap.cpp35 UnwindMap::UnwindMap(pid_t pid) : BacktraceMap(pid) { in UnwindMap()
39 UnwindMapRemote::UnwindMapRemote(pid_t pid) : UnwindMap(pid) { in UnwindMapRemote()
141 BacktraceMap* BacktraceMap::Create(pid_t pid, bool uncached) { in Create()
DBacktraceMap.cpp28 BacktraceMap::BacktraceMap(pid_t pid) : pid_(pid) { in BacktraceMap()
135 BacktraceMap* BacktraceMap::Create(pid_t pid, bool /*uncached*/) {
145 BacktraceMap* BacktraceMap::Create(pid_t pid, const std::vector<backtrace_map_t>& maps) {
DThreadEntry.cpp33 ThreadEntry::ThreadEntry(pid_t pid, pid_t tid) in ThreadEntry()
49 ThreadEntry* ThreadEntry::Get(pid_t pid, pid_t tid, bool create) { in Get()
DBacktrace.cpp40 Backtrace::Backtrace(pid_t pid, pid_t tid, BacktraceMap* map) in Backtrace()
119 Backtrace* Backtrace::Create(pid_t pid, pid_t tid, BacktraceMap* map) { in Create()
DBacktracePtrace.h29 BacktracePtrace(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {} in BacktracePtrace()
DUnwindCurrent.h36 UnwindCurrent(pid_t pid, pid_t tid, BacktraceMap* map) : BacktraceCurrent(pid, tid, map) {} in UnwindCurrent()
Dbacktrace_test.cpp106 void WaitForStop(pid_t pid) { in WaitForStop()
299 void VerifyProcTest(pid_t pid, pid_t tid, bool share_map, in VerifyProcTest()
340 pid_t pid; in TEST() local
353 pid_t pid; in TEST() local
367 pid_t pid; in TEST() local
394 pid_t pid; in TEST() local
412 void GetThreads(pid_t pid, std::vector<pid_t>* threads) { in GetThreads()
431 pid_t pid; in TEST() local
881 void VerifyMap(pid_t pid) { in VerifyMap()
910 pid_t pid; in TEST() local
[all …]
/system/core/debuggerd/
Dbacktrace.cpp42 static void dump_process_header(log_t* log, pid_t pid) { in dump_process_header()
67 static void dump_process_footer(log_t* log, pid_t pid) { in dump_process_footer()
71 static void dump_thread(log_t* log, BacktraceMap* map, pid_t pid, pid_t tid) { in dump_thread()
100 void dump_backtrace(int fd, BacktraceMap* map, pid_t pid, pid_t tid, in dump_backtrace()
Dsignal_sender.cpp34 pid_t pid; member
148 bool send_signal(pid_t pid, pid_t tid, int signal) { in send_signal()
/system/connectivity/shill/dbus/
Dchromeos_dhcpcd_listener.cc117 uint32_t pid; in HandleMessage() local
132 uint32_t pid; in HandleMessage() local
153 uint32_t pid, in EventSignal()
174 uint32_t pid, in StatusChangedSignal()
/system/extras/iotop/
Dtasklist.cpp40 pid_t pid = atoi(entry->d_name); in ScanPidsInDir() local
62 return ScanPidsInDir(filename, [&pid_list](pid_t pid) { in ScanPid()
/system/core/libprocessgroup/
Dprocessgroup.cpp95 static int convertUidPidToPath(char *path, size_t size, uid_t uid, int pid) in convertUidPidToPath()
105 static int initCtx(uid_t uid, int pid, struct ctx *ctx) in initCtx()
174 long pid = strtol(ctx->buf_ptr, &pid_eptr, 10); in getOneAppProcess() local
188 static int removeProcessGroup(uid_t uid, int pid) in removeProcessGroup()
260 pid_t pid; in killProcessGroupOnce() local
370 char pid[PROCESSGROUP_MAX_PID_LEN + 1] = {0}; in createProcessGroup() local
/system/extras/perfprofd/quipper/
Dperf_parser.cc301 const uint32_t pid, in MapCallchain()
345 bool PerfParser::MapBranchStack(const uint32_t pid, in MapBranchStack()
407 uint32_t pid, in MapIPAndPidAndGetNameAndOffset()
460 uint32_t pid, in MapMmapEvent()
530 uint32_t pid, uint32_t *ppid) { in GetOrCreateProcessMapper()
561 const uint32_t pid = event.pid; in MapForkEvent() local
/system/core/toolbox/
Dps.c44 static int ps_line(int pid, int tid) in ps_line()
206 static void print_exe_abi(int pid) in print_exe_abi()
240 void ps_threads(int pid) in ps_threads()
324 int pid = atoi(de->d_name); in ps_main() local
/system/core/libmemtrack/
Dmemtrack_test.c28 static int getprocname(pid_t pid, char *buf, int len) { in getprocname()
111 pid_t pid = pids[i]; in main() local
/system/core/crash_reporter/
Duser_collector.cc178 void UserCollector::EnqueueCollectionErrorLog(pid_t pid, in EnqueueCollectionErrorLog()
214 bool UserCollector::CopyOffProcFiles(pid_t pid, in CopyOffProcFiles()
304 bool UserCollector::GetCreatedCrashDirectory(pid_t pid, uid_t supplied_ruid, in GetCreatedCrashDirectory()
402 pid_t pid, in ConvertCoreToMinidump()
483 pid_t pid, const std::string &exec, uid_t supplied_ruid, in ConvertAndEnqueueCrash()
558 pid_t *pid, int *signal, uid_t *uid, in ParseCrashAttributes()
600 pid_t pid = 0; in HandleCrash() local
/system/core/liblog/tests/
Dlibc_test.cpp37 pid_t pid = getpid(); in TEST() local
97 pid_t pid = getpid(); in TEST() local
/system/extras/tests/cpueater/
Dcpueater.c30 pid_t pid; in main() local
/system/core/logd/
DLogBuffer.h133 const char *pidToName(pid_t pid) { return stats.pidToName(pid); } in pidToName()
134 uid_t pidToUid(pid_t pid) { return stats.pidToUid(pid); } in pidToUid()
/system/extras/simpleperf/runtest/
Dfunction_fork.cpp16 pid_t pid = fork(); in main() local

123456