• Home
  • Raw
  • Download

Lines Matching refs:maps

32   std::vector<android::procinfo::MapInfo> maps;  in TEST()  local
34 map_file, [&](const android::procinfo::MapInfo& mapinfo) { maps.emplace_back(mapinfo); })); in TEST()
35 ASSERT_EQ(2043u, maps.size()); in TEST()
36 ASSERT_EQ(maps[0].start, 0x12c00000ULL); in TEST()
37 ASSERT_EQ(maps[0].end, 0x2ac00000ULL); in TEST()
38 ASSERT_EQ(maps[0].flags, PROT_READ | PROT_WRITE); in TEST()
39 ASSERT_EQ(maps[0].pgoff, 0ULL); in TEST()
40 ASSERT_EQ(maps[0].inode, 10267643UL); in TEST()
41 ASSERT_EQ(maps[0].name, "[anon:dalvik-main space (region space)]"); in TEST()
42 ASSERT_EQ(maps[876].start, 0x70e6c4f000ULL); in TEST()
43 ASSERT_EQ(maps[876].end, 0x70e6c6b000ULL); in TEST()
44 ASSERT_EQ(maps[876].flags, PROT_READ | PROT_EXEC); in TEST()
45 ASSERT_EQ(maps[876].pgoff, 0ULL); in TEST()
46 ASSERT_EQ(maps[876].inode, 2407UL); in TEST()
47 ASSERT_EQ(maps[876].name, "/system/lib64/libutils.so"); in TEST()
48 ASSERT_EQ(maps[1260].start, 0x70e96fa000ULL); in TEST()
49 ASSERT_EQ(maps[1260].end, 0x70e96fb000ULL); in TEST()
50 ASSERT_EQ(maps[1260].flags, PROT_READ); in TEST()
51 ASSERT_EQ(maps[1260].pgoff, 0ULL); in TEST()
52 ASSERT_EQ(maps[1260].inode, 10266154UL); in TEST()
53 ASSERT_EQ(maps[1260].name, in TEST()
59 std::vector<android::procinfo::MapInfo> maps; in TEST() local
61 getpid(), [&](const android::procinfo::MapInfo& mapinfo) { maps.emplace_back(mapinfo); })); in TEST()
62 ASSERT_GT(maps.size(), 0u); in TEST()
63 maps.clear(); in TEST()
64 ASSERT_TRUE(android::procinfo::ReadProcessMaps(getpid(), &maps)); in TEST()
65 ASSERT_GT(maps.size(), 0u); in TEST()