/frameworks/base/core/java/android/util/ |
Pools.java | 26 public static <T extends Poolable<T>> Pool<T> simplePool(PoolableManager<T> manager) { 30 public static <T extends Poolable<T>> Pool<T> finitePool(PoolableManager<T> manager, int limit) { 34 public static <T extends Poolable<T>> Pool<T> synchronizedPool(Pool<T> pool) { 35 return new SynchronizedPool<T>(pool); 38 public static <T extends Poolable<T>> Pool<T> synchronizedPool(Pool<T> pool, Object lock) { 39 return new SynchronizedPool<T>(pool, lock) [all...] |
Pool.java | 22 public interface Pool<T extends Poolable<T>> {
|
SynchronizedPool.java | 23 class SynchronizedPool<T extends Poolable<T>> implements Pool<T> { 24 private final Pool<T> mPool; 27 public SynchronizedPool(Pool<T> pool) { 28 mPool = pool; 32 public SynchronizedPool(Pool<T> pool, Object lock) { 33 mPool = pool;
|
FinitePool.java | 22 class FinitePool<T extends Poolable<T>> implements Pool<T> { 24 * Factory used to create new pool objects 28 * Maximum number of objects in the pool 41 * Number of objects in the pool 52 if (limit <= 0) throw new IllegalArgumentException("The pool limit must be > 0");
|
/frameworks/base/include/utils/ |
Pool.h | 37 * A homogeneous typed memory pool for fixed size objects. 41 class Pool : private PoolImpl { 43 /* Creates an initially empty pool. */ 44 Pool() : PoolImpl(sizeof(T)) { } 46 /* Destroys the pool. 47 * Assumes that the pool is empty. */ 48 ~Pool() { } 50 /* Allocates an object from the pool, growing the pool if needed. */ 60 /* Frees an object from the pool. * [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
Pool.java | 19 public final class Pool<E extends Object> { 23 public Pool(E[] objects) {
|
GridCameraManager.java | 23 private static final Pool<Vector3f> sPool; 30 sPool = new Pool<Vector3f>(vectorPool); 40 final Pool<Vector3f> pool = sPool; local 51 final Vector3f position = pool.create(); 52 final Vector3f deltaAnchorPosition = pool.create(); 71 pool.delete(position); 72 pool.delete(deltaAnchorPosition); 88 final Pool<Vector3f> pool = sPool local 158 Pool<Vector3f> pool = sPool; local [all...] |
GridLayer.java | 60 private final Pool<Vector3f> mTempVec; 61 private final Pool<Vector3f> mTempVecAlt; 141 mTempVec = new Pool<Vector3f>(vectorPool); 142 mTempVecAlt = new Pool<Vector3f>(vectorPoolRenderThread); 460 Pool<Vector3f> pool = mTempVec; local 463 Vector3f position = pool.create(); 464 Vector3f deltaAnchorPosition = pool.create(); 476 pool.delete(deltaAnchorPosition); 477 pool.delete(position) 615 Pool<Vector3f> pool = mTempVec; local 863 Pool<Vector3f> pool = mTempVec; local 1045 Pool<Vector3f> pool = mTempVecAlt; local 1217 Pool<Vector3f> pool = mTempVec; local [all...] |
GridInputProcessor.java | 60 private Pool<Vector3f> mPool; 77 public GridInputProcessor(Context context, GridCamera camera, GridLayer layer, RenderView view, Pool<Vector3f> pool, 79 mPool = pool; 404 Pool<Vector3f> pool = mPool; local 405 Vector3f firstPosition = pool.create(); 406 Vector3f lastPosition = pool.create(); 407 Vector3f deltaAnchorPosition = pool.create(); 408 Vector3f worldPosDelta = pool.create() 549 Pool<Vector3f> pool = mPool; local [all...] |
/frameworks/base/libs/utils/ |
Pool.cpp | 4 // A simple memory pool. 6 #define LOG_TAG "Pool" 11 #include <utils/Pool.h> 17 // TODO Provide a real implementation of a pool. This is just a stub for initial development. 28 LOG_ALWAYS_FATAL_IF(ptr == NULL, "Cannot allocate new pool object."); 33 LOG_ALWAYS_FATAL_IF(obj == NULL, "Caller attempted to free NULL pool object.");
|
Android.mk | 30 Pool.cpp \
|
/external/v8/src/ |
global-handles.h | 136 class Pool;
|
global-handles.cc | 216 class GlobalHandles::Pool BASE_EMBEDDED { 218 Pool() { 268 static GlobalHandles::Pool pool_;
|
/external/libvpx/vp8/common/arm/armv6/ |
dc_only_idct_add_v6.asm | 65 ; Constant Pool
|
iwalsh_v6.asm | 150 ; Constant Pool
|
/frameworks/base/core/java/android/view/ |
VelocityTracker.java | 22 import android.util.Pool; 45 private static final Pool<VelocityTracker> sPool = Pools.synchronizedPool(
|
/frameworks/base/include/ui/ |
InputDispatcher.h | 29 #include <utils/Pool.h> 685 Pool<InjectionState> mInjectionStatePool; 686 Pool<ConfigurationChangedEntry> mConfigurationChangeEntryPool; 687 Pool<KeyEntry> mKeyEntryPool; 688 Pool<MotionEntry> mMotionEntryPool; 689 Pool<MotionSample> mMotionSamplePool; 690 Pool<DispatchEntry> mDispatchEntryPool; 691 Pool<CommandEntry> mCommandEntryPool; [all...] |
/cts/tools/utils/ |
buildCts.py | 26 from multiprocessing import Pool 77 pool = Pool(processes=16) 80 pool.apply_async(GenerateSignatureCheckDescription, [self.test_repository]) 81 pool.apply_async(GenerateReferenceAppDescription, [self.test_repository]) 82 pool.apply_async(GenerateAppSecurityDescription, [self.temp_dir, 88 pool.apply_async(GenerateTestDescription, [self.test_root, self.temp_dir, 91 pool.close() 92 pool.join()
|
/external/libvpx/vp8/decoder/arm/neon/ |
dequant_idct_neon.asm | 125 ; Constant Pool
|
idct_dequant_dc_full_2x_neon.asm | 200 ; Constant Pool
|
idct_dequant_full_2x_neon.asm | 192 ; Constant Pool
|
/external/ppp/pppd/plugins/radius/etc/ |
dictionary.ascend | 40 ATTRIBUTE Ascend-Assign-IP-Global-Pool 146 string 42 ATTRIBUTE Ascend-DHCP-Pool-Number 148 integer 111 ATTRIBUTE Ascend-IP-Pool-Definition 217 string 112 ATTRIBUTE Ascend-Assign-IP-Pool 218 integer
|
/external/libvpx/vp8/decoder/arm/armv6/ |
dequant_idct_v6.asm | 191 ; Constant Pool
|
dequant_dc_idct_v6.asm | 213 ; Constant Pool
|
/external/protobuf/src/google/protobuf/ |
descriptor_database_unittest.cc | 478 INSTANTIATE_TEST_CASE_P(Pool, DescriptorDatabaseTest,
|