Home
last modified time | relevance | path

Searched refs:expectDuration (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/
H A Dhttp_source_plugin.cpp218 uint32_t expectDuration = playStrategy->duration; in SetDownloaderBySource() local
220 std::make_shared<HlsMediaDownloader>(expectDuration, httpHeader_)); in SetDownloaderBySource()
230 uint32_t expectDuration = playStrategy->duration; in SetDownloaderBySource() local
232 … (source->GetSourceUri(), expectDuration)); in SetDownloaderBySource()
/ohos5.0/foundation/multimedia/media_foundation/test/scenetest/
H A Dtest_single_player_fast.h114 PTEST((std::string url, int32_t expectDuration), Can get music duration) in FIXTURE()
123 ASSERT_TRUE(CheckTimeEquality(expectDuration, duration)); in FIXTURE()
272 PTEST((std::string url, int32_t expectDuration), Seek to the location of the file near the end) in FIXTURE()
281 ASSERT_TRUE(CheckTimeEquality(expectDuration, duration)); in FIXTURE()
/ohos5.0/foundation/multimedia/media_foundation/test/scenetest/audio_player/
H A DTestFastPlayer.cpp78 void TestSinglePlayerGetDuration(std::string url, int32_t expectDuration) in TestSinglePlayerGetDuration() argument
87 ASSERT_TRUE(CheckTimeEquality(expectDuration, duration)); in TestSinglePlayerGetDuration()
192 void TestSinglePlayerSeekNearEnd(std::string url, int32_t expectDuration) in TestSinglePlayerSeekNearEnd() argument
201 ASSERT_TRUE(CheckTimeEquality(expectDuration, duration)); in TestSinglePlayerSeekNearEnd()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/
H A Ddash_segment_downloader.h139 uint64_t expectDuration);
H A Ddash_segment_downloader.cpp57 uint64_t expectDuration) in DashSegmentDownloader() argument
62 expectDuration_ = expectDuration; in DashSegmentDownloader()
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_data_mgr_test/
H A Dfms_form_data_mgr_test.cpp3183 int expectDuration = formDataMgr_.GetFormCloudUpdateDuration(bundleName); variable
3184 EXPECT_EQ(expectDuration, duration);
3203 int expectDuration = formDataMgr_.GetFormCloudUpdateDuration(bundleName); variable
3204 EXPECT_EQ(expectDuration, duration);
3259 int expectDuration = formDataMgr_.GetFormCloudUpdateDuration(bundleName); variable
3260 EXPECT_EQ(expectDuration, duration);
3277 int expectDuration = formDataMgr_.GetFormCloudUpdateDuration(""); variable
3278 EXPECT_EQ(expectDuration, 0);