Home
last modified time | relevance | path

Searched refs:kConsumerStateMask (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbufferhub_rpc.h36 static constexpr uint64_t kConsumerStateMask = (1ULL << 63) - 1; variable
51 uint64_t consumer_bit = kConsumerStateMask) {
56 return (state & kProducerStateBit) && (state & kConsumerStateMask); in IsBufferAcquired()
60 return !(state & kProducerStateBit) && (state & kConsumerStateMask); in IsBufferReleased()
/frameworks/native/libs/vr/libbufferhub/
Dbufferhub_tests.cpp21 using android::dvr::BufferHubDefs::kConsumerStateMask;
172 EXPECT_EQ(buffer_state_bits, kProducerStateBit | kConsumerStateMask); in TEST_F()
187 EXPECT_EQ(buffer_state_bits, kProducerStateBit | kConsumerStateMask); in TEST_F()
Dbuffer_hub_client.cpp687 if (fence_state & BufferHubDefs::kConsumerStateMask) { in LocalGain()
690 fence_state & BufferHubDefs::kConsumerStateMask; in LocalGain()