Home
last modified time | relevance | path

Searched refs:getBuf (Results 1 – 6 of 6) sorted by relevance

/frameworks/volley/tests/src/com/android/volley/toolbox/
DByteArrayPoolTest.java25 byte[] buf1 = pool.getBuf(16); in testReusesBuffer()
26 byte[] buf2 = pool.getBuf(16); in testReusesBuffer()
31 byte[] buf3 = pool.getBuf(16); in testReusesBuffer()
32 byte[] buf4 = pool.getBuf(16); in testReusesBuffer()
41 byte[] buf1 = pool.getBuf(16); in testObeysSizeLimit()
42 byte[] buf2 = pool.getBuf(16); in testObeysSizeLimit()
43 byte[] buf3 = pool.getBuf(16); in testObeysSizeLimit()
49 byte[] buf4 = pool.getBuf(16); in testObeysSizeLimit()
50 byte[] buf5 = pool.getBuf(16); in testObeysSizeLimit()
51 byte[] buf6 = pool.getBuf(16); in testObeysSizeLimit()
[all …]
/frameworks/volley/src/com/android/volley/toolbox/
DPoolingByteArrayOutputStream.java53 buf = mPool.getBuf(Math.max(size, DEFAULT_SIZE)); in PoolingByteArrayOutputStream()
76 byte[] newbuf = mPool.getBuf((count + i) * 2); in expand()
DByteArrayPool.java91 public synchronized byte[] getBuf(int len) { in getBuf() method in ByteArrayPool
DBasicNetwork.java210 buffer = mPool.getBuf(1024); in entityToBytes()
/frameworks/base/core/java/android/net/http/
DConnection.java516 byte[] getBuf() { in getBuf() method in Connection
DRequest.java294 buf = mConnection.getBuf(); in readResponse()