Home
last modified time | relevance | path

Searched refs:vmas (Results 1 – 3 of 3) sorted by relevance

/system/memory/libmeminfo/
Dlibmeminfo_test.cpp373 std::vector<Vma> vmas; in TEST() local
374 auto collect_vmas = [&](const Vma& v) { vmas.push_back(v); }; in TEST()
382 EXPECT_EQ(vmas[0].name, "[anon:dalvik-zygote-jit-code-cache]"); in TEST()
383 EXPECT_EQ(vmas[1].name, "/system/framework/x86_64/boot-framework.art"); in TEST()
384 EXPECT_TRUE(vmas[2].name == "[anon:libc_malloc]" || in TEST()
385 android::base::StartsWith(vmas[2].name, "[anon:scudo:")) in TEST()
386 << "Unknown map name " << vmas[2].name; in TEST()
387 EXPECT_EQ(vmas[3].name, "/system/priv-app/SettingsProvider/oat/x86_64/SettingsProvider.odex"); in TEST()
388 EXPECT_EQ(vmas[4].name, "/system/lib64/libhwui.so"); in TEST()
391 EXPECT_EQ(vmas[0].start, 0x54c00000); in TEST()
[all …]
Dlibmeminfo_benchmark.cpp555 std::vector<Vma> vmas; in BM_MapsVmaParsing_ForEachVmaFromMaps() local
556 auto vmaCollectorCb = [&](const Vma& vma) { vmas.push_back(vma); }; in BM_MapsVmaParsing_ForEachVmaFromMaps()
561 vmas.clear(); in BM_MapsVmaParsing_ForEachVmaFromMaps()
573 std::vector<Vma> vmas; in BM_MapsVmaParsing_ForEachVma() local
574 auto vmaCollectorCb = [&](const Vma& vma) { vmas.push_back(vma); }; in BM_MapsVmaParsing_ForEachVma()
579 vmas.clear(); in BM_MapsVmaParsing_ForEachVma()
/system/memory/libmeminfo/libsmapinfo/
Dsmapinfo.cpp962 static std::multimap<std::string, VmaInfo> vmas; variable
976 if (vmas.empty()) { in collect_vma()
977 vmas.emplace(key, current); in collect_vma()
987 vmas.emplace(key, current); in collect_vma()
995 vmas.emplace(key, current); in collect_vma()
1000 auto iter = vmas.find(key); in collect_vma()
1001 if (iter == vmas.end()) { in collect_vma()
1002 vmas.emplace(key, current); in collect_vma()
1122 showmap::vmas.clear(); in run_showmap()
1159 for (const auto& entry : showmap::vmas) { in run_showmap()