Home
last modified time | relevance | path

Searched refs:client_state_mask (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/
Dconsumer_buffer.cpp42 client_state_mask())) { in LocalAcquire()
46 __FUNCTION__, id(), current_buffer_state, client_state_mask()); in LocalAcquire()
51 uint32_t updated_buffer_state = current_buffer_state ^ client_state_mask(); in LocalAcquire()
62 client_state_mask())) { in LocalAcquire()
66 __FUNCTION__, id(), current_buffer_state, client_state_mask()); in LocalAcquire()
70 updated_buffer_state = current_buffer_state ^ client_state_mask(); in LocalAcquire()
148 client_state_mask())) { in LocalRelease()
151 uint32_t updated_buffer_state = current_buffer_state & (~client_state_mask()); in LocalRelease()
162 updated_buffer_state = current_buffer_state & (~client_state_mask()); in LocalRelease()
Dbuffer_hub-test.cpp69 EXPECT_EQ(p->client_state_mask(), kFirstClientBitMask); in TEST_F()
70 EXPECT_EQ(c1->client_state_mask(), kFirstClientBitMask << 1); in TEST_F()
71 EXPECT_EQ(c2->client_state_mask(), kFirstClientBitMask << 2); in TEST_F()
180 uint32_t client_state_masks = p->client_state_mask(); in TEST_F()
186 EXPECT_EQ(client_state_masks & cs[i]->client_state_mask(), 0U); in TEST_F()
187 client_state_masks |= cs[i]->client_state_mask(); in TEST_F()
197 client_state_masks &= ~cs[i]->client_state_mask(); in TEST_F()
202 EXPECT_EQ(client_state_masks & cs[i]->client_state_mask(), 0U); in TEST_F()
203 client_state_masks |= cs[i]->client_state_mask(); in TEST_F()
367 ASSERT_TRUE(isClientReleased(p->buffer_state(), p->client_state_mask())); in TEST_F()
[all …]
Dbuffer_hub_base.cpp119 client_state_mask_ = buffer_desc.client_state_mask(); in ImportBuffer()
174 event.data.u32 = client_state_mask(); in UpdateSharedFence()
187 fence_state_->fetch_or(client_state_mask()); in UpdateSharedFence()
192 fence_state_->fetch_and(~client_state_mask()); in UpdateSharedFence()
Dproducer_buffer.cpp86 client_state_mask())) { in LocalPost()
95 (~client_state_mask()) & BufferHubDefs::kHighBitsMask; in LocalPost()
107 client_state_mask())) { in LocalPost()
170 client_state_mask())) { in LocalGain()
185 uint32_t updated_buffer_state = client_state_mask(); in LocalGain()
/frameworks/native/services/vr/bufferhubd/include/private/dvr/
Dconsumer_channel.h19 uint32_t client_state_mask,
26 uint32_t client_state_mask() const { return client_state_mask_; } in client_state_mask() function
Dproducer_channel.h54 BufferDescription<BorrowedHandle> GetBuffer(uint32_t client_state_mask);
/frameworks/native/services/vr/bufferhubd/
Dconsumer_channel.cpp20 int channel_id, uint32_t client_state_mask, in ConsumerChannel() argument
23 client_state_mask_(client_state_mask), in ConsumerChannel()
44 info.signaled_mask = client_state_mask(); in GetBufferInfo()
Dproducer_channel.cpp178 signaled_mask |= consumer->signaled() ? consumer->client_state_mask() : 0; in GetBufferInfo()
229 uint32_t client_state_mask) { in GetBuffer() argument
234 client_state_mask, in GetBuffer()
597 uint32_t consumer_state_mask = channel->client_state_mask(); in RemoveConsumer()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbuffer_hub_defs.h76 uint32_t client_state_mask, uint64_t metadata_size, in BufferTraits() argument
82 client_state_mask_(client_state_mask), in BufferTraits()
106 uint32_t client_state_mask() const { return client_state_mask_; } in client_state_mask() function
Dbufferhub_rpc.h102 int buffer_cid, uint32_t client_state_mask, in BufferDescription() argument
107 client_state_mask_(client_state_mask), in BufferDescription()
126 uint32_t client_state_mask() const { return client_state_mask_; } in client_state_mask() function
Dbuffer_hub_base.h88 uint32_t client_state_mask() const { return client_state_mask_; } in client_state_mask() function
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp536 buffer->client_state_mask())) { in InsertBuffer()