Home
last modified time | relevance | path

Searched refs:soundEnabled (Results 1 - 7 of 7) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_flags.cpp27 void NotificationFlags::SetSoundEnabled(NotificationConstant::FlagStatus soundEnabled) in SetSoundEnabled() argument
29 soundEnabled_ = soundEnabled; in SetSoundEnabled()
30 if (soundEnabled == NotificationConstant::FlagStatus::OPEN) { in SetSoundEnabled()
132 return "soundEnabled = " + std::to_string(static_cast<uint8_t>(soundEnabled_)) + in Dump()
139 jsonObject["soundEnabled"] = soundEnabled_; in ToJson()
160 if (jsonObject.find("soundEnabled") != jsonEnd && jsonObject.at("soundEnabled").is_number_integer()) { in FromJson()
161 auto soundEnabled = jsonObject.at("soundEnabled").get<uint8_t>(); in FromJson() local
162 pFlags->soundEnabled_ = static_cast<NotificationConstant::FlagStatus>(soundEnabled); in FromJson()
[all...]
/base/notification/distributed_notification_service/test/fuzztest/publishcontinuoustasknotification_fuzzer/
H A Dpublishcontinuoustasknotification_fuzzer.cpp57 int32_t soundEnabled = static_cast<int32_t>(*data % FLAG_STATUS); in DoSomethingInterestingWithMyAPI() local
59 Notification::NotificationConstant::FlagStatus(soundEnabled); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/publishnotification_fuzzer/
H A Dpublishnotification_fuzzer.cpp57 int32_t soundEnabled = static_cast<int32_t>(*data % FLAG_STATUS); in DoSomethingInterestingWithMyAPI() local
59 Notification::NotificationConstant::FlagStatus(soundEnabled); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_flags.h41 * @param soundEnabled whether enable sound.
43 void SetSoundEnabled(NotificationConstant::FlagStatus soundEnabled);
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/
H A Dnotification_utils.h172 int32_t soundEnabled = 0; member
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon.cpp1339 int32_t soundEnabled = static_cast<int32_t>(flags->IsSoundEnabled()); in SetNotificationFlags() local
1340 napi_create_int32(env, soundEnabled, &value); in SetNotificationFlags()
1341 napi_set_named_property(env, result, "soundEnabled", value); in SetNotificationFlags()
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp1541 notificationFlags.soundEnabled = static_cast<int32_t>(flags->IsSoundEnabled()); in SetNotificationFlags()

Completed in 7 milliseconds