/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/ |
D | TexturePool.cpp | 29 mPool.clear(); in allocatePool() 31 mPool.resize(kMinPoolSize); in allocatePool() 32 std::generate_n(mPool.begin(), kMinPoolSize, [&]() { in allocatePool() 47 if (mPool.empty()) { in borrowTexture() 51 const auto entry = mPool.front(); in borrowTexture() 52 mPool.pop_front(); in borrowTexture() 74 if (mPool.size() == kMaxPoolSize) { in returnTexture() 80 mPool.push_back({std::move(texture), fence}); in returnTexture() 109 mEnabled ? "enabled" : "disabled", mPool.size(), mSize.width, mSize.height); in dump()
|
/frameworks/base/core/java/android/util/ |
D | Pools.java | 84 private final Object[] mPool; field in Pools.SimplePool 100 mPool = new Object[maxPoolSize]; in SimplePool() 109 T instance = (T) mPool[lastPooledIndex]; in acquire() 110 mPool[lastPooledIndex] = null; in acquire() 123 if (mPoolSize < mPool.length) { in release() 124 mPool[mPoolSize] = instance; in release() 133 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/core/java/com/android/internal/util/ |
D | StringPool.java | 29 private final String[] mPool = new String[512]; field in StringPool 67 int index = hashCode & (mPool.length - 1); in get() 69 String pooled = mPool[index]; in get() 75 mPool[index] = result; in get()
|
/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/minikin/libs/minikin/ |
D | WordBreaker.cpp | 85 for (auto i = mPool.begin(); i != mPool.end(); i++) { in acquire() 88 mPool.erase(i); in acquire() 102 if (mPool.size() >= MAX_POOL_SIZE) { in release() 108 mPool.push_front(std::move(slot)); in release() 112 : mPool(&ICULineBreakerPoolImpl::getInstance()), mUText(nullptr, &utext_close) {} in WordBreaker() 114 WordBreaker::WordBreaker(ICULineBreakerPool* pool) : mPool(pool), mUText(nullptr, &utext_close) {} in WordBreaker() 121 mIcuBreaker = mPool->acquire(locale, lbStyle, lbWordStyle); in followingWithLocale() 357 mPool->release(std::move(mIcuBreaker)); in finish()
|
D | WordBreaker.h | 100 return mPool.size(); in getPoolSize() 104 std::list<Slot> mPool GUARDED_BY(mMutex); 183 ICULineBreakerPool* mPool; variable
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBuffers.cpp | 616 mPool.begin(), mPool.end(), in newBuffer() 620 if (it != mPool.end()) { in newBuffer() 622 mPool.erase(it); in newBuffer() 626 while (!mPool.empty()) { in newBuffer() 627 mUsedSize -= mPool.back().capacity(); in newBuffer() 628 mPool.pop_back(); in newBuffer() 650 mPool(pool) { in VectorBuffer() 654 std::shared_ptr<LocalBufferPool> pool = mPool.lock(); in ~VectorBuffer() 664 mPool.push_front(std::move(vec)); in returnVector() 1017 array->setPool(mPool); in toArrayMode() [all …]
|
D | CCodecBuffers.h | 120 void setPool(const std::shared_ptr<C2BlockPool> &pool) { mPool = pool; } in setPool() 171 std::shared_ptr<C2BlockPool> mPool; variable 539 std::weak_ptr<LocalBufferPool> mPool; variable 545 std::list<std::vector<uint8_t>> mPool; variable
|
/frameworks/av/media/codec2/sfplugin/tests/ |
D | FrameReassembler_test.cpp | 44 mInitStatus = GetCodec2BlockPool(C2BlockPool::BASIC_LINEAR, nullptr, &mPool); in FrameReassemblerTest() 60 mPool, in testPushSameSize() 138 std::shared_ptr<C2BlockPool> mPool; member in android::FrameReassemblerTest
|
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/ |
D | ViewCapture.java | 92 private ViewRef mPool = new ViewRef(); field in ViewCapture 109 end.next = mPool; in addToPool() 110 mPool = start; in addToPool() 466 if (mPool != null) { 467 ref = mPool; 468 mPool = mPool.next;
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteConnection.java | 109 private final SQLiteConnectionPool mPool; field in SQLiteConnection 187 mPool = pool; in SQLiteConnection() 188 mRecentOperations = new OperationLog(mPool); in SQLiteConnection() 201 if (mPool != null && mConnectionPtr != 0) { in finalize() 202 mPool.onConnectionLeaked(); in finalize() 1072 ++mPool.mTotalPrepareStatements; in acquirePreparedStatementLI() 1097 ++mPool.mTotalPrepareStatementCacheMiss; in acquirePreparedStatementLI() 1606 private final SQLiteConnectionPool mPool; field in SQLiteConnection.OperationLog 1611 mPool = pool; in OperationLog() 1635 operation.mPath = mPool.getPath(); in beginOperation() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/ |
D | TexturePool.h | 98 std::deque<Entry> mPool; variable
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | TexturePoolTest.cpp | 37 size_t getPoolSize() const { return mPool.size(); } in getPoolSize()
|
/frameworks/av/media/codec2/hal/aidl/ |
D | Component.cpp | 308 mPool{pool} { 349 std::shared_ptr<C2BlockPool> mPool; member
|
/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2BufferUtils.cpp | 740 : mBlock(block), mPool(pool) { in Impl() 744 mPool->release(mBlock); in ~Impl() 757 std::shared_ptr<MemoryBlockPoolImpl> mPool; member
|
/frameworks/av/media/codec2/hal/hidl/1.0/utils/ |
D | Component.cpp | 423 mPool{pool} { 464 std::shared_ptr<C2BlockPool> mPool; member
|
/frameworks/av/media/codec2/hal/hidl/1.1/utils/ |
D | Component.cpp | 429 mPool{pool} { 470 std::shared_ptr<C2BlockPool> mPool; member
|
/frameworks/av/media/codec2/hal/hidl/1.2/utils/ |
D | Component.cpp | 425 mPool{pool} { 466 std::shared_ptr<C2BlockPool> mPool; member
|
/frameworks/base/config/ |
D | dirty-image-objects | 175 Landroid/graphics/Region;.sPool:Landroid/util/Pools$SynchronizedPool;.mPool:[Ljava/lang/Object; 11 377 …cksPool:Lcom/android/internal/util/function/pooled/PooledLambdaImpl$Pool;.mPool:[Ljava/lang/Object… 700 …;.sPool:Lcom/android/internal/util/function/pooled/PooledLambdaImpl$Pool;.mPool:[Ljava/lang/Object… 760 …ildListForAutoFillOrContentCapture;.sPool:Landroid/util/Pools$SimplePool;.mPool:[Ljava/lang/Object… 882 Landroid/text/StaticLayout$Builder;.sPool:Landroid/util/Pools$SynchronizedPool;.mPool:[Ljava/lang/O… 895 Landroid/text/DynamicLayout$Builder;.sPool:Landroid/util/Pools$SynchronizedPool;.mPool:[Ljava/lang/… 1397 Landroid/text/MeasuredParagraph;.sPool:Landroid/util/Pools$SynchronizedPool;.mPool:[Ljava/lang/Obje…
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 592 const ResStringPool* mPool = nullptr;
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 6514 : mPool(pool), mIndex(index) {} in StringPoolRef() 6517 if (LIKELY(mPool != NULL)) { in string8() 6518 return mPool->string8At(mIndex); in string8() 6524 if (LIKELY(mPool != NULL)) { in string16() 6525 return mPool->stringAt(mIndex); in string16()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 14475 Landroid/database/sqlite/SQLiteConnection$OperationLog;->mPool:Landroid/database/sqlite/SQLiteConne… 14526 Landroid/database/sqlite/SQLiteConnection;->mPool:Landroid/database/sqlite/SQLiteConnectionPool; 37484 Landroid/os/PooledStringReader;->mPool:[Ljava/lang/String; 37491 Landroid/os/PooledStringWriter;->mPool:Ljava/util/HashMap;
|