Searched refs:mPool (Results 1 – 8 of 8) sorted by relevance
33 private final ByteArrayPool mPool; field in PoolingByteArrayOutputStream52 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()75 byte[] newbuf = mPool.getBuf((count + i) * 2); in expand()77 mPool.returnBuf(buf); in expand()
43 private final ByteArrayPool mPool; field in BasicAsyncNetwork51 mPool = pool; in BasicAsyncNetwork()241 inputStream, httpResponse.getContentLength(), mPool); in run()264 private ByteArrayPool mPool; field in BasicAsyncNetwork.Builder268 mPool = null; in Builder()276 mPool = pool; in setPool()282 if (mPool == null) { in build()283 mPool = new ByteArrayPool(DEFAULT_POOL_SIZE); in build()285 return new BasicAsyncNetwork(mAsyncStack, mPool); in build()
45 protected final ByteArrayPool mPool; field in BasicNetwork69 mPool = pool; in BasicNetwork()89 mPool = pool; in BasicNetwork()119 inputStream, httpResponse.getContentLength(), mPool); in performRequest()
31 private final Set<DiscardableReference<?>> mPool; field in DiscardableReferencePool35 mPool = Collections.newSetFromMap(map); in DiscardableReferencePool()76 mPool.add(reference); in put()85 for (DiscardableReference<?> ref : mPool) { in drain()88 mPool.clear(); in drain()
10 private final ResStringPool mPool; field in StringPoolRef14 this.mPool = pool; in StringPoolRef()19 return mPool.stringAt(mIndex); in string()
60 private final ByteArrayPool mPool; field in CronetHttpStack78 mPool = pool; in CronetHttpStack()114 mPool, getContentLength(urlResponseInfo)); in executeRequest()406 private ByteArrayPool mPool; field in CronetHttpStack.Builder425 mPool = pool; in setPool()511 if (mPool == null) { in build()512 mPool = new ByteArrayPool(DEFAULT_POOL_SIZE); in build()525 mPool, in build()
46 void setWorkerThreadPool(std::shared_ptr<WorkerThreadPool> pool) { mPool = pool; } in setWorkerThreadPool()59 std::shared_ptr<WorkerThreadPool> mPool;
6384 …<var-decl name='mPool' type-id='5b283e7a' visibility='default' filepath='frameworks/base/libs/andr…