Home
last modified time | relevance | path

Searched refs:ByteArrayPool (Results 1 – 5 of 5) sorted by relevance

/frameworks/volley/tests/src/com/android/volley/toolbox/
DPoolingByteArrayOutputStreamTest.java28 ByteArrayPool pool = new ByteArrayPool(32768); in testPooledOneBuffer()
35 ByteArrayPool pool = new ByteArrayPool(32768); in testPooledIndividualWrites()
42 ByteArrayPool pool = new ByteArrayPool(0); in testUnpooled()
49 ByteArrayPool pool = new ByteArrayPool(0); in testUnpooledIndividualWrites()
55 private void writeOneBuffer(ByteArrayPool pool) throws IOException { in writeOneBuffer()
66 private void writeBytesIndividually(ByteArrayPool pool) { in writeBytesIndividually()
DByteArrayPoolTest.java23 ByteArrayPool pool = new ByteArrayPool(32); in testReusesBuffer()
39 ByteArrayPool pool = new ByteArrayPool(32); in testObeysSizeLimit()
60 ByteArrayPool pool = new ByteArrayPool(32); in testReturnsBufferWithRightSize()
/frameworks/volley/src/com/android/volley/toolbox/
DPoolingByteArrayOutputStream.java33 private final ByteArrayPool mPool;
39 public PoolingByteArrayOutputStream(ByteArrayPool pool) { in PoolingByteArrayOutputStream()
51 public PoolingByteArrayOutputStream(ByteArrayPool pool, int size) { in PoolingByteArrayOutputStream()
DByteArrayPool.java54 public class ByteArrayPool { class
79 public ByteArrayPool(int sizeLimit) { in ByteArrayPool() method in ByteArrayPool
DBasicNetwork.java62 protected final ByteArrayPool mPool;
70 this(httpStack, new ByteArrayPool(DEFAULT_POOL_SIZE)); in BasicNetwork()
77 public BasicNetwork(HttpStack httpStack, ByteArrayPool pool) { in BasicNetwork()