Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/tests/
DBufferHubBuffer_test.cpp251 EXPECT_TRUE(isClientGained(b1->bufferState(), b1ClientMask)); in TEST_F()
256 auto currentBufferState = b1->bufferState(); in TEST_F()
270 ASSERT_TRUE(isAnyClientAcquired(b1->bufferState())); in TEST_F()
280 ASSERT_TRUE(isAnyClientPosted(b1->bufferState())); in TEST_F()
289 ASSERT_TRUE(isAnyClientPosted(b1->bufferState())); in TEST_F()
298 ASSERT_TRUE(isClientGained(b1->bufferState(), b1ClientMask)); in TEST_F()
305 ASSERT_TRUE(isClientGained(b1->bufferState(), b1ClientMask)); in TEST_F()
308 auto currentBufferState = b1->bufferState(); in TEST_F()
316 ASSERT_TRUE(isAnyClientPosted(b1->bufferState())); in TEST_F()
327 ASSERT_TRUE(isAnyClientAcquired(b1->bufferState())); in TEST_F()
[all …]
DBufferHubMetadata_test.cpp54 EXPECT_TRUE(mh1->bufferState.load() == 0U); in TEST_F()
62 EXPECT_TRUE(mh2->bufferState.load() == 0U); in TEST_F()
/frameworks/native/libs/ui/include/ui/
DBufferHubBuffer.h61 uint32_t bufferState() const { return mBufferState->load(std::memory_order_acquire); } in bufferState() function
DBufferHubDefs.h133 std::atomic<uint32_t> bufferState; member
/frameworks/native/services/bufferhub/
DBufferNode.cpp18 mBufferState = new (&metadataHeader->bufferState) std::atomic<uint32_t>(0); in initializeMetadata()
DBufferHubService.cpp244 const uint32_t state = metadataHeader->bufferState.load(std::memory_order_acquire); in debug()
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub_base.cpp125 buffer_state_ = &metadata_header_->bufferState; in ImportBuffer()
/frameworks/native/libs/ui/
DBufferHubBuffer.cpp212 mBufferState = &metadataHeader->bufferState; in initWithBufferTraits()
/frameworks/native/services/vr/bufferhubd/
Dproducer_channel.cpp94 buffer_state_ = new (&metadata_header_->bufferState) std::atomic<uint32_t>(0); in InitializeBuffer()