Home
last modified time | relevance | path

Searched refs:templ (Results 1 – 7 of 7) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_template.cpp75 auto templ = new NotificationTemplate(); in Unmarshalling() local
76 if ((templ != nullptr) && !templ->ReadFromParcel(parcel)) { in Unmarshalling()
77 delete templ; in Unmarshalling()
78 templ = nullptr; in Unmarshalling()
81 return templ; in Unmarshalling()
Dnotification_flags.cpp105 auto templ = new NotificationFlags(); in Unmarshalling() local
106 if ((templ != nullptr) && !templ->ReadFromParcel(parcel)) { in Unmarshalling()
107 delete templ; in Unmarshalling()
108 templ = nullptr; in Unmarshalling()
111 return templ; in Unmarshalling()
Dnotification_request.cpp1437 void NotificationRequest::SetTemplate(const std::shared_ptr<NotificationTemplate> &templ) in SetTemplate() argument
1439 notificationTemplate_ = templ; in SetTemplate()
/base/notification/distributed_notification_service/test/fuzztest/settemplate_fuzzer/
Dsettemplate_fuzzer.cpp71 std::shared_ptr<Notification::NotificationTemplate> templ = in DoSomethingInterestingWithMyAPI() local
73 if (templ != nullptr) { in DoSomethingInterestingWithMyAPI()
74 templ->SetTemplateName(stringData); in DoSomethingInterestingWithMyAPI()
76 request.SetTemplate(templ); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dcommon.cpp636 std::shared_ptr<NotificationTemplate> templ = request->GetTemplate(); in SetNotificationRequestByCustom() local
637 if (templ) { in SetNotificationRequestByCustom()
640 if (!SetNotificationTemplateInfo(env, templ, templateResult)) { in SetNotificationRequestByCustom()
4655 std::shared_ptr<NotificationTemplate> templ = std::make_shared<NotificationTemplate>(); in GetNotificationTemplate() local
4656 if (templ == nullptr) { in GetNotificationTemplate()
4660 if (GetNotificationTemplateInfo(env, result, templ) == nullptr) { in GetNotificationTemplate()
4664 request.SetTemplate(templ); in GetNotificationTemplate()
4671 std::shared_ptr<NotificationTemplate> &templ) in GetNotificationTemplateInfo() argument
4695 templ->SetTemplateName(strInput); in GetNotificationTemplateInfo()
4712 templ->SetTemplateData(data); in GetNotificationTemplateInfo()
[all …]
/base/notification/distributed_notification_service/frameworks/js/napi/include/
Dcommon.h1513 std::shared_ptr<NotificationTemplate> &templ);
1524 … const napi_env &env, const std::shared_ptr<NotificationTemplate> &templ, napi_value &result);
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_request.h1035 void SetTemplate(const std::shared_ptr<NotificationTemplate> &templ);