Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_data_manager.cpp1604 if (soundPlayer_ == nullptr) { in PlaySoundAndVibration()
1605 soundPlayer_ = Media::PlayerFactory::CreatePlayer(); in PlaySoundAndVibration()
1606 if (soundPlayer_ == nullptr) { in PlaySoundAndVibration()
1621 soundPlayer_->SetSource(defaultSound.GetSchemeSpecificPart()); in PlaySoundAndVibration()
1626 soundPlayer_->SetSource(desc.fd, desc.offset, desc.length); in PlaySoundAndVibration()
1630 soundPlayer_->SetLooping(true); in PlaySoundAndVibration()
1631 soundPlayer_->PrepareAsync(); in PlaySoundAndVibration()
1632 soundPlayer_->Play(); in PlaySoundAndVibration()
1679 if (soundPlayer_ == nullptr) { in StopSoundAndVibration()
1688 soundPlayer_ in StopSoundAndVibration()
[all...]
/base/notification/distributed_notification_service/services/ans/include/
H A Dreminder_data_manager.h728 std::shared_ptr<Media::Player> soundPlayer_ = nullptr; member in OHOS::Notification::final

Completed in 6 milliseconds