Home
last modified time | relevance | path

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

/frameworks/native/services/bufferhub/
DBufferHubIdGenerator.cpp36 if (++mLastId >= std::numeric_limits<int>::max()) { in getId()
37 mLastId = 0; in getId()
39 } while (mIdsInUse.find(mLastId) != mIdsInUse.end()); in getId()
41 mIdsInUse.insert(mLastId); in getId()
42 return mLastId; in getId()
/frameworks/native/services/bufferhub/include/bufferhub/
DBufferHubIdGenerator.h49 int mLastId = -1; variable