Searched refs:exporter (Results 1 – 3 of 3) sorted by relevance
/system/memory/libmeminfo/libdmabufinfo/include/dmabufinfo/ |
D | dmabufinfo.h | 32 DmaBuffer(ino_t inode, uint64_t size, uint64_t count, const std::string& exporter, in DmaBuffer() 34 : inode_(inode), size_(size), count_(count), exporter_(exporter), name_(name) { in DmaBuffer() 61 const std::string& exporter() const { return exporter_; } in exporter() function 63 void SetExporter(const std::string& exporter) { exporter_ = exporter; } in SetExporter() 69 (exporter_ == rhs.exporter());
|
/system/memory/libmeminfo/libdmabufinfo/ |
D | dmabufinfo.cpp | 46 static bool ReadDmaBufFdInfo(pid_t pid, int fd, std::string* name, std::string* exporter, in ReadDmaBufFdInfo() argument 68 *exporter = ::android::base::Trim(c); in ReadDmaBufFdInfo() 136 std::string exporter = "<unknown>"; in ReadDmaBufFdRefs() local 138 if (!ReadDmaBufFdInfo(pid, fd, &name, &exporter, &count)) { in ReadDmaBufFdRefs() 154 if (buf->exporter() == "" || buf->exporter() == "<unknown>") buf->SetExporter(exporter); in ReadDmaBufFdRefs() 160 DmaBuffer& db = dmabufs->emplace_back(sb.st_ino, sb.st_blocks * 512, count, exporter, name); in ReadDmaBufFdRefs()
|
D | dmabufinfo_test.cpp | 171 EXPECT_EQ(_bufptr->exporter(), _expname); \ 212 EXPECT_EQ(dmabufs[0].exporter(), "ion"); in TEST() 221 EXPECT_EQ(dmabufs[1].exporter(), "ion"); in TEST() 261 size_t fdrefs_size, size_t maprefs_size, const std::string exporter, in readAndCheckDmaBuffer() argument 266 EXPECT_ONE_BUF_EQ(dmabufs->begin(), name, fdrefs_size, maprefs_size, exporter, refcount, in readAndCheckDmaBuffer()
|