Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/webkit/
DCacheManager.java53 long contentLength; field in CacheManager.CacheResult
85 return contentLength; in getContentLength()
222 public void setContentLength(long contentLength) { in setContentLength() argument
223 this.contentLength = contentLength; in setContentLength()
DDownloadListener.java31 String contentDisposition, String mimetype, long contentLength); in onDownloadStart() argument
/frameworks/av/media/libstagefright/foundation/
DParsedMessage.cpp164 int32_t contentLength; in parse() local
165 if (!findInt32("content-length", &contentLength) || contentLength < 0) { in parse()
166 contentLength = 0; in parse()
169 size_t totalLength = offset + contentLength; in parse()
175 mContent.setTo(&data[offset], contentLength); in parse()
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
DHTTPResponse.java106 String contentLength = headers.get(LengthHeader); in calculateLength() local
107 if (contentLength == null) { in calculateLength()
111 return body + Integer.parseInt(contentLength); in calculateLength()
113 throw new IOException("Bad " + LengthHeader + ": " + contentLength); in calculateLength()
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.cpp717 unsigned long contentLength = 0; in receiveRTSPReponse() local
723 if (!ParseSingleUnsignedLong(value.c_str(), &contentLength)) { in receiveRTSPReponse()
728 if (contentLength > 0) { in receiveRTSPReponse()
729 response->mContent = new ABuffer(contentLength); in receiveRTSPReponse()
731 if (receive(response->mContent->data(), contentLength) != OK) { in receiveRTSPReponse()