Home
last modified time | relevance | path

Searched refs:NotificationConfigParse (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/services/ans/src/common/
H A Dnotification_config_parse.cpp27 NotificationConfigParse::NotificationConfigParse() in NotificationConfigParse() function in OHOS::Notification::NotificationConfigParse
43 bool NotificationConfigParse::GetConfigJson(const std::string &keyCheck, nlohmann::json &configJson… in GetConfigJson()
71 bool NotificationConfigParse::GetCurrentSlotReminder( in GetCurrentSlotReminder()
118 uint32_t NotificationConfigParse::GetConfigSlotReminderModeByType(NotificationConstant::SlotType sl… in GetConfigSlotReminderModeByType()
138 uint32_t NotificationConfigParse::GetConfigSlotReminderModeByType(NotificationConstant::SlotType sl… in GetConfigSlotReminderModeByType()
148 void NotificationConfigParse::GetFlowCtrlConfigFromCCM(FlowControlThreshold &threshold) in GetFlowCtrlConfigFromCCM()
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_config_parse.h35 class NotificationConfigParse : public DelayedSingleton<NotificationConfigParse> {
37 NotificationConfigParse();
38 ~NotificationConfigParse() = default;
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_trust_list.cpp35 JsonPoint.append(NotificationConfigParse::APP_PRIVILEGES); in GetCcmPrivilegesConfig()
36 if (!NotificationConfigParse::GetInstance()->GetConfigJson(JsonPoint, root)) { in GetCcmPrivilegesConfig()
40 if (!root.contains(NotificationConfigParse::APP_PRIVILEGES)) { in GetCcmPrivilegesConfig()
44 nlohmann::json affects = root[NotificationConfigParse::APP_PRIVILEGES]; in GetCcmPrivilegesConfig()
H A Dreminder_swing_decision_center.cpp71 swingJsonPoint.append(NotificationConfigParse::CFG_KEY_NOTIFICATION_SERVICE); in GetCcmSwingRemind()
77 if (!NotificationConfigParse::GetInstance()->GetConfigJson(swingJsonPoint, root)) { in GetCcmSwingRemind()
82 …nlohmann::json affects = root[NotificationConfigParse::CFG_KEY_NOTIFICATION_SERVICE][SWING_FILTER]… in GetCcmSwingRemind()
H A Dadvanced_notification_slot_service.cpp524 auto configSlotReminderMode = DelayedSingleton<NotificationConfigParse>::GetInstance()-> in UpdateSlotReminderModeBySlotFlags()
548 auto configSlotReminderMode = DelayedSingleton<NotificationConfigParse>::GetInstance()-> in GenerateSlotReminderMode()
H A Dadvanced_notification_flow_control_service.cpp30 DelayedSingleton<NotificationConfigParse>::GetInstance()->GetFlowCtrlConfigFromCCM(threshold_); in FlowControlService()
H A Dnotification_preferences.cpp706 auto configSlotReminderMode = DelayedSingleton<NotificationConfigParse>::GetInstance()-> in UpdateCloneBundleInfo()
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/notification_smart_reminder/
H A Dreminder_affected.cpp32 if (root.find(NotificationConfigParse::CFG_KEY_REMINDER_FLAGS) != root.end() && in FromJson()
33 !root[NotificationConfigParse::CFG_KEY_REMINDER_FLAGS].is_null() && in FromJson()
34 root[NotificationConfigParse::CFG_KEY_REMINDER_FLAGS].is_string() && in FromJson()
36 … root[NotificationConfigParse::CFG_KEY_REMINDER_FLAGS].get<std::string>(), reminderFlags_)) { in FromJson()
H A Dsmart_reminder_center.cpp33 …if (!DelayedSingleton<NotificationConfigParse>::GetInstance()->GetCurrentSlotReminder(currentRemin… in SmartReminderCenter()
43 multiJsonPoint.append(NotificationConfigParse::CFG_KEY_NOTIFICATION_SERVICE); in GetMultiDeviceReminder()
46 …if (!DelayedSingleton<NotificationConfigParse>::GetInstance()->GetConfigJson(multiJsonPoint, root)… in GetMultiDeviceReminder()
51 if (root.find(NotificationConfigParse::CFG_KEY_NOTIFICATION_SERVICE) == root.end()) { in GetMultiDeviceReminder()
57 root[NotificationConfigParse::CFG_KEY_NOTIFICATION_SERVICE][MULTI_DEVICE_REMINDER]; in GetMultiDeviceReminder()
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_slot_service_test.cpp548 …DelayedSingleton<NotificationConfigParse>::GetInstance()->GetConfigSlotReminderModeByType(slotType…