Home
last modified time | relevance | path

Searched refs:buffer_state (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub-test.cpp270 EXPECT_EQ(p->buffer_state(), c->buffer_state()); in TEST_F()
271 EXPECT_TRUE(isAnyClientPosted(p->buffer_state())); in TEST_F()
282 EXPECT_EQ(p->buffer_state(), c->buffer_state()); in TEST_F()
283 EXPECT_TRUE(isAnyClientAcquired(p->buffer_state())); in TEST_F()
295 EXPECT_EQ(p->buffer_state(), c->buffer_state()); in TEST_F()
306 EXPECT_EQ(p->buffer_state(), c->buffer_state()); in TEST_F()
307 EXPECT_TRUE(isAnyClientGained(p->buffer_state())); in TEST_F()
332 ASSERT_TRUE(isAnyClientPosted(p->buffer_state())); in TEST_F()
349 ASSERT_TRUE(isAnyClientPosted(p->buffer_state())); in TEST_F()
367 ASSERT_TRUE(isClientReleased(p->buffer_state(), p->client_state_mask())); in TEST_F()
[all …]
/frameworks/native/services/vr/bufferhubd/
Dproducer_queue_channel.cpp321 uint64_t buffer_state = producer_channel->buffer_state(); in OnProducerQueueInsertBuffer() local
326 if (!BufferHubDefs::isClientGained(buffer_state, in OnProducerQueueInsertBuffer()
332 buffer_cid, buffer_state); in OnProducerQueueInsertBuffer()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbuffer_hub_base.h76 uint32_t buffer_state() { in buffer_state() function
82 return (buffer_state() & in is_released()
/frameworks/native/services/vr/bufferhubd/include/private/dvr/
Dproducer_channel.h45 uint32_t buffer_state() const { in buffer_state() function
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp535 !BufferHubDefs::isClientGained(buffer->buffer_state(), in InsertBuffer()
641 if (!BufferHubDefs::isAnyClientAcquired(buffer->buffer_state())) { in DequeueUnacquiredBuffer()