/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpURLConnectionImpl.java | 569 @Override public void setFixedLengthStreamingMode(int contentLength) { 570 setFixedLengthStreamingMode((long) contentLength); 574 public void setFixedLengthStreamingMode(long contentLength) { 577 if (contentLength < 0) throw new IllegalArgumentException("contentLength < 0"); 578 this.fixedContentLength = contentLength; 579 super.fixedContentLength = (int) Math.min(contentLength, Integer.MAX_VALUE);
|
Dispatcher.java | 75 @Override public long contentLength() {
|
HttpTransport.java | 88 long contentLength = httpEngine.requestHeaders.getContentLength(); 89 if (contentLength > Integer.MAX_VALUE) { 95 if (contentLength != -1) { 97 return new RetryableOutputStream((int) contentLength);
|
ResponseHeaders.java | 117 private int contentLength = -1; 175 contentLength = Integer.parseInt(value); 198 contentLength = -1; 267 return contentLength;
|
HttpEngine.java | 629 int contentLength = ((RetryableOutputStream) requestBodyOut).contentLength(); 630 requestHeaders.setContentLength(contentLength);
|
HttpsURLConnectionImpl.java | 321 @Override public void setFixedLengthStreamingMode(int contentLength) { 322 delegate.setFixedLengthStreamingMode(contentLength);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
DownloadInfo.java | 172 public Builder setContentLength(long contentLength) { 173 mContentLength = contentLength;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
Uploader.java | 119 final int contentLength = (int) file.length(); 127 connection.setFixedLengthStreamingMode(contentLength);
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_HttpServer.java | 220 boolean authenticated = false, contentLength = false, chunked = false; 239 if (contentLength) { 242 contentLength = true; 260 if (contentLength && chunked) {
|
/external/nist-sip/java/javax/sip/message/ |
Message.java | 35 void setContentLength(ContentLengthHeader contentLength);
|
/libcore/support/src/test/java/tests/http/ |
MockWebServer.java | 344 int contentLength = -1; 350 if (contentLength == -1 && lowercaseHeader.startsWith("content-length:")) { 351 contentLength = Integer.parseInt(header.substring(15).trim()); 362 if (contentLength != -1) { 364 transfer(contentLength, in, requestBody);
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
AwContentsTest.java | 70 String mimeType, long contentLength) { 75 mContentLength = contentLength; 98 long contentLength) { 100 contentLength);
|
/packages/apps/Browser/src/com/android/browser/ |
WebViewController.java | 76 String mimeType, String referer, long contentLength);
|
PreloadController.java | 156 String referer, long contentLength) {
|
Tab.java | [all...] |
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
MockWebServer.java | 403 int contentLength = -1; 409 if (contentLength == -1 && lowercaseHeader.startsWith("content-length:")) { 410 contentLength = Integer.parseInt(header.substring(15).trim()); 421 if (contentLength != -1) { 423 transfer(contentLength, in, requestBody);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
Helpers.java | 80 long contentLength, 82 if (contentLength < 0) { 83 contentLength = 0; 91 contentLength); 95 storageManager.verifySpace(destination, path, contentLength);
|
StorageManager.java | 268 File locateDestinationDirectory(String mimeType, int destination, long contentLength)
|
/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/test/ |
NullContentsClient.java | 150 long contentLength) {
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMDocumentImpl.java | [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
ARTSPConnection.cpp | 718 unsigned long contentLength = 0; 724 if (!ParseSingleUnsignedLong(value.c_str(), &contentLength)) { 729 if (contentLength > 0) { 730 response->mContent = new ABuffer(contentLength); 732 if (receive(response->mContent->data(), contentLength) != OK) {
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwContentsClient.java | 173 String mimeType, long contentLength);
|
/external/nist-sip/java/javax/sip/header/ |
HeaderFactory.java | 51 ContentLengthHeader createContentLengthHeader(int contentLength)
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
HeaderFactoryImpl.java | 384 * Creates a new CSeqHeader based on the newly supplied contentLength value. 386 * @param contentLength - the new integer value of the contentLength. 387 * @throws InvalidArgumentException if supplied contentLength is less 391 public ContentLengthHeader createContentLengthHeader(int contentLength) 393 if (contentLength < 0) 394 throw new InvalidArgumentException("bad contentLength"); 395 ContentLength c = new ContentLength(); 396 c.setContentLength(contentLength); [all...] |
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/ |
URLConnectionTest.java | [all...] |