Home
last modified time | relevance | path

Searched refs:downloader (Results 1 – 25 of 35) sorted by relevance

12

/ohos5.0/foundation/multimedia/av_codec/test/unittest/hls_test/
H A Dhls_media_downloader_unit_test.cpp287 delete downloader;
295 delete downloader;
306 downloader->Pause();
309 delete downloader;
737 delete downloader;
747 delete downloader;
757 delete downloader;
767 delete downloader;
777 delete downloader;
793 delete downloader;
[all …]
H A Dhls_playlist_downloader_unit_test.cpp48 HlsPlayListDownloader downloader; variable
61 HlsPlayListDownloader downloader; variable
69 HlsPlayListDownloader downloader; variable
76 HlsPlayListDownloader downloader; variable
83 HlsPlayListDownloader downloader; variable
92 HlsPlayListDownloader downloader; variable
101 HlsPlayListDownloader downloader; variable
111 HlsPlayListDownloader downloader; variable
120 HlsPlayListDownloader downloader; variable
131 HlsPlayListDownloader downloader; variable
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/dash_test/
H A Ddash_mpd_downloader_unit_test.cpp216 downloader.Open(testUrl);
217 downloader.GetSeekable();
222 downloader.Close(true);
229 downloader.Open(testUrl);
230 downloader.GetSeekable();
233 downloader.Close(true);
240 downloader.Open(testUrl);
241 downloader.GetSeekable();
244 downloader.Close(true);
255 downloader.Close(true);
[all …]
H A Ddash_segment_downloader_unit_test.cpp82 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader,
109 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader,
139 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader,
163 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader, argument
209 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader,
245 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader,
295 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader,
329 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader,
352 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader, argument
408 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader,
[all …]
H A Ddash_media_downloader_unit_test.cpp48 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader, in SetUpTestCase()
213 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader,
268 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader,
325 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader,
382 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader,
401 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader, argument
431 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader,
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/monitor/
H A Ddownload_monitor.cpp27 DownloadMonitor::DownloadMonitor(std::shared_ptr<MediaDownloader> downloader) noexcept in DownloadMonitor() argument
28 : downloader_(std::move(downloader)) in DownloadMonitor()
30 auto statusCallback = [this] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader, in DownloadMonitor()
32 …OnDownloadStatus(std::forward<decltype(downloader)>(downloader), std::forward<decltype(request)>(r… in DownloadMonitor()
171 void DownloadMonitor::OnDownloadStatus(std::shared_ptr<Downloader>& downloader, in OnDownloadStatus() argument
174 …FALSE_RETURN_MSG(downloader != nullptr, "downloader is null, url is " PUBLIC_LOG_S, request->GetUr… in OnDownloadStatus()
181 … RetryRequest retryRequest {request, [downloader, request] { downloader->Retry(request); }}; in OnDownloadStatus()
H A Ddownload_monitor.h42 explicit DownloadMonitor(std::shared_ptr<MediaDownloader> downloader) noexcept;
59 …void OnDownloadStatus(std::shared_ptr<Downloader>& downloader, std::shared_ptr<DownloadRequest>& r…
/ohos5.0/foundation/multimedia/av_codec/test/unittest/http_source_test/
H A Dhttp_media_downloader_unit_test.cpp41 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader, in SetUpTestCase()
84 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader,
106 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader, argument
130 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader, argument
154 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader, argument
181 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader,
243 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader,
265 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader, argument
287 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader, argument
308 auto statusCallback = [] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader, argument
[all …]
H A Ddownloader_unit_test.cpp34 std::shared_ptr<Downloader> downloader; member in OHOS::Media::Plugins::HttpPlugin::DownloaderUnitTest
47 downloader = std::make_shared<Downloader>("test"); in SetUp()
52 downloader.reset(); in TearDown()
57 EXPECT_NE(downloader->client_, nullptr);
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/monitor/
H A Ddownload_monitor.cpp53 DownloadMonitor::DownloadMonitor(std::shared_ptr<MediaDownloader> downloader) noexcept in DownloadMonitor() argument
54 : downloader_(std::move(downloader)) in DownloadMonitor()
56 auto statusCallback = [this] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader, in DownloadMonitor()
62 …OnDownloadStatus(std::forward<decltype(downloader)>(downloader), std::forward<decltype(request)>(r… in DownloadMonitor()
277 void DownloadMonitor::OnDownloadStatus(std::shared_ptr<Downloader>& downloader, in OnDownloadStatus() argument
280 FALSE_RETURN_MSG(downloader != nullptr, "downloader is nullptr."); in OnDownloadStatus()
287 … RetryRequest retryRequest {request, [downloader, request] { downloader->Retry(request); }}; in OnDownloadStatus()
H A Ddownload_monitor.h45 explicit DownloadMonitor(std::shared_ptr<MediaDownloader> downloader) noexcept;
84 …void OnDownloadStatus(std::shared_ptr<Downloader>& downloader, std::shared_ptr<DownloadRequest>& r…
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/
H A Ddash_media_downloader.cpp137 return downloader->GetStreamType() == type; in GetSegmentDownloaderByType()
204 for (auto downloader : segmentDownloaders_) { in GetSeekable() local
205 status = downloader->GetStartedStatus(); in GetSeekable()
401 downloader->SetStatusCallback(statusCallback_); in OpenInitSegment()
406 downloader->SetDownloadDoneCallback(doneCallback); in OpenInitSegment()
407 segmentDownloaders_.push_back(downloader); in OpenInitSegment()
411 downloader->SetInitSegment(initSeg); in OpenInitSegment()
413 downloader->Open(seg); in OpenInitSegment()
796 if (downloader == nullptr) { in SelectAudioInternal()
804 downloader->CleanBufferByTime(remainLastNumberSeq, isEnd); in SelectAudioInternal()
[all …]
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/
H A Dhttp_source_plugin.cpp354 std::shared_ptr<MediaDownloader> downloader = downloader_; in SeekToTime() local
355 FALSE_RETURN_V(downloader != nullptr, Status::ERROR_NULL_POINTER); in SeekToTime()
356 … FALSE_RETURN_V(downloader->GetSeekable() == Seekable::SEEKABLE, Status::ERROR_INVALID_OPERATION); in SeekToTime()
357 FALSE_RETURN_V(seekTime <= downloader->GetDuration(), Status::ERROR_INVALID_PARAMETER); in SeekToTime()
358 FALSE_RETURN_V(downloader->SeekToTime(seekTime, mode), Status::ERROR_UNKNOWN); in SeekToTime()
366 std::shared_ptr<MediaDownloader> downloader = downloader_; in CloseUri() local
367 if (downloader != nullptr) { in CloseUri()
369 downloader->Close(true); in CloseUri()
H A DBUILD.gn111 "download/downloader.cpp",
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/
H A Dmod.rs30 mod downloader; module
46 pub use downloader::{DownloadOperator, Downloader, DownloaderBuilder};
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/
H A Dmod.rs19 mod downloader; module
22 pub use downloader::{DownloadOperator, Downloader, DownloaderBuilder};
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/
H A Dplaylist_downloader.cpp65 PlayListDownloader::PlayListDownloader(std::shared_ptr<Downloader> downloader, in PlayListDownloader() argument
68 downloader_ = downloader; in PlayListDownloader()
80 …auto realStatusCallback = [this] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader, in DoOpen()
H A Dplaylist_downloader.h43 explicit PlayListDownloader(std::shared_ptr<Downloader> downloader,
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/downloader/
H A Dmod.rs307 let mut downloader = Downloader::console(adpater_resp::new(response)); in download() localVariable
308 let res = downloader.download().await; in download()
/ohos5.0/commonlibrary/rust/ylong_http/docs/
H A Duser_guide.md261 let mut downloader = Downloader::builder()
265 let _ = downloader.download().await;
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/hls/
H A Dplaylist_downloader.cpp48 …auto realStatusCallback = [this] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader, in DoOpen()
H A Dhls_media_downloader.cpp60 …auto realStatusCallback = [this] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader, in FragmentDownloadLoop()
/ohos5.0/commonlibrary/rust/ylong_http/
H A DREADME_zh.md102 │ │ ├── downloader # 异步下载器实现
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/
H A DBUILD.gn24 "download/downloader.cpp",
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/http/
H A Dhttp_media_downloader.cpp54 …auto realStatusCallback = [this] (DownloadStatus&& status, std::shared_ptr<Downloader>& downloader, in Open()

12