Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/util/net/
DHttpHelper.java103 int currBufPos = 0; in doGet() local
109 while ((bytesRead = remote.read(bufResult, currBufPos, in doGet()
110 bufResult.length - currBufPos)) != -1) { in doGet()
111 currBufPos += bytesRead; in doGet()
112 if (currBufPos >= bufResult.length) { in doGet()
120 return new String(bufResult, 0, currBufPos); in doGet()
374 int currBufPos = 0; in run() local
377 while ((bytesRead = inputStream.read(bufResult, currBufPos, in run()
378 bufResult.length - currBufPos)) != -1) { in run()
379 currBufPos += bytesRead; in run()
[all …]