/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_flags.cpp | 27 void NotificationFlags::SetSoundEnabled(NotificationConstant::FlagStatus soundEnabled) in SetSoundEnabled() 37 NotificationConstant::FlagStatus NotificationFlags::IsSoundEnabled() const in IsSoundEnabled() 42 void NotificationFlags::SetVibrationEnabled(NotificationConstant::FlagStatus vibrationEnabled) in SetVibrationEnabled() 52 NotificationConstant::FlagStatus NotificationFlags::IsVibrationEnabled() const in IsVibrationEnabled() 57 uint32_t NotificationFlags::GetReminderFlags() in GetReminderFlags() 62 void NotificationFlags::SetLockScreenVisblenessEnabled(bool visblenessEnabled) in SetLockScreenVisblenessEnabled() 71 bool NotificationFlags::IsLockScreenVisblenessEnabled() in IsLockScreenVisblenessEnabled() 79 void NotificationFlags::SetBannerEnabled(bool bannerEnabled) in SetBannerEnabled() 88 bool NotificationFlags::IsBannerEnabled() in IsBannerEnabled() 96 void NotificationFlags [all...] |
H A D | notification_subscriber.cpp | 60 std::shared_ptr<NotificationFlags> tempFlags = request->GetFlags(); in ProcessSyncDecision()
|
H A D | notification_request.cpp | 1749 notificationFlags_ = std::shared_ptr<NotificationFlags>(parcel.ReadParcelable<NotificationFlags>()); in ReadFromParcel() 1758 notificationFlagsOfDevices_ = std::make_shared<std::map<std::string, std::shared_ptr<NotificationFlags>>>(); in ReadFromParcel() 1763 std::shared_ptr<NotificationFlags> notificationFlags = in ReadFromParcel() 1764 std::shared_ptr<NotificationFlags>(parcel.ReadParcelable<NotificationFlags>()); in ReadFromParcel() 1824 void NotificationRequest::SetFlags(const std::shared_ptr<NotificationFlags> &flags) in SetFlags() 1829 std::shared_ptr<NotificationFlags> NotificationRequest::GetFlags() const in GetFlags() 1835 const std::shared_ptr<std::map<std::string, std::shared_ptr<NotificationFlags>>> &mapFlags) in SetDeviceFlags() 1840 std::shared_ptr<std::map<std::string, std::shared_ptr<NotificationFlags>>> NotificationReques [all...] |
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_flags_test.cpp | 44 auto rrc = std::make_shared<NotificationFlags>();
in HWTEST_F() 58 auto rrc = std::make_shared<NotificationFlags>();
in HWTEST_F() 71 auto rrc = std::make_shared<NotificationFlags>();
in HWTEST_F() 85 auto rrc = std::make_shared<NotificationFlags>();
in HWTEST_F() 98 auto rrc = std::make_shared<NotificationFlags>();
in HWTEST_F() 113 auto rrc = std::make_shared<NotificationFlags>();
in HWTEST_F() 132 auto rrc = std::make_shared<NotificationFlags>();
in HWTEST_F() 146 std::shared_ptr<NotificationFlags> result =
in HWTEST_F() 147 std::make_shared<NotificationFlags>();
in HWTEST_F() 166 auto rrc = std::make_shared<NotificationFlags>();
in HWTEST_F() [all...] |
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_flags.h | 27 class NotificationFlags : public Parcelable, public NotificationJsonConvertionBase { class 30 * Default constructor used to create an empty NotificationFlags instance. 32 NotificationFlags() = default; 37 ~NotificationFlags() = default; 124 * Converts a NotificationFlags object into a Json. 130 * Creates a NotificationFlags object from a Json. 132 * @return the NotificationFlags. 134 static NotificationFlags *FromJson(const nlohmann::json &jsonObject); 144 * @return the NotificationFlags 146 static NotificationFlags *Unmarshallin [all...] |
H A D | notification_request.h | 1190 void SetFlags(const std::shared_ptr<NotificationFlags> &flags); 1197 std::shared_ptr<NotificationFlags> GetFlags() const; 1204 void SetDeviceFlags(const std::shared_ptr<std::map<std::string, std::shared_ptr<NotificationFlags>>> &mapFlags); 1211 std::shared_ptr<std::map<std::string, std::shared_ptr<NotificationFlags>>> GetDeviceFlags() const; 1543 std::shared_ptr<NotificationFlags> notificationFlags_ {}; 1547 std::shared_ptr<std::map<std::string, std::shared_ptr<NotificationFlags>>> notificationFlagsOfDevices_ {};
|
/base/notification/distributed_notification_service/services/ans/src/common/ |
H A D | notification_config_parse.cpp | 71 std::map<NotificationConstant::SlotType, std::shared_ptr<NotificationFlags>> ¤tSlotReminder) const in GetCurrentSlotReminder() 100 std::shared_ptr<NotificationFlags> reminderFlags; in GetCurrentSlotReminder() 104 !NotificationFlags::GetReminderFlagsByString( in GetCurrentSlotReminder() 119 static std::map<NotificationConstant::SlotType, std::shared_ptr<NotificationFlags>> configSlotsReminder; in GetConfigSlotReminderModeByType()
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | smart_reminder_center.h | 70 shared_ptr<map<string, shared_ptr<NotificationFlags>>> notificationFlagsOfDevices) const; 75 shared_ptr<map<string, shared_ptr<NotificationFlags>>> notificationFlagsOfDevices) const; 83 map<NotificationConstant::SlotType, shared_ptr<NotificationFlags>> currentReminderMethods_;
|
H A D | reminder_affected.h | 37 std::shared_ptr<NotificationFlags> reminderFlags_;
|
H A D | notification_config_parse.h | 40 std::map<NotificationConstant::SlotType, std::shared_ptr<NotificationFlags>> ¤tSlotReminder) const;
|
H A D | advanced_notification_service.h | 1244 void ExtendDumpForFlags(std::shared_ptr<NotificationFlags>, std::stringstream &stream);
|
/base/notification/distributed_notification_service/test/fuzztest/notificationflags_fuzzer/ |
H A D | notificationflags_fuzzer.cpp | 26 Notification::NotificationFlags notificationFlags;
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/publishcontinuoustasknotification_fuzzer/ |
H A D | publishcontinuoustasknotification_fuzzer.cpp | 55 std::shared_ptr<Notification::NotificationFlags> notificationFlages =
in DoSomethingInterestingWithMyAPI() 56 std::make_shared<Notification::NotificationFlags>();
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/publishnotification_fuzzer/ |
H A D | publishnotification_fuzzer.cpp | 55 std::shared_ptr<Notification::NotificationFlags> notificationFlages = in DoSomethingInterestingWithMyAPI() 56 std::make_shared<Notification::NotificationFlags>(); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/services/ans/src/notification_smart_reminder/ |
H A D | smart_reminder_center.cpp | 230 shared_ptr<map<string, shared_ptr<NotificationFlags>>> notificationFlagsOfDevices = in ReminderDecisionProcess() 231 make_shared<map<string, shared_ptr<NotificationFlags>>>(); in ReminderDecisionProcess() 262 shared_ptr<map<string, shared_ptr<NotificationFlags>>> notificationFlagsOfDevices) const in HandleReminderMethods() 323 shared_ptr<map<string, shared_ptr<NotificationFlags>>> notificationFlagsOfDevices) const in HandleAffectedReminder()
|
H A D | reminder_affected.cpp | 35 NotificationFlags::GetReminderFlagsByString( in FromJson()
|
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/ |
H A D | advancednotificationservice_fuzzer.cpp | 225 auto flag = std::make_shared<Notification::NotificationFlags>(); in DoTestForAdvancedNotificationUtils() 276 auto flag = std::make_shared<Notification::NotificationFlags>(); in DoTestForAdvancedNotificationService()
|
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/ |
H A D | notification_utils.h | 327 bool SetNotificationFlags(const std::shared_ptr<OHOS::Notification::NotificationFlags> &flags,
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_publish_test.cpp | 430 std::shared_ptr<NotificationFlags> notiFlags = notificationRequest.GetFlags(); in CheckCaseFifteenResult() 439 std::shared_ptr<NotificationFlags> notiFlags = notificationRequest.GetFlags(); in CheckCaseSixteenResult() 455 std::shared_ptr<NotificationFlags> notiFlags = notificationRequest.GetFlags(); in CheckCaseTwentyOneResult() 1471 std::shared_ptr<NotificationFlags> notiFlags = std::make_shared<NotificationFlags>(); in HWTEST_F()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_service_test.cpp | 3418 std::shared_ptr<NotificationFlags> flags = std::make_shared<NotificationFlags>(); in HWTEST_F() 3664 std::shared_ptr<NotificationFlags> flagsSet = std::make_shared<NotificationFlags>(); in HWTEST_F()
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_slot_service.cpp | 572 auto flags = std::make_shared<NotificationFlags>(); in SetRequestBySlotType()
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | common.h | 1631 * @brief Sets a js object by specified NotificationFlags object 1634 * @param flags Indicates a NotificationFlags object to be converted 1639 const napi_env &env, const std::shared_ptr<NotificationFlags> &flags, napi_value &result);
|
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/ |
H A D | notification_utils.cpp | 1534 const std::shared_ptr<NotificationFlags> &flags, in SetNotificationFlags() 1561 // readonly notificationFlags?: NotificationFlags in SetNotificationRequestByCustom() 1562 std::shared_ptr<NotificationFlags> flags = request->GetFlags(); in SetNotificationRequestByCustom()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common.cpp | 1328 const napi_env &env, const std::shared_ptr<NotificationFlags> &flags, napi_value &result) in SetNotificationFlags()
|
H A D | common_convert_request.cpp | 345 // readonly notificationFlags?: NotificationFlags in SetNotificationRequestByCustom() 346 std::shared_ptr<NotificationFlags> flags = request->GetFlags(); in SetNotificationRequestByCustom()
|