Home
last modified time | relevance | path

Searched refs:NotificationDoNotDisturbDate (Results 1 – 25 of 70) sorted by relevance

123

/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_do_not_disturb_date.cpp26 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 Dnotification_do_not_disturb_date_test.cpp48 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 Dnotification_do_not_disturb_date.h24 class NotificationDoNotDisturbDate : public Parcelable {
29 NotificationDoNotDisturbDate() = default;
37 NotificationDoNotDisturbDate(NotificationConstant::DoNotDisturbType doNotDisturbType,
43 ~NotificationDoNotDisturbDate() = default;
99 static NotificationDoNotDisturbDate *Unmarshalling(Parcel &parcel);
H A Dnotification_helper.h757 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 Dnotification_subscriber.h81 …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 Dans_manager_proxy_disturb.cpp30 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 Dans_subscriber_stub.cpp267 sptr<NotificationDoNotDisturbDate> date = data.ReadParcelable<NotificationDoNotDisturbDate>(); in HandleOnDoNotDisturbDateChange()
331 void AnsSubscriberStub::OnDoNotDisturbDateChange(const sptr<NotificationDoNotDisturbDate> &date) {} in OnDoNotDisturbDateChange()
H A Dans_subscriber_listener.cpp150 void SubscriberListener::OnDoNotDisturbDateChange(const sptr<NotificationDoNotDisturbDate> &date) in OnDoNotDisturbDateChange()
157 subscriber->OnDoNotDisturbDateChange(std::make_shared<NotificationDoNotDisturbDate>(*date)); in OnDoNotDisturbDateChange()
H A Dans_manager_stub_invalid.cpp385 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 Dnotification_preferences_info.h287 const sptr<NotificationDoNotDisturbDate> &doNotDisturbDate);
296 sptr<NotificationDoNotDisturbDate> &doNotDisturbDate) const;
325 std::map<int32_t, sptr<NotificationDoNotDisturbDate>> doNotDisturbDate_;
H A Dnotification_subscriber_manager.h100 …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 Danssubscriberproxy_fuzzer.cpp54 …sptr<Notification::NotificationDoNotDisturbDate> date = new Notification::NotificationDoNotDisturb… in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Ddisturb_mode.h30 NotificationDoNotDisturbDate date;
60 NotificationDoNotDisturbDate date;
H A Dsubscribe.h80 …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 Danssubscriberstub_fuzzer.cpp65 …sptr<Notification::NotificationDoNotDisturbDate> date = new Notification::NotificationDoNotDisturb… in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_test.cpp895 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 Dnotification_preferences_database_test.cpp221 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 Dadvanced_notification_service_branch_test.cpp115 … 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 Dnotification_subscriber_manager_test.cpp58 … 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 Dadvanced_notification_service_test.cpp814 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 Dans_notification.h759 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 Dans_manager_interface.h545 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 Dans_manager_proxy.h533 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 Dnotificationdonotdisturbdate_fuzzer.cpp28 …Notification::NotificationDoNotDisturbDate notificationDoNotDisturbDate(disturbType, beginDate, en… in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_fw_module_test.cpp156 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 …]

123