Searched defs:mPool (Results 1 - 4 of 4) sorted by relevance

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

Completed in 99 milliseconds