Home
last modified time | relevance | path

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

/system/core/libprocinfo/
Dprocess_test.cpp43 android::procinfo::ProcessInfo self; in TEST()
44 ASSERT_TRUE(android::procinfo::GetProcessInfo(gettid(), &self)); in TEST()
53 android::procinfo::ProcessInfo self; in TEST()
56 ASSERT_TRUE(android::procinfo::GetProcessInfoFromProcPidFd(fd, &self)); in TEST()
75 ASSERT_TRUE(android::procinfo::GetProcessTids(getpid(), &vec)); in TEST()
82 ASSERT_TRUE(android::procinfo::GetProcessTids(getpid(), &set)); in TEST()
105 android::procinfo::ProcessInfo procinfo; in TEST() local
106 ASSERT_TRUE(android::procinfo::GetProcessInfo(forkpid, &procinfo)); in TEST()
107 ASSERT_EQ(android::procinfo::kProcessStateSleeping, procinfo.state); in TEST()
114 ASSERT_TRUE(android::procinfo::GetProcessInfo(forkpid, &procinfo)); in TEST()
[all …]
Dprocess_map_test.cpp27 std::vector<android::procinfo::MapInfo> maps; in TEST()
28 ASSERT_TRUE(android::procinfo::ReadMapFile( in TEST()
56 std::vector<android::procinfo::MapInfo> maps; in TEST()
57 ASSERT_TRUE(android::procinfo::ReadProcessMaps( in TEST()
63 ASSERT_TRUE(android::procinfo::ReadProcessMaps(getpid(), &maps)); in TEST()
Dprocess_map_benchmark.cpp34 std::vector<android::procinfo::MapInfo> maps; in BM_ReadMapFile()
35 android::procinfo::ReadMapFile(map_file, [&](uint64_t start, uint64_t end, uint16_t flags, in BM_ReadMapFile()
Dprocess.cpp32 namespace procinfo { namespace
/system/core/debuggerd/
Ddebuggerd.cpp87 android::procinfo::ProcessInfo proc_info; in main()
88 if (!android::procinfo::GetProcessInfo(pid, &proc_info)) { in main()
92 if (proc_info.state == android::procinfo::kProcessStateZombie) { in main()
Dcrash_dump.cpp79 android::procinfo::ProcessInfo process_info; in get_tracer()
80 if (android::procinfo::GetProcessInfo(tracee, &process_info)) { in get_tracer()
442 if (!android::procinfo::GetProcessTids(g_target_thread, &threads)) { in main()
/system/core/debuggerd/client/
Ddebuggerd_client.cpp73 android::procinfo::ProcessInfo procinfo; in debuggerd_trigger_dump() local
75 if (!android::procinfo::GetProcessInfo(tid, &procinfo, &error)) { in debuggerd_trigger_dump()
79 pid = procinfo.pid; in debuggerd_trigger_dump()
/system/core/libmemunreachable/
DProcessMappings.cpp56 return android::procinfo::ReadMapFileContent(&content[0], callback); in ProcessMappings()
/system/extras/simpleperf/
Denvironment.cpp218 android::procinfo::ProcessInfo procinfo; in ReadThreadNameAndPid() local
219 if (!android::procinfo::GetProcessInfo(tid, &procinfo)) { in ReadThreadNameAndPid()
223 *comm = procinfo.name; in ReadThreadNameAndPid()
226 *pid = procinfo.pid; in ReadThreadNameAndPid()
233 android::procinfo::GetProcessTids(pid, &result); in GetThreadsInProcess()
264 return android::procinfo::ReadProcessMaps( in GetThreadMmapsInProcess()
/system/core/libunwindstack/
DMaps.cpp63 return android::procinfo::ReadMapFile( in Parse()
100 return android::procinfo::ReadMapFileContent( in Parse()
/system/core/libprocinfo/include/procinfo/
Dprocess.h34 namespace procinfo {
Dprocess_map.h31 namespace procinfo {
/system/core/libbacktrace/
DBacktraceMap.cpp125 return android::procinfo::ReadProcessMaps( in Build()
/system/core/libmeminfo/
Dprocmeminfo.cpp248 if (!::android::procinfo::ReadMapFile( in ReadMaps()
396 if (!::android::procinfo::ReadMapFileContent( in ForEachVmaFromFile()
/system/core/libmeminfo/libdmabufinfo/
Ddmabufinfo.cpp200 if (!::android::procinfo::ReadMapFileContent(line, account_dmabuf)) { in ReadDmaBufMapRefs()