Searched refs:mPool (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/core/java/android/os/
H A DPooledStringReader.java31 private final String[] mPool; field in class:PooledStringReader
36 mPool = new String[size];
40 return mPool.length;
46 return mPool[idx];
50 mPool[idx] = str;
H A DPooledStringWriter.java37 private final HashMap<String, Integer> mPool; field in class:PooledStringWriter
53 mPool = new HashMap<>();
59 final Integer cur = mPool.get(str);
63 mPool.put(str, mNext);
71 return mPool.size();
/frameworks/base/core/java/android/util/
H A DPools.java78 private final Object[] mPool; field in class:Pools.SimplePool
93 mPool = new Object[maxPoolSize];
101 T instance = (T) mPool[lastPooledIndex];
102 mPool[lastPooledIndex] = null;
114 if (mPoolSize < mPool.length) {
115 mPool[mPoolSize] = instance;
124 if (mPool[i] == instance) {
/frameworks/support/compat/src/main/java/androidx/core/util/
H A DPools.java83 private final Object[] mPool; field in class:Pools.SimplePool
98 mPool = new Object[maxPoolSize];
106 T instance = (T) mPool[lastPooledIndex];
107 mPool[lastPooledIndex] = null;
119 if (mPoolSize < mPool.length) {
120 mPool[mPoolSize] = instance;
129 if (mPool[i] == instance) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DViewPool.java39 LinkedList<V> mPool = new LinkedList<V>(); field in class:ViewPool
50 mPool.push(v);
57 if (mPool.isEmpty()) {
62 Iterator<V> iter = mPool.iterator();
73 v = mPool.pop();
84 return mPool;
/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.cpp138 for (auto& entry : mPool) {
141 mPool.clear();
150 auto iter = mPool.find(entry);
152 if (iter != mPool.end()) {
154 mPool.erase(iter);
187 for (auto entry : mPool) {
198 OffscreenBuffer* victim = mPool.begin()->layer;
201 mPool.erase(mPool.begin());
209 mPool
[all...]
H A DOffscreenBufferPool.h117 size_t getCount() { return mPool.size(); }
153 std::multiset<Entry> mPool; member in class:android::uirenderer::OffscreenBufferPool
/frameworks/minikin/libs/minikin/
H A DWordBreaker.cpp47 for (auto i = mPool.begin(); i != mPool.end(); i++) {
50 mPool.erase(i);
64 if (mPool.size() >= MAX_POOL_SIZE) {
70 mPool.push_front(std::move(slot));
73 WordBreaker::WordBreaker() : mPool(&ICULineBreakerPoolImpl::getInstance()) {}
75 WordBreaker::WordBreaker(ICULineBreakerPool* pool) : mPool(pool) {}
78 mIcuBreaker = mPool->acquire(locale);
316 mPool->release(std::move(mIcuBreaker));
H A DWordBreaker.h80 return mPool.size();
84 std::list<Slot> mPool GUARDED_BY(mMutex);
135 ICULineBreakerPool* mPool; member in class:minikin::WordBreaker
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DUnrefedPooledCache.java47 private final LinkedBlockingQueue<V> mPool; field in class:UnrefedPooledCache
61 mPool = new LinkedBlockingQueue<V>();
116 mPool.offer(value);
123 final V pooled = mPool.poll();
177 sb.append(mPool.size());
185 for (V val : mPool) {
236 mPool.clear();
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java98 private final SQLiteConnectionPool mPool; field in class:SQLiteConnection
164 mPool = pool;
165 mRecentOperations = new OperationLog(mPool);
178 if (mPool != null && mConnectionPtr != 0) {
179 mPool.onConnectionLeaked();
1314 private final SQLiteConnectionPool mPool; field in class:SQLiteConnection.OperationLog
1317 mPool = pool;
1403 mPool.onStatementExecuted(execTime);
/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceTypes.h559 const ResStringPool* mPool = nullptr; member in class:android::StringPoolRef

Completed in 115 milliseconds