Home
last modified time | relevance | path

Searched refs:reminderFilterSlot (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/services/ans/src/common/
H A Dnotification_config_parse.cpp92 for (auto &reminderFilterSlot : currentDeviceRemindJson) { in GetCurrentSlotReminder() local
94 if (reminderFilterSlot.find(CFG_KEY_NAME) == reminderFilterSlot.end() || in GetCurrentSlotReminder()
95 reminderFilterSlot[CFG_KEY_NAME].is_null() || in GetCurrentSlotReminder()
96 !reminderFilterSlot[CFG_KEY_NAME].is_string() || in GetCurrentSlotReminder()
97 …!NotificationSlot::GetSlotTypeByString(reminderFilterSlot[CFG_KEY_NAME].get<std::string>(), slotTy… in GetCurrentSlotReminder()
102 if (reminderFilterSlot.find(CFG_KEY_REMINDER_FLAGS) == reminderFilterSlot.end() || in GetCurrentSlotReminder()
103 reminderFilterSlot[CFG_KEY_REMINDER_FLAGS].is_null() || in GetCurrentSlotReminder()
104 !reminderFilterSlot[CFG_KEY_REMINDER_FLAGS].is_string() || in GetCurrentSlotReminder()
106 reminderFilterSlot[CFG_KEY_REMINDER_FLAGS].get<std::string>(), reminderFlags)) { in GetCurrentSlotReminder()
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/notification_smart_reminder/
H A Dsmart_reminder_center.cpp133 vector<shared_ptr<ReminderAffected>> reminderFilterSlot; in ParseReminderFilterSlot() local
163 reminderFilterSlot.push_back(reminderAffected); in ParseReminderFilterSlot()
166 if (reminderFilterSlot.size() > 0) { in ParseReminderFilterSlot()
167 reminderFilterDevice[notificationType] = move(reminderFilterSlot); in ParseReminderFilterSlot()