Home
last modified time | relevance | path

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

/frameworks/base/cmds/incidentd/src/
Dincidentd_util.cpp50 std::vector<sp<EncodedBuffer>> gBufferPool; variable
55 if (gBufferPool.size() == 0) { in get_buffer_from_pool()
58 sp<EncodedBuffer> buffer = gBufferPool.back(); in get_buffer_from_pool()
59 gBufferPool.pop_back(); in get_buffer_from_pool()
66 gBufferPool.push_back(buffer); in return_buffer_to_pool()
71 gBufferPool.clear(); in clear_buffer_pool()