/base/notification/distributed_notification_service/services/ans/src/ |
D | notification_preferences_info.cpp | 193 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/ |
D | notification_helper.h | 546 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/ |
D | notification_helper.cpp | 287 …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/ |
D | notification_preferences_info.h | 248 const sptr<NotificationDoNotDisturbDate> &doNotDisturbDate); 257 sptr<NotificationDoNotDisturbDate> &doNotDisturbDate) const;
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
D | ans_notification.h | 545 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/ |
D | notification_helper_test.cpp | 703 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/ |
D | ans_notification.cpp | 710 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/ |
D | ans_notification_unit_test.cpp | 518 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/ |
D | ans_manager_proxy_unit_test.cpp | 4931 …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 …]
|