Home
last modified time | relevance | path

Searched refs:sound (Results 1 – 13 of 13) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_test.cpp147 Uri sound = Uri("sound"); variable
151 rrc->SetSound(sound);
153 EXPECT_EQ(rrc->GetSound(), sound);
358 Uri sound = Uri("sound"); variable
362 rrc->SetSound(sound);
375 Uri sound = Uri(""); variable
379 rrc->SetSound(sound);
454 Uri sound = Uri("sound"); variable
458 rrc->SetSound(sound);
471 Uri sound = Uri("sound"); variable
[all …]
Dnotification_flags_test.cpp43 NotificationConstant::FlagStatus sound =NotificationConstant::FlagStatus(1); variable
45 rrc->SetSoundEnabled(sound);
46 EXPECT_EQ(rrc->IsSoundEnabled(), sound);
/base/notification/distributed_notification_service/test/fuzztest/notificationannex_fuzzer/
Dnotificationannex_fuzzer.cpp34 Uri sound(stringData); in DoSomethingInterestingWithMyAPI() local
35 notification.SetSound(sound); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/services/ans/src/
Dnotification_slot_filter.cpp47 auto sound = record->slot->GetSound(); in OnPublish() local
48 if (!sound.ToString().empty()) { in OnPublish()
/base/notification/distributed_notification_service/test/fuzztest/publishnotification_fuzzer/
Dpublishnotification_fuzzer.cpp58 Notification::NotificationConstant::FlagStatus sound = in DoSomethingInterestingWithMyAPI() local
60 notificationFlages->SetSoundEnabled(sound); in DoSomethingInterestingWithMyAPI()
61 notificationFlages->SetVibrationEnabled(sound); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/publishcontinuoustasknotification_fuzzer/
Dpublishcontinuoustasknotification_fuzzer.cpp58 Notification::NotificationConstant::FlagStatus sound = in DoSomethingInterestingWithMyAPI() local
60 notificationFlages->SetSoundEnabled(sound); in DoSomethingInterestingWithMyAPI()
61 notificationFlages->SetVibrationEnabled(sound); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_slot.h206 void SetSound(const Uri &sound);
Dnotification.h255 void SetSound(const Uri &sound);
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_slot.cpp157 void NotificationSlot::SetSound(const Uri &sound) in SetSound() argument
159 sound_ = sound; in SetSound()
Dnotification.cpp453 void Notification::SetSound(const Uri &sound) in SetSound() argument
455 sound_ = std::make_shared<Uri>(sound.ToString()); in SetSound()
/base/telephony/call_manager/
DBUILD.gn38 "services/audio/src/sound.cpp",
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dsubscribe.cpp96 std::string sound; in SetSubscribeCallbackData() local
98 sound = request->GetSound().ToString(); in SetSubscribeCallbackData()
100 napi_create_string_utf8(env, sound.c_str(), NAPI_AUTO_LENGTH, &soundResult); in SetSubscribeCallbackData()
Dcommon.cpp4013 std::string sound; in GetNotificationSlotByString() local
4022 sound = str; in GetNotificationSlotByString()
4023 ANS_LOGI("sound is: %{public}s", sound.c_str()); in GetNotificationSlotByString()
4024 slot.SetSound(Uri(sound)); in GetNotificationSlotByString()