Home
last modified time | relevance | path

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

/system/memory/libmeminfo/libdmabufinfo/
Ddmabufinfo_test.cpp174 EXPECT_EQ(_bufptr->maprefs().size(), _maprefs); \
189 const std::unordered_map<pid_t, int>& _maprefs = _bufptr->maprefs(); \
220 EXPECT_TRUE(dmabufs[0].maprefs().empty()); in TEST()
230 EXPECT_TRUE(dmabufs[1].maprefs().empty()); in TEST()
378 ASSERT_EQ(dmabuf1->maprefs().size(), 0u); in TEST_F()
387 ASSERT_EQ(dmabuf2->maprefs().size(), 1u); in TEST_F()
407 ASSERT_EQ(dmabuf1->maprefs().size(), 0u); in TEST_F()
422 ASSERT_EQ(dmabuf2->maprefs().size(), 0u); in TEST_F()
454 ASSERT_EQ(dmabuf1->maprefs().size(), 1u); // Only one process mapped this buffer in TEST_F()
460 const auto& maprefs1 = dmabuf1->maprefs(); in TEST_F()
[all …]
/system/memory/libmeminfo/libdmabufinfo/tools/
Ddmabuf_dump.cpp89 buf.maprefs().size()); in PrintDmaBufTable()
99 if (buf.maprefs().count(pid) == 1) { in PrintDmaBufTable()
100 pid_maprefs += buf.maprefs().at(pid); in PrintDmaBufTable()
145 if (buf.fdrefs().empty() && buf.maprefs().empty()) { in PrintDmaBufPerProcess()
/system/memory/libmeminfo/libdmabufinfo/include/dmabufinfo/
Ddmabufinfo.h55 const std::unordered_map<pid_t, int>& maprefs() const { return maprefs_; } in maprefs() function