Home
last modified time | relevance | path

Searched refs:MAX_POOL_SIZE (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/widget/
DExpandableListPosition.java30 private static final int MAX_POOL_SIZE = 5; field in ExpandableListPosition
32 new ArrayList<ExpandableListPosition>(MAX_POOL_SIZE);
134 if (sPool.size() < MAX_POOL_SIZE) { in recycle()
DExpandableListConnector.java956 private static final int MAX_POOL_SIZE = 5; field in ExpandableListConnector.PositionMetadata
958 new ArrayList<PositionMetadata>(MAX_POOL_SIZE);
1019 if (sPool.size() < MAX_POOL_SIZE) { in recycle()
/frameworks/base/core/java/android/app/servertransaction/
DObjectPool.java35 private static final int MAX_POOL_SIZE = 50; field in ObjectPool
80 if (size < MAX_POOL_SIZE) { in recycle()
/frameworks/base/core/java/com/android/internal/os/
DSomeArgs.java32 private static final int MAX_POOL_SIZE = 10; field in SomeArgs
108 if (sPoolSize < MAX_POOL_SIZE) { in recycle()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DKeyboardInterceptor.java157 private static final int MAX_POOL_SIZE = 32; field in KeyboardInterceptor.KeyEventHolder
159 new Pools.SimplePool<>(MAX_POOL_SIZE);
DKeyEventDispatcher.java53 private static final int MAX_POOL_SIZE = 10; field in KeyEventDispatcher
55 private final Pool<PendingKeyEvent> mPendingEventPool = new Pools.SimplePool<>(MAX_POOL_SIZE);
/frameworks/minikin/tests/unittest/
DWordBreakerTests.cpp621 using ICULineBreakerPoolImpl::MAX_POOL_SIZE;
706 const size_t MAX_POOL_SIZE = TestableICULineBreakerPoolImpl::MAX_POOL_SIZE; in TEST() local
711 ICULineBreakerPool::Slot slots[MAX_POOL_SIZE * 2]; in TEST()
714 for (size_t i = 0; i < MAX_POOL_SIZE * 2; i++) { in TEST()
719 for (size_t i = 0; i < MAX_POOL_SIZE; i++) { in TEST()
724 for (size_t i = MAX_POOL_SIZE; i < MAX_POOL_SIZE * 2; i++) { in TEST()
726 EXPECT_EQ(MAX_POOL_SIZE, pool.getPoolSize()); in TEST()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRILRequest.java45 private static final int MAX_POOL_SIZE = 4; field in RILRequest
187 if (sPoolSize < MAX_POOL_SIZE) { in release()
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DBackupTransportClient.java433 private static final int MAX_POOL_SIZE = 100; field in BackupTransportClient.TransportStatusCallbackPool
454 if (mCallbackPool.size() > MAX_POOL_SIZE) { in recycle()
472 if (mCallbackPool.size() < MAX_POOL_SIZE) { in cancelActiveCallbacks()
/frameworks/base/core/java/android/view/
DWindowInfo.java39 private static final int MAX_POOL_SIZE = 10; field in WindowInfo
42 new Pools.SynchronizedPool<WindowInfo>(MAX_POOL_SIZE);
DViewGroup.java9064 private static final int MAX_POOL_SIZE = 32; field in ViewGroup.ChildListForAutoFillOrContentCapture
9067 new Pools.SimplePool<>(MAX_POOL_SIZE);
9089 private static final int MAX_POOL_SIZE = 32; field in ViewGroup.ChildListForAccessibility
9092 new SynchronizedPool<ChildListForAccessibility>(MAX_POOL_SIZE);
9174 private static final int MAX_POOL_SIZE = 32; field in ViewGroup.ViewLocationHolder
9177 new SynchronizedPool<ViewLocationHolder>(MAX_POOL_SIZE);
/frameworks/base/graphics/java/android/graphics/
DRegion.java28 private static final int MAX_POOL_SIZE = 10; field in Region
31 new SynchronizedPool<Region>(MAX_POOL_SIZE);
/frameworks/base/core/java/android/os/
DMessage.java147 private static final int MAX_POOL_SIZE = 50; field in Message
343 if (sPoolSize < MAX_POOL_SIZE) { in recycleUnchecked()
/frameworks/base/core/java/com/android/internal/statusbar/
DNotificationVisibility.java31 private static final int MAX_POOL_SIZE = 25; field in NotificationVisibility
/frameworks/minikin/libs/minikin/
DWordBreaker.h96 static constexpr size_t MAX_POOL_SIZE = 4;
DWordBreaker.cpp102 if (mPool.size() >= MAX_POOL_SIZE) { in release()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityWindowInfo.java121 private static final int MAX_POOL_SIZE = 10; field in AccessibilityWindowInfo
123 new SynchronizedPool<AccessibilityWindowInfo>(MAX_POOL_SIZE);
/frameworks/base/core/java/android/content/res/
DElement.java38 private static final int MAX_POOL_SIZE = 128; field in Element
162 ThreadLocal.withInitial(() -> new SimplePool<>(MAX_POOL_SIZE));
/frameworks/base/core/java/com/android/internal/util/function/pooled/
DPooledLambdaImpl.java81 private static final int MAX_POOL_SIZE = 50; field in PooledLambdaImpl
86 super(MAX_POOL_SIZE, lock); in Pool()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandler.java1693 private static final int MAX_POOL_SIZE = 10; field in FullScreenMagnificationGestureHandler.MotionEventInfo
1742 if (sPoolSize < MAX_POOL_SIZE) { in recycle()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt18386 Landroid/graphics/Region;->MAX_POOL_SIZE:I
37076 Landroid/os/Message;->MAX_POOL_SIZE:I
57812 Landroid/view/accessibility/AccessibilityEvent;->MAX_POOL_SIZE:I
57932 Landroid/view/accessibility/AccessibilityNodeInfo$CollectionInfo;->MAX_POOL_SIZE:I
57942 Landroid/view/accessibility/AccessibilityNodeInfo$CollectionItemInfo;->MAX_POOL_SIZE:I
57954 Landroid/view/accessibility/AccessibilityNodeInfo$RangeInfo;->MAX_POOL_SIZE:I
58026 Landroid/view/accessibility/AccessibilityNodeInfo;->MAX_POOL_SIZE:I
58089 Landroid/view/accessibility/AccessibilityRecord;->MAX_POOL_SIZE:I
58145 Landroid/view/accessibility/AccessibilityWindowInfo;->MAX_POOL_SIZE:I
60686 Landroid/view/MagnificationSpec;->MAX_POOL_SIZE:I
[all …]