/system/core/libunwindstack/tools/ |
D | unwind.cpp | 37 static bool Attach(pid_t pid) { in Attach() 54 static bool Detach(pid_t pid) { in Detach() 58 void DoUnwind(pid_t pid) { in DoUnwind() 151 pid_t pid = atoi(argv[1]); in main() local
|
/system/vold/ |
D | Process.cpp | 73 void Process::getProcessName(int pid, std::string& out_name) { 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/core/libunwindstack/tests/ |
D | MemoryRemoteTest.cpp | 48 static bool Attach(pid_t pid) { in Attach() 65 static bool Detach(pid_t pid) { in Detach() 76 pid_t pid; in TEST_F() local 108 pid_t pid; in TEST_F() local 149 pid_t pid; in TEST_F() local
|
/system/core/libprocessgroup/ |
D | processgroup.cpp | 112 static int convertUidPidToPath(char *path, size_t size, uid_t uid, int pid) in convertUidPidToPath() 122 bool ProcessGroup::Open(uid_t uid, int pid) { in Open() 169 long pid = strtol(buf_ptr_, &pid_eptr, 10); in GetOneAppProcess() local 185 static int removeProcessGroup(uid_t uid, int pid) in removeProcessGroup() 266 pid_t pid; in doKillProcessGroupOnce() local 306 for (const auto pid : pids) { in doKillProcessGroupOnce() local 417 static bool setProcessGroupValue(uid_t uid, int pid, const char* fileName, int64_t value) { in setProcessGroupValue() 434 bool setProcessGroupSwappiness(uid_t uid, int pid, int swappiness) { in setProcessGroupSwappiness() 438 bool setProcessGroupSoftLimit(uid_t uid, int pid, int64_t soft_limit_in_bytes) { in setProcessGroupSoftLimit() 442 bool setProcessGroupLimit(uid_t uid, int pid, int64_t limit_in_bytes) { in setProcessGroupLimit()
|
/system/core/libunwindstack/ |
D | MapInfo.cpp | 30 Memory* MapInfo::CreateMemory(pid_t pid) { in CreateMemory() 78 Elf* MapInfo::GetElf(pid_t pid, bool init_gnu_debugdata) { in GetElf()
|
/system/core/debuggerd/libdebuggerd/ |
D | backtrace.cpp | 41 static void dump_process_header(log_t* log, pid_t pid, const char* process_name) { in dump_process_header() 55 static void dump_process_footer(log_t* log, pid_t pid) { in dump_process_footer() 63 static void dump_thread(log_t* log, BacktraceMap* map, pid_t pid, pid_t tid, in dump_thread() 76 void dump_backtrace(int fd, BacktraceMap* map, pid_t pid, pid_t tid, const std::string& process_nam… in dump_backtrace() 97 pid_t pid = getpid(); in dump_backtrace_ucontext() local
|
D | tombstone.cpp | 272 static void dump_thread_info(log_t* log, pid_t pid, pid_t tid, const char* process_name, in dump_thread_info() 500 static void dump_thread(log_t* log, pid_t pid, pid_t tid, const std::string& process_name, in dump_thread() 538 log_t* log, pid_t pid, const char* filename, unsigned int tail) { in dump_log_file() 656 static void dump_logs(log_t* log, pid_t pid, unsigned int tail) { in dump_logs() 662 static void dump_crash(log_t* log, BacktraceMap* map, const OpenFilesList* open_files, pid_t pid, in dump_crash() 751 pid_t pid, pid_t tid, const std::string& process_name, in engrave_tombstone() 764 pid_t pid = getpid(); in engrave_tombstone_ucontext() local
|
/system/core/libbacktrace/ |
D | UnwindMap.cpp | 36 UnwindMap::UnwindMap(pid_t pid) : BacktraceMap(pid) { in UnwindMap() 40 UnwindMapRemote::UnwindMapRemote(pid_t pid) : UnwindMap(pid) { in UnwindMapRemote() 153 BacktraceMap* BacktraceMap::Create(pid_t pid, bool uncached) { in Create()
|
D | BacktraceMap.cpp | 32 BacktraceMap::BacktraceMap(pid_t pid) : pid_(pid) { in BacktraceMap() 139 BacktraceMap* BacktraceMap::Create(pid_t pid, bool /*uncached*/) { 149 BacktraceMap* BacktraceMap::Create(pid_t pid, const std::vector<backtrace_map_t>& maps) {
|
D | ThreadEntry.cpp | 33 ThreadEntry::ThreadEntry(pid_t pid, pid_t tid) in ThreadEntry() 49 ThreadEntry* ThreadEntry::Get(pid_t pid, pid_t tid, bool create) { in Get()
|
D | Backtrace.cpp | 42 Backtrace::Backtrace(pid_t pid, pid_t tid, BacktraceMap* map) in Backtrace() 126 Backtrace* Backtrace::Create(pid_t pid, pid_t tid, BacktraceMap* map) { in Create()
|
D | backtrace_test.cpp | 103 static void WaitForStop(pid_t pid) { in WaitForStop() 116 static void CreateRemoteProcess(pid_t* pid) { in CreateRemoteProcess() 130 static void FinishRemoteProcess(pid_t pid) { in FinishRemoteProcess() 307 static void VerifyProcTest(pid_t pid, pid_t tid, bool share_map, bool (*ReadyFunc)(Backtrace*), in VerifyProcTest() 347 pid_t pid; in TEST() local 360 pid_t pid; in TEST() local 374 pid_t pid; in TEST() local 401 pid_t pid; in TEST() local 419 static void GetThreads(pid_t pid, std::vector<pid_t>* threads) { in GetThreads() 437 pid_t pid; in TEST() local [all …]
|
D | BacktracePtrace.h | 29 BacktracePtrace(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {} in BacktracePtrace()
|
/system/netd/server/ |
D | ClatdController.cpp | 55 pid_t pid = getClatdPid(interface); in startClatd() local 120 pid_t pid = getClatdPid(interface); in stopClatd() local 140 pid_t pid = getClatdPid(interface); in isClatdStarted() local
|
/system/hwservicemanager/ |
D | HidlService.cpp | 17 pid_t pid) in HidlService() 27 void HidlService::setService(sp<IBase> service, pid_t pid) { in setService() 75 void HidlService::registerPassthroughClient(pid_t pid) { in registerPassthroughClient()
|
/system/extras/iotop/ |
D | tasklist.cpp | 40 pid_t pid = atoi(entry->d_name); in ScanPidsInDir() local 62 return ScanPidsInDir(filename, [&pid_list](pid_t pid) { in ScanPid()
|
/system/tools/hidl/test/ |
D | hidl_test_servers.cpp | 73 pid_t pid; in forkServer() local 86 static void killServer(pid_t pid, const char *serverName) { in killServer()
|
/system/extras/perfprofd/quipper/ |
D | perf_parser.cc | 309 const uint32_t pid, in MapCallchain() 353 bool PerfParser::MapBranchStack(const uint32_t pid, in MapBranchStack() 415 uint32_t pid, in MapIPAndPidAndGetNameAndOffset() 468 uint32_t pid, in MapMmapEvent() 538 uint32_t pid, uint32_t *ppid) { in GetOrCreateProcessMapper() 569 const uint32_t pid = event.pid; in MapForkEvent() local
|
/system/core/libunwindstack/include/unwindstack/ |
D | Memory.h | 104 MemoryRemote(pid_t pid) : pid_(pid) {} in MemoryRemote() 109 pid_t pid() { return pid_; } in pid() function
|
/system/core/libmemtrack/ |
D | memtrack_test.c | 28 static int getprocname(pid_t pid, char *buf, int len) { in getprocname() 105 pid_t pid = pids[i]; in main() local
|
D | memtrack.cpp | 42 pid_t pid; member 66 pid_t pid, MemtrackType type) in memtrack_proc_get_type() 100 int memtrack_proc_get(memtrack_proc *p, pid_t pid) in memtrack_proc_get()
|
/system/core/debuggerd/ |
D | signal_sender.cpp | 37 pid_t pid; member 151 bool send_signal(pid_t pid, pid_t tid, int signal) { in send_signal()
|
/system/extras/tests/cpueater/ |
D | cpueater.c | 30 pid_t pid; in main() local
|
/system/core/logd/ |
D | LogBufferInterface.cpp | 24 uid_t LogBufferInterface::pidToUid(pid_t pid) { in pidToUid()
|
/system/extras/simpleperf/ |
D | thread_tree.cpp | 48 void ThreadTree::SetThreadName(int pid, int tid, const std::string& comm) { in SetThreadName() 57 void ThreadTree::ForkThread(int pid, int tid, int ppid, int ptid) { in ForkThread() 67 ThreadEntry* ThreadTree::FindThreadOrNew(int pid, int tid) { in FindThreadOrNew() 82 ThreadEntry* ThreadTree::CreateThread(int pid, int tid) { in CreateThread() 129 void ThreadTree::AddThreadMap(int pid, int tid, uint64_t start_addr, in AddThreadMap()
|