Searched refs:BufferHubMetadata (Results 1 – 9 of 9) sorted by relevance
29 class BufferHubMetadata {36 static BufferHubMetadata create(size_t userMetadataSize);41 static BufferHubMetadata import(unique_fd ashmemFd);43 BufferHubMetadata() = default;45 BufferHubMetadata(BufferHubMetadata&& other) { *this = std::move(other); } in BufferHubMetadata() function47 ~BufferHubMetadata();49 BufferHubMetadata& operator=(BufferHubMetadata&& other) {75 BufferHubMetadata(size_t userMetadataSize, unique_fd ashmemFd,78 BufferHubMetadata(const BufferHubMetadata&) = delete;79 void operator=(const BufferHubMetadata&) = delete;
132 BufferHubMetadata mMetadata;
37 BufferHubMetadata BufferHubMetadata::create(size_t userMetadataSize) { in create()62 return BufferHubMetadata::import(std::move(ashmemFd)); in create()66 BufferHubMetadata BufferHubMetadata::import(unique_fd ashmemFd) { in import()86 return BufferHubMetadata(userMetadataSize, std::move(ashmemFd), metadataHeader); in import()89 BufferHubMetadata::BufferHubMetadata(size_t userMetadataSize, unique_fd ashmemFd, in BufferHubMetadata() function in android::BufferHubMetadata95 BufferHubMetadata::~BufferHubMetadata() { in ~BufferHubMetadata()
41 "BufferHubMetadata.cpp",102 "BufferHubMetadata.cpp",
171 mMetadata = BufferHubMetadata::import(std::move(ashmemFd)); in initWithBufferTraits()
28 BufferHubMetadata m1 = BufferHubMetadata::create(std::numeric_limits<uint32_t>::max()); in TEST_F()33 BufferHubMetadata m1 = BufferHubMetadata::create(kEmptyUserMetadataSize); in TEST_F()39 BufferHubMetadata m1 = BufferHubMetadata::create(kEmptyUserMetadataSize); in TEST_F()46 BufferHubMetadata m2 = BufferHubMetadata::import(std::move(h2)); in TEST_F()66 BufferHubMetadata m1 = BufferHubMetadata::create(sizeof(int)); in TEST_F()72 BufferHubMetadata m2 = std::move(m1); in TEST_F()84 BufferHubMetadata m3{std::move(m2)}; in TEST_F()
39 const BufferHubMetadata& metadata() const { return mMetadata; } in metadata()71 BufferHubMetadata mMetadata;
57 mMetadata = BufferHubMetadata::create(userMetadataSize); in BufferNode()
243 const_cast<BufferHubMetadata*>(&node->metadata())->metadataHeader(); in debug()