/system/core/libunwindstack/tests/ |
D | TestUtils.h | 30 TestScopedPidReaper(pid_t pid) : pid_(pid) {} in TestScopedPidReaper() 40 inline bool TestQuiescePid(pid_t pid) { in TestQuiescePid() 54 inline bool TestAttach(pid_t pid) { in TestAttach() 62 inline bool TestDetach(pid_t pid) { in TestDetach()
|
D | MemoryRemoteTest.cpp | 44 pid_t pid; in TEST() local 72 pid_t pid; in TEST() local 102 pid_t pid; in TEST() local 147 pid_t pid; in TEST() local 178 pid_t pid; in TEST() local 199 pid_t pid; in TEST() local 226 pid_t pid; in TEST() local 261 pid_t pid; in TEST() local 299 pid_t pid; in TEST() local
|
/system/core/libbacktrace/ |
D | backtrace_read_benchmarks.cpp | 39 static void Attach(pid_t pid) { in Attach() 59 ScopedPidReaper(pid_t pid) : pid_(pid) {} in ScopedPidReaper() 69 static size_t ProcessVmRead(pid_t pid, uint64_t remote_src, void* dst, size_t len) { in ProcessVmRead() 82 static bool PtraceReadLong(pid_t pid, uint64_t addr, long* value) { in PtraceReadLong() 93 static size_t PtraceRead(pid_t pid, uint64_t addr, void* dst, size_t bytes) { in PtraceRead() 117 static void CreateRemoteProcess(size_t size, void** map, pid_t* pid) { in CreateRemoteProcess() 141 pid_t pid; in BM_read_with_ptrace() local 159 pid_t pid; in BM_read_with_process_vm_read() local 177 pid_t pid; in BM_read_with_backtrace_object() local
|
D | UnwindMap.cpp | 36 UnwindMap::UnwindMap(pid_t pid) : BacktraceMap(pid) { in UnwindMap() 40 UnwindMapRemote::UnwindMapRemote(pid_t pid) : UnwindMap(pid) { in UnwindMapRemote()
|
/system/memory/libmeminfo/libdmabufinfo/tools/ |
D | dmabuf_dump.cpp | 49 static std::string GetProcessComm(const pid_t pid) { in GetProcessComm() 73 for (auto pid : pid_set) { in PrintDmaBufTable() local 89 for (pid_t pid : pid_set) { in PrintDmaBufTable() local 119 for (auto pid : pid_set) { in PrintDmaBufTable() local 138 for (auto pid : buf.pids()) { in PrintDmaBufPerProcess() local 197 int pid = atoi(dent->d_name); in ReadDmaBufs() local 231 pid_t pid = -1; in main() local
|
/system/core/libunwindstack/tools/ |
D | unwind.cpp | 37 static bool Attach(pid_t pid) { in Attach() 59 void DoUnwind(pid_t pid) { in DoUnwind() 113 pid_t pid = atoi(argv[1]); in main() local
|
/system/core/libunwindstack/ |
D | MemoryRemote.h | 31 MemoryRemote(pid_t pid) : pid_(pid), read_redirect_func_(0) {} in MemoryRemote() 37 pid_t pid() { return pid_; } in pid() function
|
/system/core/logd/ |
D | LogReaderThread.cpp | 30 unsigned long tail, LogMask log_mask, pid_t pid, in LogReaderThread() 72 [this](log_id_t log_id, pid_t pid, uint64_t sequence, log_time realtime) { in ThreadFunction() 78 [this](log_id_t log_id, pid_t pid, uint64_t sequence, log_time realtime) { in ThreadFunction() 120 FilterResult LogReaderThread::FilterFirstPass(log_id_t, pid_t pid, uint64_t, log_time realtime) { in FilterFirstPass() 131 FilterResult LogReaderThread::FilterSecondPass(log_id_t log_id, pid_t pid, uint64_t, in FilterSecondPass()
|
D | PruneList.h | 31 Prune(uid_t uid, pid_t pid) : uid_(uid), pid_(pid) {} in Prune() 37 pid_t pid() const { return pid_; } in pid() function
|
D | RecordingLogBuffer.cpp | 26 void RecordingLogBuffer::RecordLogMessage(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, in RecordLogMessage() 58 int RecordingLogBuffer::Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, in Log()
|
/system/core/init/ |
D | lmkd_service.cpp | 37 static LmkdRegistrationResult RegisterProcess(uid_t uid, pid_t pid, int oom_score_adjust) { in RegisterProcess() 62 static bool UnregisterProcess(pid_t pid) { in UnregisterProcess() 98 void LmkdRegister(const std::string& name, uid_t uid, pid_t pid, int oom_score_adjust) { in LmkdRegister() 124 void LmkdUnregister(const std::string& name, pid_t pid) { in LmkdUnregister()
|
D | first_stage_console.cpp | 35 pid_t pid = fork(); in RunScript() local 56 pid_t pid = fork(); in StartConsole() local
|
D | sigchld_handler.cpp | 54 auto pid = siginfo.si_pid; in ReapOneProcess() local 118 pid_t pid; in WaitToBeReaped() local
|
/system/memory/lmkd/ |
D | statslog.cpp | 40 int pid; member 63 static struct proc* pid_lookup(int pid) { in pid_lookup() 101 int stats_write_lmk_kill_occurred_pid(int32_t uid, int pid, int32_t oom_score, in stats_write_lmk_kill_occurred_pid() 133 static int memory_stat_from_cgroup(struct memory_stat* mem_st, int pid, uid_t uid) { in memory_stat_from_cgroup() 153 static int memory_stat_from_procfs(struct memory_stat* mem_st, int pid) { in memory_stat_from_procfs() 190 struct memory_stat *stats_read_memory_stat(bool per_app_memcg, int pid, uid_t uid) { in stats_read_memory_stat() 220 void stats_remove_taskname(int pid) { in stats_remove_taskname() 244 void stats_store_taskname(int pid, const char* taskname) { in stats_store_taskname()
|
/system/core/liblog/ |
D | logger_read.cpp | 41 log_time start, pid_t pid) { in android_logger_list_alloc_internal() 55 struct logger_list* android_logger_list_alloc(int mode, unsigned int tail, pid_t pid) { in android_logger_list_alloc() 59 struct logger_list* android_logger_list_alloc_time(int mode, log_time start, pid_t pid) { in android_logger_list_alloc_time() 78 pid_t pid) { in android_logger_list_open()
|
/system/memory/libmemtrack/ |
D | memtrack_test.cpp | 32 static void getprocname(pid_t pid, std::string* name) { in getprocname() 56 pid_t pid; in main() local 63 for (auto& pid : pids) { in main() local
|
/system/core/debuggerd/libdebuggerd/ |
D | backtrace.cpp | 44 static void dump_process_header(log_t* log, pid_t pid, const char* process_name) { in dump_process_header() 53 static void dump_process_footer(log_t* log, pid_t pid) { in dump_process_footer() 104 pid_t pid = getpid(); in dump_backtrace_header() local
|
/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/extras/pssbench/ |
D | main.cpp | 15 get_pss(int pid) in get_pss() 80 int pid = atoi(argv[optind]); in main() local
|
/system/memory/libmeminfo/libdmabufinfo/ |
D | dmabufinfo.cpp | 46 static bool ReadDmaBufFdInfo(pid_t pid, int fd, std::string* name, std::string* exporter, in ReadDmaBufFdInfo() 99 static bool ReadDmaBufFdRefs(pid_t pid, std::vector<DmaBuffer>* dmabufs) { in ReadDmaBufFdRefs() 167 static bool ReadDmaBufMapRefs(pid_t pid, std::vector<DmaBuffer>* dmabufs) { in ReadDmaBufMapRefs() 245 bool ReadDmaBufInfo(pid_t pid, std::vector<DmaBuffer>* dmabufs, bool read_fdrefs) { in ReadDmaBufInfo() 250 bool AppendDmaBufInfo(pid_t pid, std::vector<DmaBuffer>* dmabufs, bool read_fdrefs) { in AppendDmaBufInfo()
|
D | dmabufinfo_test.cpp | 65 pid_t pid() const { return child_pid; } in pid() function in fd_sharer 260 void readAndCheckDmaBuffer(std::vector<DmaBuffer>* dmabufs, pid_t pid, const std::string name, in readAndCheckDmaBuffer() 273 bool checkPidRef(DmaBuffer& dmabuf, pid_t pid, int expectFdrefs) { in checkPidRef() 322 pid_t pid = getpid(); in TEST_F() local 346 pid_t pid = getpid(); in TEST_F() local 388 pid_t pid = getpid(); in TEST_F() local 431 pid_t pid = getpid(); in TEST_F() local 461 pid_t pid = getpid(); in TEST_F() local
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_servers.cpp | 53 pid_t pid; in run() local 66 static void killServer(pid_t pid, const char *serverName) { in killServer()
|
/system/core/libprocessgroup/ |
D | processgroup.cpp | 118 bool SetProcessProfiles(uid_t uid, pid_t pid, const std::vector<std::string>& profiles) { in SetProcessProfiles() 130 static std::string ConvertUidPidToPath(const char* cgroup, uid_t uid, int pid) { in ConvertUidPidToPath() 134 static int RemoveProcessGroup(const char* cgroup, uid_t uid, int pid) { in RemoveProcessGroup() 251 pid_t pid; in DoKillProcessGroupOnce() local 291 for (const auto pid : pids) { in DoKillProcessGroupOnce() local 430 bool setProcessGroupSwappiness(uid_t, int pid, int swappiness) { in setProcessGroupSwappiness() 434 bool setProcessGroupSoftLimit(uid_t, int pid, int64_t soft_limit_in_bytes) { in setProcessGroupSoftLimit() 438 bool setProcessGroupLimit(uid_t, int pid, int64_t limit_in_bytes) { in setProcessGroupLimit()
|
/system/core/adb/libs/adbconnection/include/adbconnection/ |
D | client.h | 29 pid, enumerator 38 uint64_t pid; member
|
/system/core/debuggerd/client/ |
D | debuggerd_client.cpp | 53 static bool send_signal(pid_t pid, const DebuggerdDumpType dump_type) { in send_signal() 77 static std::string get_wchan_data(pid_t pid) { in get_wchan_data() 108 static void dump_wchan_data(const std::string& data, int fd, pid_t pid) { in dump_wchan_data() 116 pid_t pid = tid; in debuggerd_trigger_dump() local
|