Home
last modified time | relevance | path

Searched refs:ReminderFlag (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_flags.cpp31 reminderFlags_ |= NotificationConstant::ReminderFlag::SOUND_FLAG; in SetSoundEnabled()
33 reminderFlags_ &= ~(NotificationConstant::ReminderFlag::SOUND_FLAG); in SetSoundEnabled()
46 reminderFlags_ |= NotificationConstant::ReminderFlag::VIBRATION_FLAG; in SetVibrationEnabled()
48 reminderFlags_ &= ~(NotificationConstant::ReminderFlag::VIBRATION_FLAG); in SetVibrationEnabled()
65 reminderFlags_ |= NotificationConstant::ReminderFlag::LOCKSCREEN_FLAG; in SetLockScreenVisblenessEnabled()
67 reminderFlags_ &= ~(NotificationConstant::ReminderFlag::LOCKSCREEN_FLAG); in SetLockScreenVisblenessEnabled()
82 reminderFlags_ |= NotificationConstant::ReminderFlag::BANNER_FLAG; in SetBannerEnabled()
84 reminderFlags_ &= ~(NotificationConstant::ReminderFlag::BANNER_FLAG); in SetBannerEnabled()
90 if ((reminderFlags_ & NotificationConstant::ReminderFlag::BANNER_FLAG) != 0) { in IsBannerEnabled()
99 reminderFlags_ |= NotificationConstant::ReminderFlag::LIGHTSCREEN_FLAG; in SetLightScreenEnabled()
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_slot_service.cpp566 if ((notificationControlFlags & NotificationConstant::ReminderFlag::SA_SELF_BANNER_FLAG) != 0) { in GetDefaultSlotFlags()
571 … if (((notificationControlFlags & NotificationConstant::ReminderFlag::SA_SELF_BANNER_FLAG) != 0) && in GetDefaultSlotFlags()
574 return (flags |= NotificationConstant::ReminderFlag::BANNER_FLAG); in GetDefaultSlotFlags()
601 if ((slotReminderMode & NotificationConstant::ReminderFlag::SOUND_FLAG) != 0) { in SetRequestBySlotType()
605 if ((slotReminderMode & NotificationConstant::ReminderFlag::LOCKSCREEN_FLAG) != 0) { in SetRequestBySlotType()
609 if ((slotReminderMode & NotificationConstant::ReminderFlag::BANNER_FLAG) != 0) { in SetRequestBySlotType()
613 if ((slotReminderMode & NotificationConstant::ReminderFlag::LIGHTSCREEN_FLAG) != 0) { in SetRequestBySlotType()
617 if ((slotReminderMode & NotificationConstant::ReminderFlag::VIBRATION_FLAG) != 0) { in SetRequestBySlotType()
621 if ((slotReminderMode & NotificationConstant::ReminderFlag::STATUSBAR_ICON_FLAG) != 0) { in SetRequestBySlotType()
H A Dadvanced_notification_service.cpp940 (notificationControlFlags & NotificationConstant::ReminderFlag::SOUND_FLAG) != 0) { in ChangeNotificationByControlFlags()
946 (notificationControlFlags & NotificationConstant::ReminderFlag::LOCKSCREEN_FLAG) != 0) { in ChangeNotificationByControlFlags()
951 …if (flags->IsBannerEnabled() && (notificationControlFlags & NotificationConstant::ReminderFlag::BA… in ChangeNotificationByControlFlags()
956 (notificationControlFlags & NotificationConstant::ReminderFlag::LIGHTSCREEN_FLAG) != 0) { in ChangeNotificationByControlFlags()
961 (notificationControlFlags & NotificationConstant::ReminderFlag::VIBRATION_FLAG) != 0) { in ChangeNotificationByControlFlags()
967 (notificationControlFlags & NotificationConstant::ReminderFlag::STATUSBAR_ICON_FLAG) != 0) { in ChangeNotificationByControlFlags()
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_constant.h71 enum ReminderFlag { enum
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_service_test.cpp3407 notificationControlFlags |= NotificationConstant::ReminderFlag::SOUND_FLAG;
3408 notificationControlFlags |= NotificationConstant::ReminderFlag::LOCKSCREEN_FLAG;
3409 notificationControlFlags |= NotificationConstant::ReminderFlag::BANNER_FLAG;
3410 notificationControlFlags |= NotificationConstant::ReminderFlag::LIGHTSCREEN_FLAG;
3411 notificationControlFlags |= NotificationConstant::ReminderFlag::VIBRATION_FLAG;
3412 notificationControlFlags |= NotificationConstant::ReminderFlag::STATUSBAR_ICON_FLAG;