Home
last modified time | relevance | path

Searched refs:SoundPoolMock (Results 1 - 4 of 4) sorted by relevance

/foundation/multimedia/player_framework/test/unittest/soundpool_test/src/
H A Dsoundpool_mock.cpp40 bool SoundPoolMock::CreateSoundPool(int maxStreams, AudioStandard::AudioRendererInfo audioRenderInfo) in CreateSoundPool()
46 int32_t SoundPoolMock::Load(std::string url) in Load()
52 int32_t SoundPoolMock::Load(int32_t fd, int64_t offset, int64_t length) in Load()
58 int32_t SoundPoolMock::Play(int32_t soundID, PlayParams playParameters) in Play()
64 int32_t SoundPoolMock::Stop(int32_t streamID) in Stop()
73 int32_t SoundPoolMock::SetLoop(int32_t streamID, int32_t loop) in SetLoop()
79 int32_t SoundPoolMock::SetPriority(int32_t streamID, int32_t priority) in SetPriority()
85 int32_t SoundPoolMock::SetRate(int32_t streamID, AudioStandard::AudioRendererRate renderRate) in SetRate()
91 int32_t SoundPoolMock::SetVolume(int32_t streamID, float leftVolume, float rigthVolume) in SetVolume()
97 int32_t SoundPoolMock
[all...]
H A Dsoundpool_unit_test.cpp41 soundPool_ = std::make_shared<SoundPoolMock>(); in SetUp()
/foundation/multimedia/player_framework/test/unittest/soundpool_test/include/
H A Dsoundpool_mock.h38 class SoundPoolMock { class
40 SoundPoolMock() = default;
41 ~SoundPoolMock() = default;
62 explicit SoundPoolCallbackTest(std::shared_ptr<SoundPoolMock> soundPool) in SoundPoolCallbackTest()
93 std::shared_ptr<SoundPoolMock> soundPool_ = nullptr;
H A Dsoundpool_unit_test.h42 std::shared_ptr<SoundPoolMock> soundPool_ = nullptr;

Completed in 4 milliseconds