Home
last modified time | relevance | path

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

/frameworks/native/services/bufferhub/
DBufferNode.cpp86 uint32_t clientStateMask = 0U; in addNewActiveClientsBitToMask() local
89 clientStateMask = in addNewActiveClientsBitToMask()
91 if (clientStateMask == 0U) { in addNewActiveClientsBitToMask()
97 updatedActiveClientsBitMask = currentActiveClientsBitMask | clientStateMask; in addNewActiveClientsBitToMask()
102 return clientStateMask; in addNewActiveClientsBitToMask()
DBufferHubService.cpp150 uint32_t clientStateMask = client->getBufferNode()->addNewActiveClientsBitToMask(); in importBuffer() local
151 if (clientStateMask == 0U) { in importBuffer()
172 hidl_handle bufferInfo = buildBufferInfo(bufferInfoStorage, node->id(), clientStateMask, in importBuffer()
/frameworks/hardware/interfaces/bufferhub/1.0/vts/functional/
DVtsHalBufferHubV1_0TargetTest.cpp76 uint32_t clientStateMask(const BufferTraits& bufferTraits) { in clientStateMask() function
77 uint32_t clientStateMask; in clientStateMask() local
78 memcpy(&clientStateMask, &bufferTraits.bufferInfo->data[3], sizeof(clientStateMask)); in clientStateMask()
79 return clientStateMask; in clientStateMask()
111 eventFd >= 0 && bufferId >= 0 && clientStateMask(bufferTraits) != 0U && in isValidTraits()
246 EXPECT_NE(clientStateMask(bufferTraits), clientStateMask(bufferTraits2)); in TEST_F()
/frameworks/native/libs/ui/tests/
DBufferHubBuffer_test.cpp108 b1ClientMask = b1->clientStateMask(); in CreateTwoClientsOfABuffer()
117 b2ClientMask = b2->clientStateMask(); in CreateTwoClientsOfABuffer()
178 EXPECT_NE(b1->clientStateMask(), b2->clientStateMask()); in TEST_F()
448 ASSERT_NE(b1->clientStateMask(), b2->clientStateMask()); in TEST_F()
470 ASSERT_NE(b1->clientStateMask(), b2->clientStateMask()); in TEST_F()
/frameworks/native/libs/ui/include/ui/
DBufferHubBuffer.h65 uint32_t clientStateMask() const { return mClientStateMask; } in clientStateMask() function