Home
last modified time | relevance | path

Searched refs:GetFileContentLength (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/http/
H A Dhttp_media_downloader.cpp103 if (buffer_->GetMediaOffset() + wantReadLength <= downloadRequest_->GetFileContentLength() && in Read()
138 return downloadRequest_->GetFileContentLength(); in GetContentLength()
173 bufferSize >= downloadRequest_->GetFileContentLength() / 2) && !aboveWaterline_) { // 2 in SaveData()
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/download/
H A Ddownloader.h51 size_t GetFileContentLength() const in GetFileContentLength() function
72 size_t GetFileContentLength() const;
H A Ddownloader.cpp44 size_t DownloadRequest::GetFileContentLength() const in GetFileContentLength() function in OHOS::Media::Plugin::HttpPlugin::DownloadRequest
47 return headerInfo_.GetFileContentLength(); in GetFileContentLength()
185 size_t contentLength = currentRequest_->GetFileContentLength(); in Seek()
190 …int64_t temp = static_cast<int64_t>(currentRequest_->GetFileContentLength()) - currentRequest_->st… in Seek()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/http/
H A Dhttp_media_downloader.cpp280 size_t fileContenLen = downloadRequest_->GetFileContentLength(); in HandleBuffering()
346 size_t fileContenLen = downloadRequest_->GetFileContentLength(); in StartBufferingCheck()
385 size_t fileContentLength = downloadRequest_->GetFileContentLength(); in ReadRingBuffer()
704 size_t fileContentLength = downloadRequest_->GetFileContentLength(); in ChangeDownloadPos()
736 size_t fileContentLength = downloadRequest_->GetFileContentLength(); in HandleSeekHit()
778 size_t fileContenLen = downloadRequest_->GetFileContentLength(); in SeekCacheBuffer()
805 return downloadRequest_->GetFileContentLength(); in GetContentLength()
848 bufferSize >= downloadRequest_->GetFileContentLength() / 2) && !aboveWaterline_) { // 2 in SaveRingBufferData()
1294 size_t fileContenLen = downloadRequest_->GetFileContentLength(); in UpdateWaterLineAbove()
/ohos5.0/foundation/multimedia/media_foundation/test/unittest/
H A DTestHttpSourcePlugin.cpp50 EXPECT_EQ(fileContentLen, downloadRequest.GetFileContentLength());
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/download/
H A Ddownloader.cpp97 size_t DownloadRequest::GetFileContentLength() const in GetFileContentLength() function in OHOS::Media::Plugins::HttpPlugin::DownloadRequest
100 return headerInfo_.GetFileContentLength(); in GetFileContentLength()
124 … return GetFileContentLength() == LIVE_CONTENT_LENGTH ? Seekable::SEEKABLE : Seekable::UNSEEKABLE; in IsChunked()
220 return headerInfo_.isChunked && headerInfo_.GetFileContentLength() == LIVE_CONTENT_LENGTH; in IsChunkedVod()
390 size_t contentLength = currentRequest_->GetFileContentLength(); in Seek()
395 …size_t temp = currentRequest_->GetFileContentLength() - static_cast<size_t>(currentRequest_->start… in Seek()
H A Ddownloader.h61 size_t GetFileContentLength() const in GetFileContentLength() function
91 size_t GetFileContentLength() const;
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/
H A Ddash_segment_downloader.cpp626 return downloadRequest_->GetFileContentLength(); in GetContentLength()
877 mediaSegment->contentLength_ = downloadRequest_->GetFileContentLength(); in UpdateBufferSegment()
1042 mediaSegment_->contentLength_ = downloadRequest_->GetFileContentLength(); in UpdateDownloadFinished()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/
H A Dhls_media_downloader.cpp1129 size_t fragmentSize = downloadRequest_->GetFileContentLength(); in UpdateDownloadFinished()