Home
last modified time | relevance | path

Searched refs:NotificationFlags (Results 1 - 25 of 26) sorted by relevance

12

/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_flags.cpp27 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 Dnotification_subscriber.cpp60 std::shared_ptr<NotificationFlags> tempFlags = request->GetFlags(); in ProcessSyncDecision()
H A Dnotification_request.cpp1749 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 Dnotification_flags_test.cpp44 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 Dnotification_flags.h27 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 Dnotification_request.h1190 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 Dnotification_config_parse.cpp71 std::map<NotificationConstant::SlotType, std::shared_ptr<NotificationFlags>> &currentSlotReminder) 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 Dsmart_reminder_center.h70 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 Dreminder_affected.h37 std::shared_ptr<NotificationFlags> reminderFlags_;
H A Dnotification_config_parse.h40 std::map<NotificationConstant::SlotType, std::shared_ptr<NotificationFlags>> &currentSlotReminder) const;
H A Dadvanced_notification_service.h1244 void ExtendDumpForFlags(std::shared_ptr<NotificationFlags>, std::stringstream &stream);
/base/notification/distributed_notification_service/test/fuzztest/notificationflags_fuzzer/
H A Dnotificationflags_fuzzer.cpp26 Notification::NotificationFlags notificationFlags; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/publishcontinuoustasknotification_fuzzer/
H A Dpublishcontinuoustasknotification_fuzzer.cpp55 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 Dpublishnotification_fuzzer.cpp55 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 Dsmart_reminder_center.cpp230 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 Dreminder_affected.cpp35 NotificationFlags::GetReminderFlagsByString( in FromJson()
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/
H A Dadvancednotificationservice_fuzzer.cpp225 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 Dnotification_utils.h327 bool SetNotificationFlags(const std::shared_ptr<OHOS::Notification::NotificationFlags> &flags,
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp430 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 Dadvanced_notification_service_test.cpp3418 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 Dadvanced_notification_slot_service.cpp572 auto flags = std::make_shared<NotificationFlags>(); in SetRequestBySlotType()
/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dcommon.h1631 * @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 Dnotification_utils.cpp1534 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 Dcommon.cpp1328 const napi_env &env, const std::shared_ptr<NotificationFlags> &flags, napi_value &result) in SetNotificationFlags()
H A Dcommon_convert_request.cpp345 // readonly notificationFlags?: NotificationFlags in SetNotificationRequestByCustom()
346 std::shared_ptr<NotificationFlags> flags = request->GetFlags(); in SetNotificationRequestByCustom()

Completed in 33 milliseconds

12