/frameworks/base/core/java/android/util/ |
D | Pools.java | 83 private final Object[] mPool; field in Pools.SimplePool 99 mPool = new Object[maxPoolSize]; in SimplePool() 108 T instance = (T) mPool[lastPooledIndex]; in acquire() 109 mPool[lastPooledIndex] = null; in acquire() 122 if (mPoolSize < mPool.length) { in release() 123 mPool[mPoolSize] = instance; in release() 132 if (mPool[i] == instance) { in isInPool()
|
/frameworks/base/core/java/android/os/ |
D | PooledStringReader.java | 31 private final String[] mPool; field in PooledStringReader 36 mPool = new String[size]; in PooledStringReader() 40 return mPool.length; in getStringCount() 46 return mPool[idx]; in readString() 50 mPool[idx] = str; in readString()
|
D | PooledStringWriter.java | 37 private final HashMap<String, Integer> mPool; field in PooledStringWriter 53 mPool = new HashMap<>(); in PooledStringWriter() 59 final Integer cur = mPool.get(str); in writeString() 63 mPool.put(str, mNext); in writeString() 71 return mPool.size(); in getStringCount()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | ViewPool.java | 39 LinkedList<V> mPool = new LinkedList<V>(); field in ViewPool 50 mPool.push(v); in returnViewToPool() 57 if (mPool.isEmpty()) { in pickUpViewFromPool() 62 Iterator<V> iter = mPool.iterator(); in pickUpViewFromPool() 73 v = mPool.pop(); in pickUpViewFromPool() 84 return mPool; in getViews()
|
/frameworks/minikin/libs/minikin/ |
D | WordBreaker.cpp | 48 for (auto i = mPool.begin(); i != mPool.end(); i++) { in acquire() 51 mPool.erase(i); in acquire() 65 if (mPool.size() >= MAX_POOL_SIZE) { in release() 71 mPool.push_front(std::move(slot)); in release() 74 WordBreaker::WordBreaker() : mPool(&ICULineBreakerPoolImpl::getInstance()) {} in WordBreaker() 76 WordBreaker::WordBreaker(ICULineBreakerPool* pool) : mPool(pool) {} in WordBreaker() 79 mIcuBreaker = mPool->acquire(locale); in followingWithLocale() 317 mPool->release(std::move(mIcuBreaker)); in finish()
|
D | WordBreaker.h | 81 return mPool.size(); in getPoolSize() 85 std::list<Slot> mPool GUARDED_BY(mMutex); 136 ICULineBreakerPool* mPool; variable
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | UnrefedPooledCache.java | 47 private final LinkedBlockingQueue<V> mPool; field in UnrefedPooledCache 61 mPool = new LinkedBlockingQueue<V>(); in UnrefedPooledCache() 116 mPool.offer(value); in offer() 123 final V pooled = mPool.poll(); in poll() 177 sb.append(mPool.size()); in toDebugString() 185 for (V val : mPool) { in toDebugString() 236 mPool.clear(); in clear()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBuffers.cpp | 174 mPool.begin(), mPool.end(), in newBuffer() 178 if (it != mPool.end()) { in newBuffer() 180 mPool.erase(it); in newBuffer() 184 while (!mPool.empty()) { in newBuffer() 185 mUsedSize -= mPool.back().capacity(); in newBuffer() 186 mPool.pop_back(); in newBuffer() 203 mPool(pool) { in VectorBuffer() 207 std::shared_ptr<LocalBufferPool> pool = mPool.lock(); in ~VectorBuffer() 217 mPool.push_front(std::move(vec)); in returnVector() 529 array->setPool(mPool); in toArrayMode() [all …]
|
D | CCodecBuffers.h | 99 void setPool(const std::shared_ptr<C2BlockPool> &pool) { mPool = pool; } in setPool() 150 std::shared_ptr<C2BlockPool> mPool; variable 279 std::weak_ptr<LocalBufferPool> mPool; variable 285 std::list<std::vector<uint8_t>> mPool; variable
|
/frameworks/layoutlib/bridge/src/android/util/imagepool/ |
D | ImagePoolImpl.java | 43 @VisibleForTesting final Map<String, Bucket> mPool = new HashMap<>(); field in ImagePoolImpl 68 final Bucket existingBucket = ImagePoolHelper.getBucket(mPool, metaData, mPolicy); in acquire() 146 for (Bucket bucket : mPool.values()) { in dispose()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteConnection.java | 100 private final SQLiteConnectionPool mPool; field in SQLiteConnection 166 mPool = pool; in SQLiteConnection() 167 mRecentOperations = new OperationLog(mPool); in SQLiteConnection() 180 if (mPool != null && mConnectionPtr != 0) { in finalize() 181 mPool.onConnectionLeaked(); in finalize() 1397 private final SQLiteConnectionPool mPool; field in SQLiteConnection.OperationLog 1402 mPool = pool; in OperationLog() 1426 operation.mPath = mPool.getPath(); in beginOperation() 1502 mPool.onStatementExecuted(execTime); in endOperationDeferLogLocked()
|
/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2BufferUtils.cpp | 483 : mBlock(block), mPool(pool) { in Impl() 487 mPool->release(mBlock); in ~Impl() 500 std::shared_ptr<MemoryBlockPoolImpl> mPool; member
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | Component.cpp | 342 mPool{pool} { 383 std::shared_ptr<C2BlockPool> mPool; member
|
/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/ |
D | ImagePoolImplTest.java | 152 for (Bucket bucket : ((ImagePoolImpl) pool).mPool.values()) { in testBufferedImageReleased()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 561 const ResStringPool* mPool = nullptr;
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 6243 : mPool(pool), mIndex(index) {} in StringPoolRef() 6246 if (mPool != NULL) { in string8() 6247 return mPool->string8At(mIndex, outLen); in string8() 6256 if (mPool != NULL) { in string16() 6257 return mPool->stringAt(mIndex, outLen); in string16()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 17362 Landroid/database/sqlite/SQLiteConnection$OperationLog;->mPool:Landroid/database/sqlite/SQLiteConne… 17413 Landroid/database/sqlite/SQLiteConnection;->mPool:Landroid/database/sqlite/SQLiteConnectionPool; 52005 Landroid/os/PooledStringReader;->mPool:[Ljava/lang/String; 52012 Landroid/os/PooledStringWriter;->mPool:Ljava/util/HashMap;
|