| /system/unwinding/libunwindstack/utils/ | 
| D | PidUtils.cpp | 30 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() 105 bool RunWhenQuiesced(pid_t pid, bool leave_attached, std::function<PidRunEnum()> fn) {  in RunWhenQuiesced()
  | 
| D | ProcessTracer.cpp | 50 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/ | 
| D | AndroidUnwinder.h | 60   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/unwinding/libunwindstack/tools/ | 
| D | unwind.cpp | 37 static bool Attach(pid_t pid) {  in Attach() 59 void DoUnwind(pid_t pid) {  in DoUnwind() 111   pid_t pid = atoi(argv[1]);  in main()  local
  | 
| /system/unwinding/libunwindstack/ | 
| D | MemoryRemote.h | 30   MemoryRemote(pid_t pid) : pid_(pid), read_redirect_func_(0) {}  in MemoryRemote() 36   pid_t pid() { return pid_; }  in pid()  function
  | 
| /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 140         for (auto pid : buf.pids()) {  in PrintDmaBufPerProcess()  local 242     pid_t pid = -1;  in main()  local
  | 
| /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 | sigchld_handler.cpp | 56     const pid_t pid = siginfo.si_pid;  in ReapOneProcess()  local 128         pid_t pid;  in WaitToBeReaped()  local 142     for (pid_t pid : pids) {  in WaitToBeReaped()  local
  | 
| /system/unwinding/libunwindstack/tests/ | 
| D | MemoryRemoteTest.cpp | 45   pid_t pid;  in TEST()  local 73   pid_t pid;  in TEST()  local 103   pid_t pid;  in TEST()  local 148   pid_t pid;  in TEST()  local 179   pid_t pid;  in TEST()  local 200   pid_t pid;  in TEST()  local 227   pid_t pid;  in TEST()  local 262   pid_t pid;  in TEST()  local 300   pid_t pid;  in TEST()  local
  | 
| /system/chre/host/hal_generic/common/ | 
| D | hal_client_manager.cc | 69   pid_t pid = AIBinder_getCallingPid();  in getClientId()  local 92   pid_t pid = AIBinder_getCallingPid();  in registerCallback()  local 128     pid_t pid, const std::shared_ptr<IContextHubCallback> &callback,  in overrideCallbackLocked() 147     pid_t pid, const ndk::ScopedAIBinder_DeathRecipient &deathRecipient) {  in handleClientDeath() 195   pid_t pid = AIBinder_getCallingPid();  in registerPendingLoadTransaction()  local 232   pid_t pid = AIBinder_getCallingPid();  in registerPendingUnloadTransaction()  local 297   pid_t pid = AIBinder_getCallingPid();  in registerEndpointId()  local 324   pid_t pid = AIBinder_getCallingPid();  in removeEndpointId()  local 374     *HalClientManager::getAllConnectedEndpoints(pid_t pid) {  in getAllConnectedEndpoints() 389     const pid_t &pid, HostEndpointId &endpointId) {  in mutateEndpointIdFromHostIfNeeded()
  | 
| /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 | 50     int pid;  member 59 static struct proc* pid_lookup(int pid) {  in pid_lookup() 92 static int memory_stat_from_cgroup(struct memory_stat* mem_st, int pid, uid_t uid __unused) {  in memory_stat_from_cgroup() 114 static int memory_stat_from_procfs(struct memory_stat* mem_st, int pid) {  in memory_stat_from_procfs() 149 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/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/logging/logd/ | 
| D | LogReaderThread.cpp | 31                                  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()
  | 
| D | LogdNativeService.cpp | 22 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()
  | 
| 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
  | 
| /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/memory/libmeminfo/tools/ | 
| D | procrank.cpp | 144         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/logging/logd/binder/android/os/ | 
| D | ILogd.aidl | 30     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/core/debuggerd/ | 
| D | util.cpp | 30 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/ | 
| D | backtrace.cpp | 47 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/core/libprocessgroup/ | 
| D | processgroup.cpp | 155 bool SetProcessProfiles(uid_t uid, pid_t pid, const std::vector<std::string>& profiles) {  in SetProcessProfiles() 160 bool SetProcessProfiles(uid_t uid, pid_t pid, std::initializer_list<std::string_view> profiles) {  in SetProcessProfiles() 165 bool SetProcessProfiles(uid_t uid, pid_t pid, std::span<const std::string_view> profiles) {  in SetProcessProfiles() 169 bool SetProcessProfilesCached(uid_t uid, pid_t pid, const std::vector<std::string>& profiles) {  in SetProcessProfilesCached() 193 extern "C" bool android_set_process_profiles(uid_t uid, pid_t pid, size_t num_profiles,  in android_set_process_profiles() 212 static std::string ConvertUidPidToPath(const char* cgroup, uid_t uid, int pid) {  in ConvertUidPidToPath() 216 static int RemoveProcessGroup(const char* cgroup, uid_t uid, int pid, unsigned int retries) {  in RemoveProcessGroup() 396         pid_t pid;  in DoKillProcessGroupOnce()  local 440     for (const auto pid : pids) {  in DoKillProcessGroupOnce()  local 645 bool setProcessGroupSwappiness(uid_t, int pid, int swappiness) {  in setProcessGroupSwappiness() [all …] 
 | 
| /system/unwinding/libunwindstack/benchmarks/ | 
| D | remote_unwind_benchmarks.cpp | 37 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/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
  |