Searched defs:contentLength (Results 1 – 7 of 7) sorted by relevance
294 private static long saveIntoFile(String fileName, @Nullable InputStream in, long contentLength) in saveIntoFile()306 private static byte[] getByteArray(@Nullable InputStream in, long contentLength) in getByteArray()
96 public void setFixedLengthStreamingMode(int contentLength) { in setFixedLengthStreamingMode()
312 long contentLength = CONTENT_LENGTH_UNKNOWN; in processDownload() local373 long contentLength, @NonNull DownloadTask task, in downloadToFile()436 private Integer getProgress(long contentLength, long totalRead) { in getProgress()
1380 String mimetype, long contentLength) { in onDownloadStart()
244 int contentLength = STRING_1K.length() * numPackets; in buildContinuingResponse() local
789 private byte[] getByteArray(@Nullable InputStream in, long contentLength) throws IOException { in getByteArray()
3084 long contentLength = urlConnection.getContentLengthLong(); in sendHttpProbe() local3174 boolean matchesHttpContentLength(final long contentLength) { in matchesHttpContentLength()