/system/unwinding/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/unwinding/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/unwinding/libunwindstack/tools/ |
D | unwind.cpp | 37 static bool Attach(pid_t pid) { in Attach() 59 void DoUnwind(pid_t pid) { in DoUnwind() 108 pid_t pid = atoi(argv[1]); in main() local
|
/system/memory/libmeminfo/libdmabufinfo/tools/ |
D | dmabuf_dump.cpp | 52 static std::string GetProcessComm(const pid_t pid) { in GetProcessComm() 76 for (auto pid : pid_set) { in PrintDmaBufTable() local 92 for (pid_t pid : pid_set) { in PrintDmaBufTable() local 122 for (auto pid : pid_set) { in PrintDmaBufTable() local 141 for (auto pid : buf.pids()) { in PrintDmaBufPerProcess() local 200 int pid = atoi(dent->d_name); in ReadDmaBufs() local 274 pid_t pid = -1; in main() local
|
/system/unwinding/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/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 | snapuserd_transition.cpp | 76 pid_t pid = fork(); in LaunchFirstStageSnapuserd() local 101 int pid = 0; in GetSnapuserdFirstStagePid() local 239 pid_t pid = fork(); in RelaunchFirstStageSnapuserd() local 289 void KillFirstStageSnapuserd(pid_t pid) { in KillFirstStageSnapuserd()
|
D | sigchld_handler.cpp | 54 auto pid = siginfo.si_pid; in ReapOneProcess() local 118 pid_t pid; in WaitToBeReaped() local
|
/system/logging/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/lmkd/ |
D | statslog.cpp | 46 int pid; member 55 static struct proc* pid_lookup(int pid) { in pid_lookup() 88 static int memory_stat_from_cgroup(struct memory_stat* mem_st, int pid, uid_t uid) { in memory_stat_from_cgroup() 108 static int memory_stat_from_procfs(struct memory_stat* mem_st, int pid) { in memory_stat_from_procfs() 143 struct memory_stat *stats_read_memory_stat(bool per_app_memcg, int pid, uid_t uid, in stats_read_memory_stat() 175 void stats_remove_taskname(int pid) { in stats_remove_taskname() 199 void stats_store_taskname(int pid, const char* taskname) { in stats_store_taskname() 237 const char* stats_get_task_name(int pid) { in stats_get_task_name()
|
/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/vold/ |
D | Process.cpp | 99 pid_t pid; in KillProcessesWithTmpfsMounts() local 123 for (const auto& pid : pids) { in KillProcessesWithTmpfsMounts() local 144 pid_t pid; in KillProcessesWithOpenFiles() local 177 for (const auto& pid : pids) { in KillProcessesWithOpenFiles() local
|
/system/core/debuggerd/libdebuggerd/ |
D | backtrace.cpp | 46 static void dump_process_header(log_t* log, pid_t pid, in dump_process_header() 56 static void dump_process_footer(log_t* log, pid_t pid) { in dump_process_footer() 111 pid_t pid = getpid(); in dump_backtrace_header() local
|
/system/logging/logd/ |
D | LogReaderThread.cpp | 31 unsigned long tail, LogMask log_mask, pid_t pid, in LogReaderThread() 117 FilterResult LogReaderThread::FilterFirstPass(log_id_t, pid_t pid, uint64_t, log_time realtime) { in FilterFirstPass() 126 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/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) { pid_list.push_back(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/unwinding/libunwindstack/benchmarks/ |
D | remote_unwind_benchmarks.cpp | 35 static bool WaitForRemote(pid_t pid, volatile bool* ready_ptr) { in WaitForRemote() 87 pid_t pid; in StartRemoteRun() local 106 pid_t pid = StartRemoteRun(); in RemoteUnwind() 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/debuggerd/tombstoned/ |
D | tombstoned_client.cpp | 35 bool tombstoned_connect(pid_t pid, unique_fd* tombstoned_socket, unique_fd* text_output_fd, in tombstoned_connect() 40 bool tombstoned_connect(pid_t pid, unique_fd* tombstoned_socket, unique_fd* text_output_fd, in tombstoned_connect()
|
/system/core/debuggerd/ |
D | util.cpp | 29 std::vector<std::string> get_command_line(pid_t pid) { in get_command_line() 49 std::string get_process_name(pid_t pid) { in get_process_name()
|
/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
|