Home
last modified time | relevance | path

Searched refs:sound_ (Results 1 - 8 of 8) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification.cpp57 sound_ = other.sound_; in Notification()
157 if (enableSound_ && sound_ != nullptr) { in GetSound()
158 return *sound_; in GetSound()
284 if (enableSound_ && sound_ != nullptr) { in MarshallingString()
285 if (!parcel.WriteString(sound_->ToString())) { in MarshallingString()
413 // Read sound_ in ReadFromParcelString()
415 sound_ = std::make_shared<Uri>(parcel.ReadString()); in ReadFromParcelString()
518 sound_ = std::make_shared<Uri>(sound.ToString()); in SetSound()
558 ", sound = " + (sound_ in Dump()
[all...]
H A Dnotification_slot.cpp31 NotificationSlot::NotificationSlot(NotificationConstant::SlotType type) : sound_("") in NotificationSlot()
212 return sound_; in GetSound()
217 sound_ = sound; in SetSound()
304 ", sound = " + sound_.ToString() + in Dump()
373 if (sound_.ToString().empty()) { in Marshalling()
383 if (!parcel.WriteString((sound_.ToString()))) { in Marshalling()
443 sound_ = Uri((parcel.ReadString())); in ReadFromParcel()
H A Dnotification_request.cpp799 ", sound = " + sound_ + ", unifiedGroupInfo_ = " + in Dump()
1074 if (!parcel.WriteString(sound_)) { in Marshalling()
1544 if (!parcel.ReadString(sound_)) { in ReadFromParcel()
1929 this->sound_ = other.sound_; in CopyBase()
2739 sound_ = sound; in SetSound()
2744 return sound_; in GetSound()
/base/telephony/call_manager/services/audio/src/
H A Daudio_control_manager.cpp43 : isLocalRingbackNeeded_(false), ring_(nullptr), tone_(nullptr), sound_(nullptr) in AudioControlManager()
591 if (sound_ == nullptr) { in PlaySoundtone()
592 sound_ = std::make_unique<Sound>(); in PlaySoundtone()
593 if (sound_ == nullptr) { in PlaySoundtone()
598 if (sound_->Play() != TELEPHONY_SUCCESS) { in PlaySoundtone()
612 if (sound_ == nullptr) { in StopSoundtone()
613 TELEPHONY_LOGE("sound_ is nullptr"); in StopSoundtone()
616 if (sound_->Stop() != TELEPHONY_SUCCESS) { in StopSoundtone()
620 sound_->ReleaseRenderer(); in StopSoundtone()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification.h367 std::shared_ptr<Uri> sound_ {nullptr};
H A Dnotification_slot.h471 Uri sound_; member in OHOS::Notification::NotificationSlot
H A Dnotification_request.h1500 std::string sound_ {};
/base/telephony/call_manager/services/audio/include/
H A Daudio_control_manager.h118 std::unique_ptr<Sound> sound_; member in OHOS::Telephony::AudioControlManager

Completed in 10 milliseconds