Home
last modified time | relevance | path

Searched refs:BufferHubMetadata (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/libs/ui/include/ui/
DBufferHubMetadata.h29 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() function
47 ~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;
DBufferHubBuffer.h132 BufferHubMetadata mMetadata;
/frameworks/native/libs/ui/
DBufferHubMetadata.cpp37 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::BufferHubMetadata
95 BufferHubMetadata::~BufferHubMetadata() { in ~BufferHubMetadata()
DAndroid.bp41 "BufferHubMetadata.cpp",
102 "BufferHubMetadata.cpp",
DBufferHubBuffer.cpp171 mMetadata = BufferHubMetadata::import(std::move(ashmemFd)); in initWithBufferTraits()
/frameworks/native/libs/ui/tests/
DBufferHubMetadata_test.cpp28 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()
/frameworks/native/services/bufferhub/include/bufferhub/
DBufferNode.h39 const BufferHubMetadata& metadata() const { return mMetadata; } in metadata()
71 BufferHubMetadata mMetadata;
/frameworks/native/services/bufferhub/
DBufferNode.cpp57 mMetadata = BufferHubMetadata::create(userMetadataSize); in BufferNode()
DBufferHubService.cpp243 const_cast<BufferHubMetadata*>(&node->metadata())->metadataHeader(); in debug()