Home
last modified time | relevance | path

Searched refs:mPool (Results 1 – 4 of 4) sorted by relevance

/frameworks/volley/src/com/android/volley/toolbox/
DPoolingByteArrayOutputStream.java33 private final ByteArrayPool mPool; field in PoolingByteArrayOutputStream
52 mPool = pool; in PoolingByteArrayOutputStream()
53 buf = mPool.getBuf(Math.max(size, DEFAULT_SIZE)); in PoolingByteArrayOutputStream()
58 mPool.returnBuf(buf); in close()
65 mPool.returnBuf(buf); in finalize()
76 byte[] newbuf = mPool.getBuf((count + i) * 2); in expand()
78 mPool.returnBuf(buf); in expand()
DBasicNetwork.java62 protected final ByteArrayPool mPool; field in BasicNetwork
79 mPool = pool; in BasicNetwork()
203 new PoolingByteArrayOutputStream(mPool, (int) entity.getContentLength()); in entityToBytes()
210 buffer = mPool.getBuf(1024); in entityToBytes()
225 mPool.returnBuf(buffer); in entityToBytes()
/frameworks/base/core/java/android/util/
DPools.java78 private final Object[] mPool; field in Pools.SimplePool
93 mPool = new Object[maxPoolSize]; in SimplePool()
101 T instance = (T) mPool[lastPooledIndex]; in acquire()
102 mPool[lastPooledIndex] = null; in acquire()
114 if (mPoolSize < mPool.length) { in release()
115 mPool[mPoolSize] = instance; in release()
124 if (mPool[i] == instance) { in isInPool()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnection.java98 private final SQLiteConnectionPool mPool; field in SQLiteConnection
163 mPool = pool; in SQLiteConnection()
176 if (mPool != null && mConnectionPtr != 0) { in finalize()
177 mPool.onConnectionLeaked(); in finalize()