Home
last modified time | relevance | path

Searched refs:kMetadataHeaderSize (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/libs/ui/
DBufferHubMetadata.cpp33 using BufferHubDefs::kMetadataHeaderSize;
40 if (userMetadataSize >= (std::numeric_limits<uint32_t>::max() - kMetadataHeaderSize)) { in create()
45 const size_t metadataSize = userMetadataSize + kMetadataHeaderSize; in create()
73 size_t userMetadataSize = metadataSize - kMetadataHeaderSize; in import()
DBufferHubBuffer.cpp205 if (metadataSize < BufferHubDefs::kMetadataHeaderSize) { in initWithBufferTraits()
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub_base.cpp78 if (metadata_buf_size < BufferHubDefs::kMetadataHeaderSize) { in ImportBuffer()
88 user_metadata_size_ = metadata_buf_size_ - BufferHubDefs::kMetadataHeaderSize; in ImportBuffer()
112 BufferHubDefs::kMetadataHeaderSize); in ImportBuffer()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbuffer_hub_defs.h65 static constexpr size_t kMetadataHeaderSize = variable
66 android::BufferHubDefs::kMetadataHeaderSize;
/frameworks/native/libs/ui/include/ui/
DBufferHubMetadata.h69 size_t metadataSize() const { return mUserMetadataSize + BufferHubDefs::kMetadataHeaderSize; } in metadataSize()
DBufferHubDefs.h154 static constexpr size_t kMetadataHeaderSize = sizeof(MetadataHeader); variable
/frameworks/native/libs/ui/tests/
DBufferHubBuffer_test.cpp43 using ::android::BufferHubDefs::kMetadataHeaderSize;
136 const size_t userMetadataSize = std::numeric_limits<size_t>::max() - kMetadataHeaderSize; in TEST_F()
/frameworks/native/services/vr/bufferhubd/
Dproducer_channel.cpp36 metadata_buf_size_(BufferHubDefs::kMetadataHeaderSize + in ProducerChannel()
59 metadata_buf_size_(BufferHubDefs::kMetadataHeaderSize + in ProducerChannel()