/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_do_not_disturb_date.cpp | 26 NotificationDoNotDisturbDate::NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType d… in NotificationDoNotDisturbDate() function in OHOS::Notification::NotificationDoNotDisturbDate 36 NotificationConstant::DoNotDisturbType NotificationDoNotDisturbDate::GetDoNotDisturbType() const in GetDoNotDisturbType() 41 void NotificationDoNotDisturbDate::SetBeginDate(const int64_t beginDate) in SetBeginDate() 46 int64_t NotificationDoNotDisturbDate::GetBeginDate() const in GetBeginDate() 51 void NotificationDoNotDisturbDate::SetEndDate(const int64_t endDate) in SetEndDate() 56 int64_t NotificationDoNotDisturbDate::GetEndDate() const in GetEndDate() 61 std::string NotificationDoNotDisturbDate::Dump() in Dump() 70 bool NotificationDoNotDisturbDate::Marshalling(Parcel &parcel) const in Marshalling() 90 NotificationDoNotDisturbDate *NotificationDoNotDisturbDate::Unmarshalling(Parcel &parcel) in Unmarshalling() 92 auto objptr = new (std::nothrow) NotificationDoNotDisturbDate(); in Unmarshalling() [all …]
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_do_not_disturb_date_test.cpp | 48 auto rrc = std::make_shared<NotificationDoNotDisturbDate>(doNotDisturbType, beginDate, endDate); 65 auto rrc = std::make_shared<NotificationDoNotDisturbDate>(doNotDisturbType, beginDate, endDate); 82 auto rrc = std::make_shared<NotificationDoNotDisturbDate>(doNotDisturbType, beginDate, endDate); 98 auto rrc = std::make_shared<NotificationDoNotDisturbDate>(doNotDisturbType, beginDate, endDate); 115 auto rrc = std::make_shared<NotificationDoNotDisturbDate>(doNotDisturbType, beginDate, endDate); 132 std::shared_ptr<NotificationDoNotDisturbDate> result = 133 std::make_shared<NotificationDoNotDisturbDate>(doNotDisturbType, beginDate, endDate); 154 auto rrc = std::make_shared<NotificationDoNotDisturbDate>(doNotDisturbType, beginDate, endDate);
|
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_do_not_disturb_date.h | 24 class NotificationDoNotDisturbDate : public Parcelable { 29 NotificationDoNotDisturbDate() = default; 37 NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType doNotDisturbType, 43 ~NotificationDoNotDisturbDate() = default; 99 static NotificationDoNotDisturbDate *Unmarshalling(Parcel &parcel);
|
H A D | notification_helper.h | 757 static ErrCode SetDoNotDisturbDate(const NotificationDoNotDisturbDate &doNotDisturbDate); 766 static ErrCode GetDoNotDisturbDate(NotificationDoNotDisturbDate &doNotDisturbDate); 906 …static ErrCode SetDoNotDisturbDate(const int32_t &userId, const NotificationDoNotDisturbDate &doNo… 916 …static ErrCode GetDoNotDisturbDate(const int32_t &userId, NotificationDoNotDisturbDate &doNotDistu…
|
H A D | notification_subscriber.h | 81 …virtual void OnDoNotDisturbDateChange(const std::shared_ptr<NotificationDoNotDisturbDate> &date) =… 165 void OnDoNotDisturbDateChange(const sptr<NotificationDoNotDisturbDate> &date) override;
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_manager_proxy_disturb.cpp | 30 ErrCode AnsManagerProxy::SetDoNotDisturbDate(const sptr<NotificationDoNotDisturbDate> &date) in SetDoNotDisturbDate() 64 ErrCode AnsManagerProxy::GetDoNotDisturbDate(sptr<NotificationDoNotDisturbDate> &date) in GetDoNotDisturbDate() 86 date = reply.ReadParcelable<NotificationDoNotDisturbDate>(); in GetDoNotDisturbDate() 192 …erProxy::SetDoNotDisturbDate(const int32_t &userId, const sptr<NotificationDoNotDisturbDate> &date) in SetDoNotDisturbDate() 231 …sManagerProxy::GetDoNotDisturbDate(const int32_t &userId, sptr<NotificationDoNotDisturbDate> &date) in GetDoNotDisturbDate() 258 date = reply.ReadParcelable<NotificationDoNotDisturbDate>(); in GetDoNotDisturbDate()
|
H A D | ans_subscriber_stub.cpp | 267 sptr<NotificationDoNotDisturbDate> date = data.ReadParcelable<NotificationDoNotDisturbDate>(); in HandleOnDoNotDisturbDateChange() 331 void AnsSubscriberStub::OnDoNotDisturbDateChange(const sptr<NotificationDoNotDisturbDate> &date) {} in OnDoNotDisturbDateChange()
|
H A D | ans_subscriber_listener.cpp | 150 void SubscriberListener::OnDoNotDisturbDateChange(const sptr<NotificationDoNotDisturbDate> &date) in OnDoNotDisturbDateChange() 157 subscriber->OnDoNotDisturbDateChange(std::make_shared<NotificationDoNotDisturbDate>(*date)); in OnDoNotDisturbDateChange()
|
H A D | ans_manager_stub_invalid.cpp | 385 ErrCode AnsManagerStub::SetDoNotDisturbDate(const sptr<NotificationDoNotDisturbDate> &date) in SetDoNotDisturbDate() 391 ErrCode AnsManagerStub::GetDoNotDisturbDate(sptr<NotificationDoNotDisturbDate> &date) in GetDoNotDisturbDate() 535 …gerStub::SetDoNotDisturbDate(const int32_t &userId, const sptr<NotificationDoNotDisturbDate> &date) in SetDoNotDisturbDate() 541 …nsManagerStub::GetDoNotDisturbDate(const int32_t &userId, sptr<NotificationDoNotDisturbDate> &date) in GetDoNotDisturbDate()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_preferences_info.h | 287 const sptr<NotificationDoNotDisturbDate> &doNotDisturbDate); 296 sptr<NotificationDoNotDisturbDate> &doNotDisturbDate) const; 325 std::map<int32_t, sptr<NotificationDoNotDisturbDate>> doNotDisturbDate_;
|
H A D | notification_subscriber_manager.h | 100 …tifyDoNotDisturbDateChanged(const int32_t &userId, const sptr<NotificationDoNotDisturbDate> &date); 164 …oNotDisturbDateChangedInner(const int32_t &userId, const sptr<NotificationDoNotDisturbDate> &date);
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/anssubscriberproxy_fuzzer/ |
H A D | anssubscriberproxy_fuzzer.cpp | 54 …sptr<Notification::NotificationDoNotDisturbDate> date = new Notification::NotificationDoNotDisturb… in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | disturb_mode.h | 30 NotificationDoNotDisturbDate date; 60 NotificationDoNotDisturbDate date;
|
H A D | subscribe.h | 80 …virtual void OnDoNotDisturbDateChange(const std::shared_ptr<NotificationDoNotDisturbDate> &date) o… 87 void onDoNotDisturbChanged(const std::shared_ptr<NotificationDoNotDisturbDate> &date);
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/anssubscriberstub_fuzzer/ |
H A D | anssubscriberstub_fuzzer.cpp | 65 …sptr<Notification::NotificationDoNotDisturbDate> date = new Notification::NotificationDoNotDisturb… in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_preferences_test.cpp | 895 sptr<NotificationDoNotDisturbDate> date = 896 …new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::ONCE, beginDate, endDate); 914 sptr<NotificationDoNotDisturbDate> date = 915 …new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::ONCE, beginDate, endDate); 934 sptr<NotificationDoNotDisturbDate> date = 935 …new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::DAILY, beginDate, endDate… 938 sptr<NotificationDoNotDisturbDate> getDate; 958 sptr<NotificationDoNotDisturbDate> date = 962 sptr<NotificationDoNotDisturbDate> getDate; 968 sptr<NotificationDoNotDisturbDate> getExsitDate; [all …]
|
H A D | notification_preferences_database_test.cpp | 221 sptr<NotificationDoNotDisturbDate> date = 222 new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::NONE, 0, 0); 239 sptr<NotificationDoNotDisturbDate> date = 240 …new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::ONCE, beginDate, endDate); 257 sptr<NotificationDoNotDisturbDate> date = 258 …new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::DAILY, beginDate, endDate… 276 sptr<NotificationDoNotDisturbDate> date = 277 …new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::CLEARLY, beginDate, endDa…
|
H A D | advanced_notification_service_branch_test.cpp | 115 … void OnDoNotDisturbDateChange(const std::shared_ptr<NotificationDoNotDisturbDate> &date) override in OnDoNotDisturbDateChange() 758 sptr<NotificationDoNotDisturbDate> date = 759 new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::NONE, 0, 0); 776 sptr<NotificationDoNotDisturbDate> date = 777 new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::NONE, 0, 0); 934 sptr<NotificationDoNotDisturbDate> date = nullptr; 951 sptr<NotificationDoNotDisturbDate> date = nullptr;
|
H A D | notification_subscriber_manager_test.cpp | 58 … void OnDoNotDisturbDateChange(const std::shared_ptr<NotificationDoNotDisturbDate> &date) override in OnDoNotDisturbDateChange() 131 sptr<NotificationDoNotDisturbDate> date = 132 new NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType::NONE, 0, 0);
|
H A D | advanced_notification_service_test.cpp | 814 sptr<NotificationDoNotDisturbDate> date = 853 sptr<NotificationDoNotDisturbDate> date = 858 sptr<NotificationDoNotDisturbDate> result = nullptr; 882 sptr<NotificationDoNotDisturbDate> date = 886 sptr<NotificationDoNotDisturbDate> result = nullptr; 910 sptr<NotificationDoNotDisturbDate> date = 914 sptr<NotificationDoNotDisturbDate> result = nullptr; 938 sptr<NotificationDoNotDisturbDate> date = 1156 sptr<NotificationDoNotDisturbDate> date = nullptr; 1522 sptr<NotificationDoNotDisturbDate> date = nullptr; [all …]
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/include/ |
H A D | ans_notification.h | 759 ErrCode SetDoNotDisturbDate(const NotificationDoNotDisturbDate &doNotDisturbDate); 768 ErrCode GetDoNotDisturbDate(NotificationDoNotDisturbDate &doNotDisturbDate); 994 …ErrCode SetDoNotDisturbDate(const int32_t &userId, const NotificationDoNotDisturbDate &doNotDistur… 1004 …ErrCode GetDoNotDisturbDate(const int32_t &userId, NotificationDoNotDisturbDate &doNotDisturbDate);
|
H A D | ans_manager_interface.h | 545 virtual ErrCode SetDoNotDisturbDate(const sptr<NotificationDoNotDisturbDate> &date) = 0; 553 virtual ErrCode GetDoNotDisturbDate(sptr<NotificationDoNotDisturbDate> &date) = 0; 776 …ErrCode SetDoNotDisturbDate(const int32_t &userId, const sptr<NotificationDoNotDisturbDate> &date)… 785 …virtual ErrCode GetDoNotDisturbDate(const int32_t &userId, sptr<NotificationDoNotDisturbDate> &dat…
|
H A D | ans_manager_proxy.h | 533 ErrCode SetDoNotDisturbDate(const sptr<NotificationDoNotDisturbDate> &date) override; 541 ErrCode GetDoNotDisturbDate(sptr<NotificationDoNotDisturbDate> &date) override; 764 …ErrCode SetDoNotDisturbDate(const int32_t &userId, const sptr<NotificationDoNotDisturbDate> &date)… 773 …ErrCode GetDoNotDisturbDate(const int32_t &userId, sptr<NotificationDoNotDisturbDate> &date) overr…
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationdonotdisturbdate_fuzzer/ |
H A D | notificationdonotdisturbdate_fuzzer.cpp | 28 …Notification::NotificationDoNotDisturbDate notificationDoNotDisturbDate(disturbType, beginDate, en… in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_fw_module_test.cpp | 156 const std::shared_ptr<NotificationDoNotDisturbDate> &GetDoNotDisturbDate() const in GetDoNotDisturbDate() 162 std::shared_ptr<NotificationDoNotDisturbDate> date_; 1466 static NotificationDoNotDisturbDate GetDoNotDisturbDateInstance( in GetDoNotDisturbDateInstance() 1491 NotificationDoNotDisturbDate getDate; 1522 NotificationDoNotDisturbDate disDate; 1544 NotificationDoNotDisturbDate disDate; 1568 NotificationDoNotDisturbDate disDate; 1590 NotificationDoNotDisturbDate disDate; 1612 NotificationDoNotDisturbDate disDate; 1636 NotificationDoNotDisturbDate disDate; [all …]
|