Home
last modified time | relevance | path

Searched refs:doNotDisturbDate (Results 1 – 9 of 9) sorted by relevance

/base/notification/distributed_notification_service/services/ans/src/
Dnotification_preferences_info.cpp193 const sptr<NotificationDoNotDisturbDate> &doNotDisturbDate) in SetDoNotDisturbDate() argument
195 doNotDisturbDate_.insert_or_assign(userId, doNotDisturbDate); in SetDoNotDisturbDate()
199 sptr<NotificationDoNotDisturbDate> &doNotDisturbDate) const in GetDoNotDisturbDate()
203 doNotDisturbDate = iter->second; in GetDoNotDisturbDate()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_helper.h546 static ErrCode SetDoNotDisturbDate(const NotificationDoNotDisturbDate &doNotDisturbDate);
555 static ErrCode GetDoNotDisturbDate(NotificationDoNotDisturbDate &doNotDisturbDate);
687 …e SetDoNotDisturbDate(const int32_t &userId, const NotificationDoNotDisturbDate &doNotDisturbDate);
697 …ErrCode GetDoNotDisturbDate(const int32_t &userId, NotificationDoNotDisturbDate &doNotDisturbDate);
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_helper.cpp287 …rCode NotificationHelper::SetDoNotDisturbDate(const NotificationDoNotDisturbDate &doNotDisturbDate) in SetDoNotDisturbDate() argument
289 return DelayedSingleton<AnsNotification>::GetInstance()->SetDoNotDisturbDate(doNotDisturbDate); in SetDoNotDisturbDate()
292 ErrCode NotificationHelper::GetDoNotDisturbDate(NotificationDoNotDisturbDate &doNotDisturbDate) in GetDoNotDisturbDate() argument
294 return DelayedSingleton<AnsNotification>::GetInstance()->GetDoNotDisturbDate(doNotDisturbDate); in GetDoNotDisturbDate()
364 const NotificationDoNotDisturbDate &doNotDisturbDate) in SetDoNotDisturbDate() argument
366 …rn DelayedSingleton<AnsNotification>::GetInstance()->SetDoNotDisturbDate(userId, doNotDisturbDate); in SetDoNotDisturbDate()
369 …nHelper::GetDoNotDisturbDate(const int32_t &userId, NotificationDoNotDisturbDate &doNotDisturbDate) in GetDoNotDisturbDate() argument
371 …rn DelayedSingleton<AnsNotification>::GetInstance()->GetDoNotDisturbDate(userId, doNotDisturbDate); in GetDoNotDisturbDate()
/base/notification/distributed_notification_service/services/ans/include/
Dnotification_preferences_info.h248 const sptr<NotificationDoNotDisturbDate> &doNotDisturbDate);
257 sptr<NotificationDoNotDisturbDate> &doNotDisturbDate) const;
/base/notification/distributed_notification_service/frameworks/core/include/
Dans_notification.h545 ErrCode SetDoNotDisturbDate(const NotificationDoNotDisturbDate &doNotDisturbDate);
554 ErrCode GetDoNotDisturbDate(NotificationDoNotDisturbDate &doNotDisturbDate);
723 …e SetDoNotDisturbDate(const int32_t &userId, const NotificationDoNotDisturbDate &doNotDisturbDate);
733 …ErrCode GetDoNotDisturbDate(const int32_t &userId, NotificationDoNotDisturbDate &doNotDisturbDate);
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_helper_test.cpp703 NotificationDoNotDisturbDate doNotDisturbDate; variable
705 ErrCode ret = notificationHelper.SetDoNotDisturbDate(doNotDisturbDate);
717 NotificationDoNotDisturbDate doNotDisturbDate; variable
719 ErrCode ret = notificationHelper.GetDoNotDisturbDate(doNotDisturbDate);
950 NotificationDoNotDisturbDate doNotDisturbDate; variable
952 ErrCode ret = notificationHelper.SetDoNotDisturbDate(userId, doNotDisturbDate);
965 NotificationDoNotDisturbDate doNotDisturbDate; variable
967 ErrCode ret = notificationHelper.GetDoNotDisturbDate(userId, doNotDisturbDate);
/base/notification/distributed_notification_service/frameworks/core/src/
Dans_notification.cpp710 ErrCode AnsNotification::SetDoNotDisturbDate(const NotificationDoNotDisturbDate &doNotDisturbDate) in SetDoNotDisturbDate() argument
717 auto dndDatePtr = new (std::nothrow) NotificationDoNotDisturbDate(doNotDisturbDate); in SetDoNotDisturbDate()
727 ErrCode AnsNotification::GetDoNotDisturbDate(NotificationDoNotDisturbDate &doNotDisturbDate) in GetDoNotDisturbDate() argument
746 doNotDisturbDate = *dndDate; in GetDoNotDisturbDate()
1184 const NotificationDoNotDisturbDate &doNotDisturbDate) in SetDoNotDisturbDate() argument
1196 auto dndDatePtr = new (std::nothrow) NotificationDoNotDisturbDate(doNotDisturbDate); in SetDoNotDisturbDate()
1206 …ication::GetDoNotDisturbDate(const int32_t &userId, NotificationDoNotDisturbDate &doNotDisturbDate) in GetDoNotDisturbDate() argument
1230 doNotDisturbDate = *dndDate; in GetDoNotDisturbDate()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
Dans_notification_unit_test.cpp518 NotificationDoNotDisturbDate doNotDisturbDate; variable
519 ErrCode ret1 = ans_->SetDoNotDisturbDate(doNotDisturbDate);
521 ErrCode ret2 = ans_->GetDoNotDisturbDate(doNotDisturbDate);
663 NotificationDoNotDisturbDate doNotDisturbDate; variable
664 ErrCode ret1 = ans_->SetDoNotDisturbDate(userId, doNotDisturbDate);
667 ErrCode ret2 = ans_->SetDoNotDisturbDate(userId1, doNotDisturbDate);
669 ErrCode ret3 = ans_->GetDoNotDisturbDate(userId, doNotDisturbDate);
671 ErrCode ret4 = ans_->GetDoNotDisturbDate(userId1, doNotDisturbDate);
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
Dans_manager_proxy_unit_test.cpp4931 …sptr<NotificationDoNotDisturbDate> doNotDisturbDate = new (std::nothrow) NotificationDoNotDisturbD… variable
4932 int32_t result = proxy->SetDoNotDisturbDate(doNotDisturbDate);
4951 sptr<NotificationDoNotDisturbDate> doNotDisturbDate = nullptr; variable
4952 int32_t result = proxy->SetDoNotDisturbDate(doNotDisturbDate);
4973 …sptr<NotificationDoNotDisturbDate> doNotDisturbDate = new (std::nothrow) NotificationDoNotDisturbD… variable
4974 int32_t result = proxy->SetDoNotDisturbDate(doNotDisturbDate);
4993 …sptr<NotificationDoNotDisturbDate> doNotDisturbDate = new (std::nothrow) NotificationDoNotDisturbD… variable
4994 int32_t result = proxy->SetDoNotDisturbDate(doNotDisturbDate);
5015 …sptr<NotificationDoNotDisturbDate> doNotDisturbDate = new (std::nothrow) NotificationDoNotDisturbD… variable
5016 int32_t result = proxy->SetDoNotDisturbDate(doNotDisturbDate);
[all …]