Searched defs:BufferCache (Results 1 – 3 of 3) sorted by relevance
111 struct BufferCache { struct in android::hardware::media::bufferpool::V1_0::implementation::BufferPoolClient::Impl112 std::mutex mLock;113 bool mCreating;114 std::condition_variable mCreateCv;115 std::map<BufferId, std::unique_ptr<ClientBuffer>> mBuffers;116 int mActive;117 int64_t mLastChangeUs;119 BufferCache() : mCreating(false), mActive(0), mLastChangeUs(getTimestampNow()) {} in BufferCache() argument121 void incActive_l() { in incActive_l()126 void decActive_l() { in decActive_l()
120 struct BufferCache { struct in android::hardware::media::bufferpool::V2_0::implementation::BufferPoolClient::Impl121 std::mutex mLock;122 bool mCreating;123 std::condition_variable mCreateCv;124 std::map<BufferId, std::unique_ptr<ClientBuffer>> mBuffers;125 int mActive;126 int64_t mLastChangeUs;128 BufferCache() : mCreating(false), mActive(0), mLastChangeUs(getTimestampNow()) {} in BufferCache() function130 void incActive_l() { in incActive_l()135 void decActive_l() { in decActive_l()
238 class BufferCache : public Singleton<BufferCache> { class240 BufferCache() : token(new BBinder()) {} in BufferCache() function in android::BufferCache