Searched defs:contentLength (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/webkit/
H A DDownloadListener.java28 * @param contentLength The file size reported by the server
31 String contentDisposition, String mimetype, long contentLength);
30 onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, long contentLength) argument
H A DCacheManager.java92 long contentLength; field in class:CacheManager.CacheResult
114 return contentLength;
327 if (result.contentLength == 0) {
472 cacheRet.contentLength = 0;
475 if ((redirect || cacheRet.contentLength == 0)
479 if (cacheRet.contentLength == 0) {
625 if (oldResult != null && oldResult.contentLength > 0) {
696 // if the contentLength is already larger than CACHE_MAX_SIZE, skip it
H A DCallbackProxy.java385 Long contentLength = msg.getData().getLong("contentLength");
388 contentDisposition, mimetype, contentLength);
1020 String contentDisposition, String mimetype, long contentLength) {
1033 bundle.putLong("contentLength", contentLength);
1019 onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, long contentLength) argument
H A DLoadListener.java345 long contentLength = headers.getContentLength();
346 if (contentLength != Headers.NO_CONTENT_LENGTH) {
347 mContentLength = contentLength;
1055 long contentLength() { method in class:LoadListener
/frameworks/base/media/libdrm/mobile1/include/objmng/
H A Ddrm_inner.h73 int32_t contentLength; member in struct:_T_DRM_Session_Node
/frameworks/base/media/libstagefright/rtsp/
H A DARTSPConnection.cpp642 unsigned long contentLength = 0; local
648 if (!ParseSingleUnsignedLong(value.c_str(), &contentLength)) {
653 if (contentLength > 0) {
654 response->mContent = new ABuffer(contentLength);
657 while (numBytesRead < contentLength) {
660 contentLength - numBytesRead, 0);
/frameworks/base/core/java/android/net/http/
H A DHeaders.java124 private long contentLength; // Content length of the incoming data field in class:Headers
157 contentLength = NO_CONTENT_LENGTH;
202 contentLength = Long.parseLong(val);
310 return contentLength;
378 this.contentLength = value;

Completed in 148 milliseconds