Home
last modified time | relevance | path

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

/frameworks/native/services/bufferhub/tests/
DBufferNode_test.cpp29 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()
[all …]
/frameworks/native/services/bufferhub/include/bufferhub/
DBufferClient.h46 : mService(other.mService), mBufferNode(other.mBufferNode) {} in BufferClient()
53 const std::shared_ptr<BufferNode>& getBufferNode() const { return mBufferNode; } in getBufferNode()
57 : mService(service), mBufferNode(node) {} in BufferClient()
66 std::shared_ptr<BufferNode> mBufferNode; variable
/frameworks/native/services/bufferhub/
DBufferClient.cpp48 mBufferNode->id()); in ~BufferClient()
62 mBufferNode.reset(); in close()
74 if (!mBufferNode) { in duplicate()