Home
last modified time | relevance | path

Searched refs:allocHandle (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/bufferpool/2.0/tests/
Dsingle.cpp101 native_handle_t *allocHandle = nullptr; in TEST_F() local
103 status = mManager->allocate(mConnectionId, vecParams, &allocHandle, &buffer[i]); in TEST_F()
105 if (allocHandle) { in TEST_F()
106 native_handle_close(allocHandle); in TEST_F()
107 native_handle_delete(allocHandle); in TEST_F()
128 native_handle_t *allocHandle = nullptr; in TEST_F() local
129 status = mManager->allocate(mConnectionId, vecParams, &allocHandle, &buffer); in TEST_F()
132 if (allocHandle) { in TEST_F()
133 native_handle_close(allocHandle); in TEST_F()
134 native_handle_delete(allocHandle); in TEST_F()
[all …]
/frameworks/av/media/bufferpool/1.0/vts/
Dsingle.cpp101 native_handle_t *allocHandle = nullptr; in TEST_F() local
103 status = mManager->allocate(mConnectionId, vecParams, &allocHandle, &buffer[i]); in TEST_F()
124 native_handle_t *allocHandle = nullptr; in TEST_F() local
125 status = mManager->allocate(mConnectionId, vecParams, &allocHandle, &buffer); in TEST_F()
142 native_handle_t *allocHandle = nullptr; in TEST_F() local
148 status = mManager->allocate(mConnectionId, vecParams, &allocHandle, &sbuffer); in TEST_F()
150 ASSERT_TRUE(TestBufferPoolAllocator::Fill(allocHandle, 0x77)); in TEST_F()
/frameworks/av/media/bufferpool/1.0/
DBufferPoolClient.cpp594 const native_handle_t* allocHandle = nullptr; in allocateBufferHandle() local
596 params, bufferId, &allocHandle); in allocateBufferHandle()
598 *handle = native_handle_clone(allocHandle); in allocateBufferHandle()
/frameworks/av/media/bufferpool/2.0/
DBufferPoolClient.cpp742 const native_handle_t* allocHandle = nullptr; in allocateBufferHandle() local
744 params, bufferId, &allocHandle); in allocateBufferHandle()
746 *handle = native_handle_clone(allocHandle); in allocateBufferHandle()