Home
last modified time | relevance | path

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

12345678910

/system/unwinding/libunwindstack/tests/
DTestUtils.h30 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()
DMemoryRemoteTest.cpp44 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/
Dbacktrace_read_benchmarks.cpp39 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
DUnwindMap.cpp36 UnwindMap::UnwindMap(pid_t pid) : BacktraceMap(pid) { in UnwindMap()
40 UnwindMapRemote::UnwindMapRemote(pid_t pid) : UnwindMap(pid) { in UnwindMapRemote()
/system/unwinding/libunwindstack/tools/
Dunwind.cpp37 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/
Ddmabuf_dump.cpp52 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/
DMemoryRemote.h31 MemoryRemote(pid_t pid) : pid_(pid), read_redirect_func_(0) {} in MemoryRemote()
37 pid_t pid() { return pid_; } in pid() function
/system/core/init/
Dlmkd_service.cpp37 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()
Dsnapuserd_transition.cpp76 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()
Dsigchld_handler.cpp54 auto pid = siginfo.si_pid; in ReapOneProcess() local
118 pid_t pid; in WaitToBeReaped() local
/system/logging/liblog/
Dlogger_read.cpp41 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/
Dstatslog.cpp46 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/
Dmemtrack_test.cpp32 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/
DProcess.cpp99 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/
Dbacktrace.cpp46 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/
DLogReaderThread.cpp31 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()
DPruneList.h31 Prune(uid_t uid, pid_t pid) : uid_(uid), pid_(pid) {} in Prune()
37 pid_t pid() const { return pid_; } in pid() function
DRecordingLogBuffer.cpp26 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/
Dtasklist.cpp40 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/
Dmain.cpp15 get_pss(int pid) in get_pss()
80 int pid = atoi(argv[optind]); in main() local
/system/unwinding/libunwindstack/benchmarks/
Dremote_unwind_benchmarks.cpp35 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/
Dhidl_test_servers.cpp53 pid_t pid; in run() local
66 static void killServer(pid_t pid, const char *serverName) { in killServer()
/system/core/debuggerd/tombstoned/
Dtombstoned_client.cpp35 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/
Dutil.cpp29 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/
Ddebuggerd_client.cpp53 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

12345678910