Home
last modified time | relevance | path

Searched refs:pids (Results 1 – 15 of 15) sorted by relevance

/system/extras/memtrack/
Dmemtrack.cpp154 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()
Dmemtrack.h63 std::vector<int> pids; member
70 std::vector<int> pids; member
/system/vold/
DProcess.cpp85 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/libmemtrack/
Dmemtrack_test.cpp43 std::vector<pid_t> pids; in main() local
60 pids.emplace_back(pid); in main()
63 for (auto& pid : pids) { in main()
/system/core/init/
Dsubcontext_test.cpp72 auto pids = Split(result.error_string(), " "); in TEST() local
73 ASSERT_EQ(2U, pids.size()); in TEST()
75 EXPECT_NE(our_pid, pids[0]); in TEST()
76 EXPECT_EQ(our_pid, pids[1]); in TEST()
/system/core/libprocessgroup/
Dprocessgroup.cpp278 std::set<pid_t> pids; in DoKillProcessGroupOnce() local
295 pids.emplace(pid); in DoKillProcessGroupOnce()
300 for (auto it = pids.begin(); it != pids.end();) { in DoKillProcessGroupOnce()
303 it = pids.erase(it); in DoKillProcessGroupOnce()
320 for (const auto pid : pids) { in DoKillProcessGroupOnce()
/system/core/libmeminfo/tools/
Dprocrank.cpp164 static bool read_all_pids(std::vector<pid_t>* pids, std::function<bool(pid_t pid)> for_each_pid) { in read_all_pids() argument
165 pids->clear(); in read_all_pids()
174 pids->emplace_back(pid); in read_all_pids()
427 std::vector<pid_t> pids; in main() local
430 if (!read_all_pids(&pids, in main()
491 if (!read_all_pids(&pids, mark_swap_usage)) { in main()
/system/extras/simpleperf/
Dcmd_stat.cpp426 std::set<pid_t> pids = WaitForAppProcesses(app_package_name_); in Run() local
427 event_selection_set_.AddMonitoredProcesses(pids); in Run()
597 std::set<pid_t> pids; in ParseOptions() local
598 if (!GetValidThreadsFromThreadString(args[i], &pids)) { in ParseOptions()
601 event_selection_set_.AddMonitoredProcesses(pids); in ParseOptions()
Dcmd_record.cpp442 std::set<pid_t> pids = WaitForAppProcesses(app_package_name_); in PrepareRecording() local
443 event_selection_set_.AddMonitoredProcesses(pids); in PrepareRecording()
529 std::set<pid_t> pids = event_selection_set_.GetMonitoredProcesses(); in PrepareRecording() local
533 pids.insert(pid); in PrepareRecording()
536 for (pid_t pid : pids) { in PrepareRecording()
851 std::set<pid_t> pids; in ParseOptions() local
852 if (!GetValidThreadsFromThreadString(args[i], &pids)) { in ParseOptions()
855 event_selection_set_.AddMonitoredProcesses(pids); in ParseOptions()
Denvironment.cpp581 std::vector<pid_t> pids = GetAllProcesses(); in WaitForAppProcesses() local
582 for (pid_t pid : pids) { in WaitForAppProcesses()
/system/extras/ioblame/
DREADME4 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/
DServiceManagement.cpp299 std::map<std::string, std::set<pid_t>> pids; in fetchPidsForPassthroughLibraries() local
323 pids[libFileName].insert(pid); in fetchPidsForPassthroughLibraries()
328 std::vector<pid_t>{pids[pair.first].begin(), pids[pair.first].end()}; in fetchPidsForPassthroughLibraries()
/system/libhidl/transport/manager/1.0/
DIServiceManager.hal132 * Special values for InstanceDebugInfo pids.
/system/core/adb/
DSERVICES.TXT223 This is used to send the list of JDWP pids periodically to the client.
/system/extras/simpleperf/doc/
DREADME.md966 $ simpleperf report --pids 7394,7395