Home
last modified time | relevance | path

Searched defs:contentLength (Results 1 – 25 of 127) sorted by relevance

123456

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DResponseBody.java40 public abstract long contentLength() throws IOException; in contentLength() method in ResponseBody
49 long contentLength = contentLength(); in bytes() local
120 final MediaType contentType, final long contentLength, final BufferedSource content) { in create()
127 @Override public long contentLength() { in create() method in ResponseBody
DRequestBody.java35 public long contentLength() throws IOException { in contentLength() method in RequestBody
66 @Override public long contentLength() throws IOException { in create() method in RequestBody
DMultipartBuilder.java201 private long contentLength = -1L; field in MultipartBuilder.MultipartRequestBody
217 @Override public long contentLength() throws IOException { in contentLength() method in MultipartBuilder.MultipartRequestBody
261 long contentLength = body.contentLength(); in writeOrCountBytes() local
DCache.java662 String contentLength = responseHeaders.get("Content-Length"); in response() local
697 private final String contentLength; field in CacheResponseBody
700 String contentType, String contentLength) { in CacheResponseBody()
718 @Override public long contentLength() { in contentLength() method in CacheResponseBody
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DResponseBody.java44 public abstract long contentLength() throws IOException; in contentLength() method in ResponseBody
53 long contentLength = contentLength(); in bytes() local
124 final MediaType contentType, final long contentLength, final BufferedSource content) { in create()
131 @Override public long contentLength() { in create() method in ResponseBody
DRequestBody.java39 public long contentLength() throws IOException { in contentLength() method in RequestBody
70 @Override public long contentLength() throws IOException { in create() method in RequestBody
DMultipartBuilder.java203 private long contentLength = -1L; field in MultipartBuilder.MultipartRequestBody
219 @Override public long contentLength() throws IOException { in contentLength() method in MultipartBuilder.MultipartRequestBody
263 long contentLength = body.contentLength(); in writeOrCountBytes() local
DCache.java664 String contentLength = responseHeaders.get("Content-Length"); in response() local
699 private final String contentLength; field in CacheResponseBody
702 String contentType, String contentLength) { in CacheResponseBody()
720 @Override public long contentLength() { in contentLength() method in CacheResponseBody
/external/nanohttpd/core/src/test/java/fi/iki/elonen/
DHttpPostRequestTest.java80 …int contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.lengt… in preparePostWithMultipartForm() local
125 …int contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.lengt… in testPostWithMultipleMultipartFormFields() local
144 …int contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.lengt… in testPostWithMultipleMultipartFormFieldsWhereContentTypeWasSeparatedByComma() local
162 …int contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.lengt… in testSimplePostWithSingleMultipartFormField() local
176 …int contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.lengt… in testSimpleRawPostData() local
/external/nist-sip/java/gov/nist/javax/sip/parser/
DContentLengthParser.java44 public ContentLengthParser(String contentLength) { in ContentLengthParser()
56 ContentLength contentLength = new ContentLength(); in parse() local
DMaxForwardsParser.java43 public MaxForwardsParser(String contentLength) { in MaxForwardsParser()
55 MaxForwards contentLength = new MaxForwards(); in parse() local
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
DHttpTransportSE.java92 public HttpTransportSE(String url, int timeout, int contentLength) { in HttpTransportSE()
96 public HttpTransportSE(Proxy proxy, String url, int timeout, int contentLength) { in HttpTransportSE()
191 int contentLength = 8192; // To determine the size of the response and adjust buffer size in call() local
310 private InputStream readDebug(InputStream is, int contentLength, File outputFile) in readDebug()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DDownload.java93 public final long contentLength; field in Download
109 long contentLength, in Download()
128 long contentLength, in Download()
DSegmentDownloader.java126 long contentLength = 0; in download() local
280 private final long contentLength; field in SegmentDownloader.ProgressNotifier
288 long contentLength, in ProgressNotifier()
/external/nist-sip/java/gov/nist/javax/sip/header/
DContentLength.java86 protected Integer contentLength; field in ContentLength
115 public void setContentLength(int contentLength) in setContentLength()
/external/apache-http/src/org/apache/http/impl/io/
DContentLengthOutputStream.java64 private final long contentLength; field in ContentLengthOutputStream
81 public ContentLengthOutputStream(final SessionOutputBuffer out, long contentLength) { in ContentLengthOutputStream()
DContentLengthInputStream.java83 private long contentLength; field in ContentLengthInputStream
103 public ContentLengthInputStream(final SessionInputBuffer in, long contentLength) { in ContentLengthInputStream()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/cache/
DCacheUtilTest.java60 private long contentLength; field in CacheUtilTest.AbstractFakeCache
353 private long contentLength = C.LENGTH_UNSET; field in CacheUtilTest.CachingCounters
359 public void onProgress(long contentLength, long bytesCached, long newBytesCached) { in onProgress()
368 public void assertValues(int bytesAlreadyCached, int bytesNewlyCached, int contentLength) { in assertValues()
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DProgress.java83 @Override public long contentLength() throws IOException { in contentLength() method in Progress.ProgressResponseBody
109 void update(long bytesRead, long contentLength, boolean done); in update()
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/
DUrlDownloaderTask.java114 int contentLength = progress[1]; in onProgressUpdate() local
153 int contentLength = connection.getContentLength(); in download() local
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DOkHeaders.java66 public static long contentLength(Request request) { in contentLength() method in OkHeaders
70 public static long contentLength(Response response) { in contentLength() method in OkHeaders
74 public static long contentLength(Headers headers) { in contentLength() method in OkHeaders
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DOkHeaders.java64 public static long contentLength(Request request) { in contentLength() method in OkHeaders
68 public static long contentLength(Response response) { in contentLength() method in OkHeaders
72 public static long contentLength(Headers headers) { in contentLength() method in OkHeaders
/external/nist-sip/java/javax/sip/header/
DContentLengthHeader.java9 void setContentLength(int contentLength) throws InvalidArgumentException; in setContentLength()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/
DRepresentation.java187 public final long contentLength; field in Representation.SingleSegmentRepresentation
215 long contentLength) { in newInstance()
240 long contentLength) { in SingleSegmentRepresentation()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DDownloadBuilder.java50 private long contentLength; field in DownloadBuilder
147 public DownloadBuilder setContentLength(long contentLength) { in setContentLength()

123456