Home
last modified time | relevance | path

Searched refs:NotificationTemplate (Results 1 - 13 of 13) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_template.cpp24 void NotificationTemplate::SetTemplateName(const std::string &name) in SetTemplateName()
29 std::string NotificationTemplate::GetTemplateName() const in GetTemplateName()
34 void NotificationTemplate::SetTemplateData(const std::shared_ptr<AAFwk::WantParams> &data) in SetTemplateData()
39 std::shared_ptr<AAFwk::WantParams> NotificationTemplate::GetTemplateData() const in GetTemplateData()
44 std::string NotificationTemplate::Dump() in Dump()
50 bool NotificationTemplate::Marshalling(Parcel &parcel) const in Marshalling()
73 NotificationTemplate *NotificationTemplate::Unmarshalling(Parcel &parcel) in Unmarshalling()
75 auto templ = new (std::nothrow) NotificationTemplate(); in Unmarshalling()
77 ANS_LOGE("Failed to create NotificationTemplate instanc in Unmarshalling()
[all...]
H A Dnotification_request.cpp1740 notificationTemplate_ = std::shared_ptr<NotificationTemplate>(parcel.ReadParcelable<NotificationTemplate>()); in ReadFromParcel()
1814 void NotificationRequest::SetTemplate(const std::shared_ptr<NotificationTemplate> &templ) in SetTemplate()
1819 std::shared_ptr<NotificationTemplate> NotificationRequest::GetTemplate() const in GetTemplate()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_template.h26 class NotificationTemplate : public Parcelable { class
29 * Default constructor used to create an empty NotificationTemplate instance.
31 NotificationTemplate() = default;
36 ~NotificationTemplate() = default;
76 * @return the NotificationTemplate
78 static NotificationTemplate *Unmarshalling(Parcel &parcel);
82 * Read a NotificationTemplate object from a Parcel.
H A Dnotification_request.h1176 void SetTemplate(const std::shared_ptr<NotificationTemplate> &templ);
1183 std::shared_ptr<NotificationTemplate> GetTemplate() const;
1542 std::shared_ptr<NotificationTemplate> notificationTemplate_ {};
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_template_test.cpp44 auto rrc = std::make_shared<NotificationTemplate>(); in HWTEST_F()
58 auto rrc = std::make_shared<NotificationTemplate>(); in HWTEST_F()
71 auto rrc = std::make_shared<NotificationTemplate>(); in HWTEST_F()
85 auto rrc = std::make_shared<NotificationTemplate>(); in HWTEST_F()
99 std::shared_ptr<NotificationTemplate> result = in HWTEST_F()
100 std::make_shared<NotificationTemplate>(); in HWTEST_F()
119 auto rrc = std::make_shared<NotificationTemplate>(); in HWTEST_F()
132 auto rrc = std::make_shared<NotificationTemplate>(); in HWTEST_F()
/base/notification/distributed_notification_service/test/fuzztest/notificationtemplate_fuzzer/
H A Dnotificationtemplate_fuzzer.cpp23 Notification::NotificationTemplate notificationTemplate; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/settemplate_fuzzer/
H A Dsettemplate_fuzzer.cpp71 std::shared_ptr<Notification::NotificationTemplate> templ = in DoSomethingInterestingWithMyAPI()
72 std::make_shared<Notification::NotificationTemplate>(); in DoSomethingInterestingWithMyAPI()
/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi.cpp876 std::shared_ptr<NotificationTemplate> templ = std::make_shared<NotificationTemplate>(); in GetNotificationTemplate()
917 std::shared_ptr<NotificationTemplate> &templ) in GetNotificationTemplateInfo()
/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dcommon.h1598 * @brief Gets a NotificationTemplate object from specified js object
1602 * @param templ Indicates a NotificationTemplate object from specified js object
1606 std::shared_ptr<NotificationTemplate> &templ);
1609 * @brief Sets a js object by specified NotificationTemplate object
1612 * @param templ Indicates a NotificationTemplate object to be converted
1617 const napi_env &env, const std::shared_ptr<NotificationTemplate> &templ, napi_value &result);
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon.cpp1188 std::shared_ptr<NotificationTemplate> templ = std::make_shared<NotificationTemplate>(); in GetNotificationTemplate()
1237 std::shared_ptr<NotificationTemplate> &templ) in GetNotificationTemplateInfo()
1285 const napi_env &env, const std::shared_ptr<NotificationTemplate> &templ, napi_value &result) in SetNotificationTemplateInfo()
H A Dcommon_convert_request.cpp333 // template?: NotificationTemplate in SetNotificationRequestByCustom()
334 std::shared_ptr<NotificationTemplate> templ = request->GetTemplate(); in SetNotificationRequestByCustom()
712 // template?: NotificationTemplate in GetNotificationRequestByCustom()
/base/location/frameworks/js/napi/notification/include/
H A Dnotification_napi.h1200 * @brief Gets a NotificationTemplate object from specified js object
1204 * @param templ Indicates a NotificationTemplate object from specified js object
1208 std::shared_ptr<NotificationTemplate> &templ);
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp418 std::shared_ptr<NotificationTemplate> notiTemplate = notificationRequest.GetTemplate(); in CheckCaseFourteenResult()
1356 std::shared_ptr<NotificationTemplate> notiTemplate = std::make_shared<NotificationTemplate>(); in HWTEST_F()

Completed in 20 milliseconds