Searched refs:metadataHeader (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/ui/tests/ |
D | BufferHubMetadata_test.cpp | 35 EXPECT_NE(m1.metadataHeader(), nullptr); in TEST_F() 41 EXPECT_NE(m1.metadataHeader(), nullptr); in TEST_F() 49 BufferHubDefs::MetadataHeader* mh1 = m1.metadataHeader(); in TEST_F() 57 BufferHubDefs::MetadataHeader* mh2 = m2.metadataHeader(); in TEST_F() 68 EXPECT_NE(m1.metadataHeader(), nullptr); in TEST_F() 75 EXPECT_EQ(m1.metadataHeader(), nullptr); in TEST_F() 76 EXPECT_NE(m2.metadataHeader(), nullptr); in TEST_F() 87 EXPECT_EQ(m2.metadataHeader(), nullptr); in TEST_F() 88 EXPECT_NE(m3.metadataHeader(), nullptr); in TEST_F()
|
/frameworks/native/libs/ui/ |
D | BufferHubMetadata.cpp | 78 auto metadataHeader = static_cast<MetadataHeader*>(mmap(nullptr, metadataSize, kAshmemProt, in import() local 81 if (metadataHeader == nullptr) { in import() 86 return BufferHubMetadata(userMetadataSize, std::move(ashmemFd), metadataHeader); in import() 90 MetadataHeader* metadataHeader) in BufferHubMetadata() argument 93 mMetadataHeader(metadataHeader) {} in BufferHubMetadata()
|
D | BufferHubBuffer.cpp | 211 auto metadataHeader = mMetadata.metadataHeader(); in initWithBufferTraits() local 212 mBufferState = &metadataHeader->bufferState; in initWithBufferTraits() 213 mFenceState = &metadataHeader->fenceState; in initWithBufferTraits() 214 mActiveClientsBitMask = &metadataHeader->activeClientsBitMask; in initWithBufferTraits()
|
/frameworks/native/services/bufferhub/ |
D | BufferNode.cpp | 17 BufferHubDefs::MetadataHeader* metadataHeader = mMetadata.metadataHeader(); in initializeMetadata() local 18 mBufferState = new (&metadataHeader->bufferState) std::atomic<uint32_t>(0); in initializeMetadata() 19 mFenceState = new (&metadataHeader->fenceState) std::atomic<uint32_t>(0); in initializeMetadata() 20 mActiveClientsBitMask = new (&metadataHeader->activeClientsBitMask) std::atomic<uint32_t>(0); in initializeMetadata()
|
D | BufferHubService.cpp | 242 MetadataHeader* metadataHeader = in debug() local 243 const_cast<BufferHubMetadata*>(&node->metadata())->metadataHeader(); in debug() 244 const uint32_t state = metadataHeader->bufferState.load(std::memory_order_acquire); in debug() 245 const uint64_t index = metadataHeader->queueIndex; in debug()
|
/frameworks/native/libs/ui/include/ui/ |
D | BufferHubMetadata.h | 72 BufferHubDefs::MetadataHeader* metadataHeader() { return mMetadataHeader; } in metadataHeader() function 76 BufferHubDefs::MetadataHeader* metadataHeader);
|