Lines Matching refs:mBufferNode
29 mBufferNode = in SetUp()
31 ASSERT_TRUE(mBufferNode->isValid()); in SetUp()
35 if (mBufferNode != nullptr) { in TearDown()
36 delete mBufferNode; in TearDown()
40 BufferNode* mBufferNode = nullptr; member in android::frameworks::bufferhub::V1_0::implementation::__anon79cb3fdb0111::BufferNodeTest
44 EXPECT_EQ(mBufferNode->userMetadataSize(), kUserMetadataSize); in TEST_F()
49 mapper.importBuffer(mBufferNode->bufferHandle(), mBufferNode->bufferDesc().width, in TEST_F()
50 mBufferNode->bufferDesc().height, mBufferNode->bufferDesc().layers, in TEST_F()
51 mBufferNode->bufferDesc().format, mBufferNode->bufferDesc().usage, in TEST_F()
52 mBufferNode->bufferDesc().stride, &outHandle); in TEST_F()
58 uint32_t newClientStateMask1 = mBufferNode->addNewActiveClientsBitToMask(); in TEST_F()
59 EXPECT_EQ(mBufferNode->getActiveClientsBitMask(), newClientStateMask1); in TEST_F()
64 uint32_t newClientStateMask2 = mBufferNode->addNewActiveClientsBitToMask(); in TEST_F()
65 EXPECT_EQ(mBufferNode->getActiveClientsBitMask(), newClientStateMask1 | newClientStateMask2); in TEST_F()
74 newClientStateMask = mBufferNode->addNewActiveClientsBitToMask(); in TEST_F()
78 currentMask = mBufferNode->getActiveClientsBitMask(); in TEST_F()
83 newClientStateMask = mBufferNode->addNewActiveClientsBitToMask(); in TEST_F()
89 mBufferNode->addNewActiveClientsBitToMask(); in TEST_F()
90 uint32_t currentMask = mBufferNode->getActiveClientsBitMask(); in TEST_F()
91 uint32_t newClientStateMask = mBufferNode->addNewActiveClientsBitToMask(); in TEST_F()
92 EXPECT_NE(mBufferNode->getActiveClientsBitMask(), currentMask); in TEST_F()
94 mBufferNode->removeClientsBitFromMask(newClientStateMask); in TEST_F()
95 EXPECT_EQ(mBufferNode->getActiveClientsBitMask(), currentMask); in TEST_F()
99 mBufferNode->removeClientsBitFromMask(newClientStateMask); in TEST_F()
100 EXPECT_EQ(mBufferNode->getActiveClientsBitMask(), currentMask); in TEST_F()