Home
last modified time | relevance | path

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

/frameworks/av/media/bufferpool/2.0/tests/
Dmulti.cpp197 native_handle_t *shandle = nullptr; in TEST_F() local
204 status = mManager->allocate(mConnectionId, vecParams, &shandle, &sbuffer); in TEST_F()
207 ASSERT_TRUE(TestBufferPoolAllocator::Fill(shandle, 0x77)); in TEST_F()
208 if (shandle) { in TEST_F()
209 native_handle_close(shandle); in TEST_F()
210 native_handle_delete(shandle); in TEST_F()
Dcond.cpp216 native_handle_t *shandle = nullptr; in TEST_F() local
225 status = mManager->allocate(mConnectionId, vecParams, &shandle, &sbuffer); in TEST_F()
228 ASSERT_TRUE(TestBufferPoolAllocator::MapMemoryForMutex(shandle, &mem)); in TEST_F()
252 if (shandle) { in TEST_F()
253 native_handle_close(shandle); in TEST_F()
254 native_handle_delete(shandle); in TEST_F()
/frameworks/av/media/bufferpool/1.0/vts/
Dmulti.cpp190 native_handle_t *shandle = nullptr; in TEST_F() local
197 status = mManager->allocate(mConnectionId, vecParams, &shandle, &sbuffer); in TEST_F()
200 ASSERT_TRUE(TestBufferPoolAllocator::Fill(shandle, 0x77)); in TEST_F()