/system/extras/memtrack/ |
D | memtrack.cpp | 154 cur_[cmd_name_].pids.push_back(pid); in getInformation() 168 it->second.pids.clear(); in scan() 207 if (it->second.pids.size() > all_[it->first].max_num_pids) { in scan() 208 all_[it->first].max_num_pids = it->second.pids.size(); in scan() 211 all_[it->first].pids = it->second.pids; in scan() 248 if ((*it)->pids.size() > 0) { in dumpToLog() 250 for (std::vector<int>::const_iterator pid_it = (*it)->pids.begin(); in dumpToLog() 251 pid_it != (*it)->pids.end(); ++pid_it) { in dumpToLog()
|
D | memtrack.h | 63 std::vector<int> pids; member 70 std::vector<int> pids; member
|
/system/vold/ |
D | Process.cpp | 85 std::unordered_set<pid_t> pids; in KillProcessesWithOpenFiles() local 121 pids.insert(pid); in KillProcessesWithOpenFiles() 125 for (const auto& pid : pids) { in KillProcessesWithOpenFiles() 130 return pids.size(); in KillProcessesWithOpenFiles()
|
/system/core/init/ |
D | sigchld_handler.cpp | 114 void WaitToBeReaped(const std::vector<pid_t>& pids, std::chrono::milliseconds timeout) { in WaitToBeReaped() argument 116 std::vector<pid_t> alive_pids(pids.begin(), pids.end()); in WaitToBeReaped() 130 LOG(INFO) << "Waiting for " << pids.size() << " pids to be reaped took " << t << " with " in WaitToBeReaped()
|
D | subcontext_test.cpp | 60 auto pids = Split(result.error().message(), " "); in TEST() local 61 ASSERT_EQ(2U, pids.size()); in TEST() 63 EXPECT_NE(our_pid, pids[0]); in TEST() 64 EXPECT_EQ(our_pid, pids[1]); in TEST()
|
D | sigchld_handler.h | 28 void WaitToBeReaped(const std::vector<pid_t>& pids, std::chrono::milliseconds timeout);
|
D | reboot.cpp | 510 std::vector<pid_t> pids; in StopServices() local 511 pids.reserve(services.size()); in StopServices() 514 pids.push_back(s->pid()); in StopServices() 523 WaitToBeReaped(pids, timeout); in StopServices()
|
/system/memory/libmemtrack/ |
D | memtrack_test.cpp | 43 std::vector<pid_t> pids; in main() local 60 pids.emplace_back(pid); in main() 63 for (auto& pid : pids) { in main()
|
/system/memory/libmeminfo/libdmabufinfo/tools/ |
D | dmabuf_dump.cpp | 68 pid_set.insert(buf.pids().begin(), buf.pids().end()); in PrintDmaBufTable() 138 for (auto pid : buf.pids()) { in PrintDmaBufPerProcess() 164 proc_pss / 1024, buf.pids().size(), static_cast<uintmax_t>(buf.inode())); in PrintDmaBufPerProcess()
|
/system/core/libprocessgroup/ |
D | processgroup.cpp | 249 std::set<pid_t> pids; in DoKillProcessGroupOnce() local 266 pids.emplace(pid); in DoKillProcessGroupOnce() 271 for (auto it = pids.begin(); it != pids.end();) { in DoKillProcessGroupOnce() 274 it = pids.erase(it); in DoKillProcessGroupOnce() 291 for (const auto pid : pids) { in DoKillProcessGroupOnce()
|
/system/memory/libmeminfo/tools/ |
D | procrank.cpp | 165 static bool read_all_pids(std::vector<pid_t>* pids, std::function<bool(pid_t pid)> for_each_pid) { in read_all_pids() argument 166 pids->clear(); in read_all_pids() 175 pids->emplace_back(pid); in read_all_pids() 428 std::vector<pid_t> pids; in main() local 431 if (!read_all_pids(&pids, in main() 492 if (!read_all_pids(&pids, mark_swap_usage)) { in main()
|
/system/memory/libmeminfo/libdmabufinfo/include/dmabufinfo/ |
D | dmabufinfo.h | 59 const std::set<pid_t>& pids() const { return pids_; } in pids() function
|
/system/extras/simpleperf/ |
D | cmd_stat.cpp | 521 std::set<pid_t> pids = WaitForAppProcesses(app_package_name_); in Run() local 522 event_selection_set_.AddMonitoredProcesses(pids); in Run() 691 std::set<pid_t> pids; in ParseOptions() local 692 if (!GetValidThreadsFromThreadString(*value.str_value, &pids)) { in ParseOptions() 695 event_selection_set_.AddMonitoredProcesses(pids); in ParseOptions()
|
D | cmd_record.cpp | 480 std::set<pid_t> pids = WaitForAppProcesses(app_package_name_); in PrepareRecording() local 481 event_selection_set_.AddMonitoredProcesses(pids); in PrepareRecording() 572 std::set<pid_t> pids = event_selection_set_.GetMonitoredProcesses(); in PrepareRecording() local 576 pids.insert(pid); in PrepareRecording() 579 for (pid_t pid : pids) { in PrepareRecording() 844 std::set<pid_t> pids; in ParseOptions() local 845 if (!GetValidThreadsFromThreadString(*value.str_value, &pids)) { in ParseOptions() 848 event_selection_set_.AddMonitoredProcesses(pids); in ParseOptions()
|
D | environment.cpp | 565 std::vector<pid_t> pids = GetAllProcesses(); in WaitForAppProcesses() local 566 for (pid_t pid : pids) { in WaitForAppProcesses()
|
/system/extras/ioblame/ |
D | README | 4 files that running pids are doing IO to (with the aggregate amount of 18 1) File view : For each file, it gives a list of pids that are doing 20 the aggregate amount of IO done to the file by all pids). 89 Finally, it reports the total amount of file data IO done by pids and
|
/system/libhidl/transport/ |
D | ServiceManagement.cpp | 339 std::map<std::string, std::set<pid_t>> pids; in fetchPidsForPassthroughLibraries() local 363 pids[libFileName].insert(pid); in fetchPidsForPassthroughLibraries() 368 std::vector<pid_t>{pids[pair.first].begin(), pids[pair.first].end()}; in fetchPidsForPassthroughLibraries()
|
/system/libhidl/transport/manager/1.0/ |
D | IServiceManager.hal | 132 * Special values for InstanceDebugInfo pids.
|
/system/core/adb/ |
D | SERVICES.TXT | 223 This is used to send the list of JDWP pids periodically to the client.
|
/system/extras/simpleperf/doc/ |
D | executable_commands_reference.md | 608 $ simpleperf report --pids 7394,7395
|