Home
last modified time | relevance | path

Searched refs:TestPlayerImpl (Results 1 - 2 of 2) sorted by relevance

/foundation/multimedia/media_foundation/test/scenetest/helper/
H A Dlite_player.cpp58 class TestPlayerImpl : public TestPlayer { class
60 explicit TestPlayerImpl(std::shared_ptr<Media::PlayerInterface> player) : player_(std::move(player)) {} in TestPlayerImpl() function in OHOS::Media::Test::TestPlayerImpl
61 ~TestPlayerImpl() override
63 MEDIA_LOG_I("TestPlayerImpl dtor called.");
89 return CppExt::make_unique<TestPlayerImpl>(player); in Create()
92 int32_t TestPlayerImpl::SetSource(const TestSource& source) in SetSource()
98 int32_t TestPlayerImpl::SetSingleLoop(bool loop) in SetSingleLoop()
103 bool TestPlayerImpl::IsPlaying() in IsPlaying()
108 int32_t TestPlayerImpl::Prepare() in Prepare()
113 int32_t TestPlayerImpl
[all...]
H A Dstd_player.cpp65 class TestPlayerImpl : public TestPlayer { class
67 explicit TestPlayerImpl(std::unique_ptr<IPlayerEngine> player) : player_(std::move(player)) {} in TestPlayerImpl() function in OHOS::Media::Test::TestPlayerImpl
108 return std::make_unique<TestPlayerImpl>(std::move(player)); in Create()
111 int32_t TestPlayerImpl::SetSource(const TestSource& source) in SetSource()
126 int32_t TestPlayerImpl::SetSingleLoop(bool loop) in SetSingleLoop()
131 bool TestPlayerImpl::IsPlaying() in IsPlaying()
139 int32_t TestPlayerImpl::Prepare() in Prepare()
148 int32_t TestPlayerImpl::Play() in Play()
163 int32_t TestPlayerImpl::Pause() in Pause()
176 int32_t TestPlayerImpl
[all...]

Completed in 2 milliseconds