Home
last modified time | relevance | path

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

12345678910

/system/core/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/core/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/memory/libmeminfo/libdmabufinfo/tools/
Ddmabuf_dump.cpp49 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/
Dunwind.cpp37 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/
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/logd/
DLogReaderThread.cpp30 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()
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/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()
Dfirst_stage_console.cpp35 pid_t pid = fork(); in RunScript() local
56 pid_t pid = fork(); in StartConsole() local
Dsigchld_handler.cpp54 auto pid = siginfo.si_pid; in ReapOneProcess() local
118 pid_t pid; in WaitToBeReaped() local
/system/memory/lmkd/
Dstatslog.cpp40 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/
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/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/core/debuggerd/libdebuggerd/
Dbacktrace.cpp44 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/
Dtasklist.cpp40 pid_t pid = atoi(entry->d_name); in ScanPidsInDir() local
62 return ScanPidsInDir(filename, [&pid_list](pid_t 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/memory/libmeminfo/libdmabufinfo/
Ddmabufinfo.cpp46 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()
Ddmabufinfo_test.cpp65 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/
Dhidl_test_servers.cpp53 pid_t pid; in run() local
66 static void killServer(pid_t pid, const char *serverName) { in killServer()
/system/core/libprocessgroup/
Dprocessgroup.cpp118 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/
Dclient.h29 pid, enumerator
38 uint64_t pid; member
/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