Lines Matching refs:allocHandle
97 native_handle_t *allocHandle = nullptr; in TEST_F() local
99 status = mManager->allocate(mConnectionId, vecParams, &allocHandle, &buffer[i]); in TEST_F()
101 if (allocHandle) { in TEST_F()
102 native_handle_close(allocHandle); in TEST_F()
103 native_handle_delete(allocHandle); in TEST_F()
124 native_handle_t *allocHandle = nullptr; in TEST_F() local
125 status = mManager->allocate(mConnectionId, vecParams, &allocHandle, &buffer); in TEST_F()
128 if (allocHandle) { in TEST_F()
129 native_handle_close(allocHandle); in TEST_F()
130 native_handle_delete(allocHandle); in TEST_F()
146 native_handle_t *allocHandle = nullptr; in TEST_F() local
152 status = mManager->allocate(mConnectionId, vecParams, &allocHandle, &sbuffer); in TEST_F()
154 ASSERT_TRUE(TestBufferPoolAllocator::Fill(allocHandle, 0x77)); in TEST_F()
162 if (allocHandle) { in TEST_F()
163 native_handle_close(allocHandle); in TEST_F()
164 native_handle_delete(allocHandle); in TEST_F()