Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/webkit/
DCacheManager.java100 long contentLength; field in CacheManager.CacheResult
122 return contentLength; in getContentLength()
182 public void setContentLength(long contentLength) { in setContentLength() argument
183 this.contentLength = contentLength; in setContentLength()
403 if (result.contentLength == 0) { in getCacheFile()
571 cacheRet.contentLength = 0; in saveCacheFile()
574 if ((redirect || cacheRet.contentLength == 0) in saveCacheFile()
578 if (cacheRet.contentLength == 0) { in saveCacheFile()
731 if (oldResult != null && oldResult.contentLength > 0) { in setupFiles()
DDownloadListener.java31 String contentDisposition, String mimetype, long contentLength); in onDownloadStart() argument
DWebViewWorker.java156 cache.contentLength += data.mChunk.mLength; in handleMessage()
157 if (cache.contentLength > CacheManager.CACHE_MAX_SIZE) { in handleMessage()
DCacheLoader.java49 mContentLength = mCacheResult.contentLength; in setupStreamAndSendStatus()
DLoadListener.java342 long contentLength = headers.getContentLength(); in handleHeaders() local
343 if (contentLength != Headers.NO_CONTENT_LENGTH) { in handleHeaders()
344 mContentLength = contentLength; in handleHeaders()
1024 long contentLength() { in contentLength() method in LoadListener
DCallbackProxy.java403 Long contentLength = msg.getData().getLong("contentLength"); in handleMessage() local
406 contentDisposition, mimetype, contentLength); in handleMessage()
1131 String contentDisposition, String mimetype, long contentLength) { in onDownloadStart() argument
1144 bundle.putLong("contentLength", contentLength); in onDownloadStart()
DWebViewDatabase.java708 ret.contentLength = cursor.getLong(9); in getCache()
760 mCacheInserter.bind(mCacheContentLengthColIndex, c.contentLength); in addCache()
DBrowserFrame.java1231 String contentDisposition, String mimeType, long contentLength) { in downloadStart() argument
1251 contentDisposition, mimeType, contentLength); in downloadStart()
/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_api.c846 s->contentLength = DRM_UNKNOWN_DATA_LEN; in SVC_drm_openSession()
848 s->contentLength = dmInfo.contentLen; in SVC_drm_openSession()
885 if (s->contentLength > 0) { in SVC_drm_openSession()
888 encLen = s->contentLength; in SVC_drm_openSession()
892 s->contentLength = decLen; in SVC_drm_openSession()
968 s->contentLength = decLen; in SVC_drm_openSession()
972 if (DRM_UNKNOWN_DATA_LEN == s->contentLength) { in SVC_drm_openSession()
1023 s->contentLength = binContentLen; in SVC_drm_openSession()
1045 s->contentLength = dcfInfo.DecryptedDataLen; in SVC_drm_openSession()
1072 s->contentLength = ((T_DRM_Dcf_Node *)(s->infoStruct))->encContentLength; in SVC_drm_openSession()
[all …]
/frameworks/base/core/tests/utillib/src/coretestutils/http/
DMockWebServer.java216 int contentLength = -1; in readRequest() local
222 if (contentLength == -1 && lowercaseHeader.startsWith("content-length:")) { in readRequest()
223 contentLength = Integer.parseInt(header.substring(15).trim()); in readRequest()
234 if (contentLength != -1) { in readRequest()
236 transfer(contentLength, in, requestBody); in readRequest()
/frameworks/base/core/java/android/net/http/
DHeaders.java123 private long contentLength; // Content length of the incoming data field in Headers
156 contentLength = NO_CONTENT_LENGTH; in Headers()
201 contentLength = Long.parseLong(val); in parseHeader()
316 return contentLength; in getContentLength()
384 this.contentLength = value; in setContentLength()
/frameworks/base/media/libstagefright/rtsp/
DARTSPConnection.cpp670 unsigned long contentLength = 0; in receiveRTSPReponse() local
676 if (!ParseSingleUnsignedLong(value.c_str(), &contentLength)) { in receiveRTSPReponse()
681 if (contentLength > 0) { in receiveRTSPReponse()
682 response->mContent = new ABuffer(contentLength); in receiveRTSPReponse()
685 while (numBytesRead < contentLength) { in receiveRTSPReponse()
688 contentLength - numBytesRead, 0); in receiveRTSPReponse()
/frameworks/base/media/libdrm/mobile1/include/objmng/
Ddrm_inner.h73 int32_t contentLength; member