Home
last modified time | relevance | path

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

1234567891011

/system/unwinding/libunwindstack/utils/
DPidUtils.cpp30 static bool Exited(pid_t pid) { in Exited()
47 bool Quiesce(pid_t pid) { in Quiesce()
74 bool Attach(pid_t pid) { in Attach()
97 bool Detach(pid_t pid) { in Detach()
107 bool WaitForPidState(pid_t pid, const std::function<PidRunEnum()>& state_check_func) { in WaitForPidState()
131 bool WaitForPidStateAfterAttach(pid_t pid, const std::function<PidRunEnum()>& state_check_func) { in WaitForPidStateAfterAttach()
DProcessTracer.cpp50 ProcessTracer::ProcessTracer(pid_t pid, bool is_tracing_threads) in ProcessTracer()
180 bool ProcessTracer::UsesSharedLibrary(pid_t pid, const std::string& desired_elf_name) { in UsesSharedLibrary()
192 bool ProcessTracer::ProcIsInDesiredElf(pid_t pid, const std::string& desired_elf_name) { in ProcIsInDesiredElf()
/system/unwinding/libunwindstack/include/unwindstack/
DAndroidUnwinder.h60 AndroidUnwinder(pid_t pid) : pid_(pid) {} in AndroidUnwinder()
61 AndroidUnwinder(pid_t pid, std::shared_ptr<Memory>& memory) in AndroidUnwinder()
63 AndroidUnwinder(pid_t pid, ArchEnum arch) : pid_(pid), arch_(arch) {} in AndroidUnwinder()
64 AndroidUnwinder(pid_t pid, const std::vector<std::string> initial_map_names_to_skip) in AndroidUnwinder()
66 AndroidUnwinder(pid_t pid, const std::vector<std::string> initial_map_names_to_skip, in AndroidUnwinder()
145 AndroidRemoteUnwinder(pid_t pid) : AndroidUnwinder(pid) {} in AndroidRemoteUnwinder()
146 AndroidRemoteUnwinder(pid_t pid, std::shared_ptr<Memory>& process_memory) in AndroidRemoteUnwinder()
148 AndroidRemoteUnwinder(pid_t pid, ArchEnum arch) : AndroidUnwinder(pid, arch) {} in AndroidRemoteUnwinder()
149 AndroidRemoteUnwinder(pid_t pid, const std::vector<std::string> initial_map_names_to_skip) in AndroidRemoteUnwinder()
151 AndroidRemoteUnwinder(pid_t pid, const std::vector<std::string> initial_map_names_to_skip, in AndroidRemoteUnwinder()
/system/logging/logcat/
Dprocess_names.cpp21 const std::string ProcessNames::ReadCmdline(uint64_t pid) { in ReadCmdline()
36 const std::string ProcessNames::ReadComm(uint64_t pid) { in ReadComm()
46 const std::string ProcessNames::Resolve(uint64_t pid) { in Resolve()
67 std::string ProcessNames::Get(uint64_t pid) { in Get()
/system/memory/libmeminfo/libdmabufinfo/tools/
Ddmabuf_dump.cpp60 static std::string GetProcessComm(const pid_t pid) { in GetProcessComm()
85 for (auto pid : pid_set) { in PrintDmaBufTable() local
100 for (pid_t pid : pid_set) { in PrintDmaBufTable() local
128 for (auto pid : pid_set) { in PrintDmaBufTable() local
150 for (auto pid : buf.pids()) { in PrintDmaBufPerProcess() local
266 pid_t pid = -1; in main() local
/system/unwinding/libunwindstack/tools/
Dunwind.cpp32 static bool Attach(pid_t pid) { in Attach()
54 void DoUnwind(pid_t pid) { in DoUnwind()
104 pid_t pid = atoi(argv[1]); in main() local
/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()
Dsigchld_handler.cpp58 const pid_t pid = siginfo.si_pid; in ReapOneProcess() local
124 const pid_t pid = ReapOneProcess(); in ReapAnyOutstandingChildren() local
133 for (auto pid : ReapAnyOutstandingChildren()) { in ReapAndRemove() local
187 for (pid_t pid : alive_pids) { in WaitToBeReaped() local
/system/memory/lmkd/
Dstatslog.cpp51 int pid; member
60 static struct proc* pid_lookup(int pid) { in pid_lookup()
93 static int memory_stat_from_cgroup(struct memory_stat* mem_st, int pid, uid_t uid __unused) { in memory_stat_from_cgroup()
115 static int memory_stat_from_procfs(struct memory_stat* mem_st, int pid) { in memory_stat_from_procfs()
150 struct memory_stat *stats_read_memory_stat(bool per_app_memcg, int pid, uid_t uid, in stats_read_memory_stat()
181 void stats_remove_taskname(int pid) { in stats_remove_taskname()
205 void stats_store_taskname(int pid, const char* taskname) { in stats_store_taskname()
243 const char* stats_get_task_name(int pid) { in stats_get_task_name()
/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/unwinding/libunwindstack/
DMemoryRemote.h30 MemoryRemote(pid_t pid) : pid_(pid), read_redirect_func_(0) {} in MemoryRemote()
36 pid_t pid() { return pid_; } in pid() function
/system/chre/host/hal_generic/common/
Dhal_client_manager.cc107 Client *HalClientManager::getClientByProcessId(pid_t pid) { in getClientByProcessId()
132 const std::string &uuid, pid_t pid, in createClient()
148 HalClientId HalClientManager::getClientId(pid_t pid) { in getClientId()
170 pid_t pid, const std::shared_ptr<IContextHubCallback> &callback, in registerCallback()
214 void HalClientManager::handleClientDeath(pid_t pid) { in handleClientDeath()
240 pid_t pid, std::unique_ptr<chre::FragmentedLoadTransaction> transaction) { in registerPendingLoadTransaction()
279 bool HalClientManager::registerPendingUnloadTransaction(pid_t pid, in registerPendingUnloadTransaction()
345 bool HalClientManager::registerEndpointId(pid_t pid, in registerEndpointId()
372 bool HalClientManager::removeEndpointId(pid_t pid, in removeEndpointId()
439 HalClientManager::getAllConnectedEndpoints(pid_t pid) { in getAllConnectedEndpoints()
[all …]
/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/memory/libmeminfo/libdmabufinfo/tools/include/
Ddmabuf_output_helper.h39 virtual void BufTableTotalProcessHeader([[maybe_unused]] const pid_t pid, in BufTableTotalProcessHeader()
69 void BufTableProcessHeader(const pid_t pid, const std::string& process) override { in BufTableProcessHeader()
86 void BufTableTotalProcessHeader(const pid_t pid, const std::string& process) override { in BufTableTotalProcessHeader()
99 void PerProcessHeader(const std::string& process, const pid_t pid) override { in PerProcessHeader()
161 void BufTableProcessHeader(const pid_t pid, const std::string& process) override { in BufTableProcessHeader()
186 void PerProcessHeader(const std::string& process, const pid_t pid) override { in PerProcessHeader()
/system/logging/logd/
DLogReaderThread.cpp31 unsigned long tail, LogMask log_mask, pid_t pid, in LogReaderThread()
113 FilterResult LogReaderThread::FilterFirstPass(log_id_t, pid_t pid, uint64_t, log_time realtime) { in FilterFirstPass()
122 FilterResult LogReaderThread::FilterSecondPass(log_id_t log_id, pid_t pid, uint64_t, in FilterSecondPass()
DLogdNativeService.cpp22 android::binder::Status LogdNativeService::approve(int32_t uid, int32_t gid, int32_t pid, in approve()
28 android::binder::Status LogdNativeService::decline(int32_t uid, int32_t gid, int32_t pid, in decline()
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
/system/core/libprocessgroup/
Dprocessgroup.cpp158 bool CgroupGetAttributePathForProcess(std::string_view attr_name, uid_t uid, pid_t pid, in CgroupGetAttributePathForProcess()
191 bool SetProcessProfiles(uid_t uid, pid_t pid, const std::vector<std::string>& profiles) { in SetProcessProfiles()
196 bool SetProcessProfiles(uid_t uid, pid_t pid, std::initializer_list<std::string_view> profiles) { in SetProcessProfiles()
201 bool SetProcessProfiles(uid_t uid, pid_t pid, std::span<const std::string_view> profiles) { in SetProcessProfiles()
205 bool SetProcessProfilesCached(uid_t uid, pid_t pid, const std::vector<std::string>& profiles) { in SetProcessProfilesCached()
230 extern "C" bool android_set_process_profiles(uid_t uid, pid_t pid, size_t num_profiles, in android_set_process_profiles()
245 static int RemoveCgroup(const char* cgroup, uid_t uid, pid_t pid, bool v2_path) { in RemoveCgroup()
429 pid_t pid; in sendSignalToProcessGroup() local
474 for (const auto pid : pids) { in sendSignalToProcessGroup() local
755 bool setProcessGroupSwappiness(uid_t, pid_t pid, int swappiness) { in setProcessGroupSwappiness()
[all …]
/system/memory/libmeminfo/tools/
Dprocrank.cpp144 for (pid_t pid : pids) { in main() local
161 pid_t pid = frontier.back(); in main() local
180 for (pid_t pid : pids) { in main() local
/system/core/debuggerd/
Dutil.cpp30 std::vector<std::string> get_command_line(pid_t pid) { in get_command_line()
50 std::string get_process_name(pid_t pid) { in get_process_name()
79 bool iterate_tids(pid_t pid, std::function<void(pid_t)> callback) { in iterate_tids()
/system/core/debuggerd/libdebuggerd/
Dbacktrace.cpp47 static void dump_process_header(log_t* log, pid_t pid, in dump_process_header()
57 static void dump_process_footer(log_t* log, pid_t pid) { in dump_process_footer()
108 pid_t pid = getpid(); in dump_backtrace_header() local
/system/vold/
DProcess.cpp106 pid_t pid; in KillProcessesWithTmpfsMounts() local
130 for (const auto& pid : pids) { in KillProcessesWithTmpfsMounts() local
152 pid_t pid; in KillProcessesWithOpenFiles() local
186 for (const auto& pid : pids) { in KillProcessesWithOpenFiles() local
/system/unwinding/libunwindstack/benchmarks/
Dremote_unwind_benchmarks.cpp37 static bool WaitForRemote(pid_t pid, volatile bool* ready_ptr) { in WaitForRemote()
78 pid_t pid; in StartRemoteRun() local
97 pid_t pid = StartRemoteRun(); in RemoteUnwind() local
137 pid_t pid = StartRemoteRun(); in RemoteAndroidUnwind() local
/system/logging/logd/binder/android/os/
DILogd.aidl30 void approve(in int uid, in int gid, in int pid, in int fd); in approve()
41 void decline(in int uid, in int gid, in int pid, in int fd); in decline()
/system/memory/libmeminfo/libdmabufinfo/
Ddmabufinfo.cpp53 static FdInfoResult ReadDmaBufFdInfo(pid_t pid, int fd, std::string* name, std::string* exporter, in ReadDmaBufFdInfo()
108 bool ReadDmaBufFdRefs(int pid, std::vector<DmaBuffer>* dmabufs, in ReadDmaBufFdRefs()
200 bool ReadDmaBufMapRefs(pid_t pid, std::vector<DmaBuffer>* dmabufs, in ReadDmaBufMapRefs()
258 bool ReadDmaBufInfo(pid_t pid, std::vector<DmaBuffer>* dmabufs, bool read_fdrefs, in ReadDmaBufInfo()
290 int pid = atoi(dent->d_name); in ReadProcfsDmaBufs() local

1234567891011