Home
last modified time | relevance | path

Searched refs:meminfo (Results 1 – 25 of 41) sorted by relevance

12

/system/memory/libmeminfo/
Dlibmeminfo_benchmark.cpp35 using ::android::meminfo::MemUsage;
36 using ::android::meminfo::ProcMemInfo;
37 using ::android::meminfo::SmapsOrRollupFromFile;
38 using ::android::meminfo::SysMemInfo;
116 std::string meminfo = R"meminfo(MemTotal: 3019740 kB in BM_ReadMemInfo_old() local
162 ::android::base::WriteStringToFd(meminfo, tf.fd); in BM_ReadMemInfo_old()
172 std::string meminfo = R"meminfo(MemTotal: 3019740 kB in BM_ReadMemInfo_new() local
218 android::base::WriteStringToFd(meminfo, tf.fd); in BM_ReadMemInfo_new()
285 std::string meminfo = R"meminfo(MemTotal: 3019740 kB in BM_MemInfoWithZram_old() local
331 ::android::base::WriteStringToFd(meminfo, tf.fd); in BM_MemInfoWithZram_old()
[all …]
Dlibmeminfo_test.cpp37 using namespace android::meminfo;
163 EXPECT_FALSE(android::meminfo::page_present(pagemap[i])) in TEST()
178 EXPECT_TRUE(android::meminfo::page_present(pagemap[i])) in TEST()
181 EXPECT_FALSE(android::meminfo::page_present(pagemap[i])) in TEST()
537 std::string meminfo = R"meminfo(MemTotal: 3019740 kB in TEST() local
585 ASSERT_TRUE(::android::base::WriteStringToFd(meminfo, tf.fd)); in TEST()
649 std::string meminfo = R"meminfo(MemTotal: 3019740 kB in TEST() local
697 ASSERT_TRUE(::android::base::WriteStringToFd(meminfo, tf.fd)); in TEST()
Dpageacct.cpp29 namespace meminfo { namespace
Dsysmeminfo.cpp46 namespace meminfo { namespace
83 return ::android::meminfo::ReadVmallocInfo(); in ReadVmallocInfo()
/system/core/libunwindstack/benchmarks/
DUtils.cpp49 android::meminfo::ProcMemInfo proc_mem(getpid()); in GatherRss()
50 const std::vector<android::meminfo::Vma>& maps = proc_mem.MapsWithoutUsageStats(); in GatherRss()
54 android::meminfo::Vma update_vma(vma); in GatherRss()
/system/memory/libmeminfo/tools/
Dprocmem.cpp31 using Vma = ::android::meminfo::Vma;
32 using ProcMemInfo = ::android::meminfo::ProcMemInfo;
33 using MemUsage = ::android::meminfo::MemUsage;
Dwsstop.cpp32 using ::android::meminfo::ProcMemInfo;
33 using ::android::meminfo::Vma;
213 if (!::android::meminfo::PageAcct::KernelHasPageIdle()) { in main()
Dprocrank.cpp38 using ::android::meminfo::MemUsage;
39 using ::android::meminfo::ProcMemInfo;
317 static void print_sysmeminfo(std::stringstream& ss, ::android::meminfo::SysMemInfo& smi) { in print_sysmeminfo()
440 ::android::meminfo::SysMemInfo smi; in main()
Dlibrank.cpp40 using ::android::meminfo::MemUsage;
41 using ::android::meminfo::ProcMemInfo;
42 using ::android::meminfo::Vma;
Dshowmap.cpp34 using ::android::meminfo::Vma;
194 if (!::android::meminfo::ForEachVmaFromFile(g_filename, collect_vma)) { in showmap()
/system/extras/tests/workloads/
Ddefs.sh294 ${ADB}cat /proc/meminfo 2>&1 >> $output
295 ${ADB}dumpsys meminfo 2>&1 >> $output
320 ${ADB}cat /proc/meminfo 2>&1 >> $output
321 ${ADB}dumpsys meminfo 2>&1 >> $output
/system/memory/libmeminfo/vts/
Dvts_meminfo_test.cpp25 namespace meminfo { namespace
/system/memory/libmeminfo/include/meminfo/
Dpageacct.h28 namespace meminfo {
Dmeminfo.h27 namespace meminfo {
Dprocmeminfo.h27 namespace meminfo {
Dsysmeminfo.h27 namespace meminfo {
/system/sepolicy/prebuilts/api/28.0/public/
Dlmkd.te46 # Read /proc/meminfo
/system/memory/lmkd/
Dlmkd.cpp420 union meminfo { union
1715 static bool meminfo_parse_line(char *line, union meminfo *mi) { in meminfo_parse_line()
1741 static int meminfo_parse(union meminfo *mi) { in meminfo_parse()
1750 memset(mi, 0, sizeof(union meminfo)); in meminfo_parse()
1858 int kill_reason, union meminfo *mi, in killinfo_log()
2045 const char *kill_desc, union meminfo *mi, struct wakeup_info *wi, in kill_one_process()
2132 union meminfo *mi, struct wakeup_info *wi, struct timespec *tm) { in find_and_kill_process()
2189 void record_low_pressure_levels(union meminfo *mi) { in record_low_pressure_levels()
2242 static enum zone_watermark get_lowest_watermark(union meminfo *mi, in get_lowest_watermark()
2278 static int calc_swap_utilization(union meminfo *mi) { in calc_swap_utilization()
[all …]
/system/sepolicy/prebuilts/api/29.0/public/
Dlmkd.te50 # Read /proc/meminfo
/system/sepolicy/public/
Dlmkd.te50 # Read /proc/meminfo
/system/sepolicy/prebuilts/api/30.0/public/
Dlmkd.te53 # Read /proc/meminfo
/system/memory/libmemunreachable/
DREADME.md17 libmemunreachble is loaded by zygote and can be triggered with `dumpsys -t 600 meminfo --unreachabl…
27 Kill and restart the app, trigger the leak, and then run `dumpsys -t 600 meminfo --unreachable [pro…
/system/sepolicy/prebuilts/api/26.0/private/
Dgenfs_contexts8 genfscon proc /meminfo u:object_r:proc_meminfo:s0
Dservice_contexts97 meminfo u:object_r:meminfo_service:s0
/system/sepolicy/prebuilts/api/27.0/private/
Dservice_contexts96 meminfo u:object_r:meminfo_service:s0

12