Home
last modified time | relevance | path

Searched refs:templ (Results 1 - 10 of 10) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_template.cpp75 auto templ = new (std::nothrow) NotificationTemplate(); in Unmarshalling() local
76 if (templ == nullptr) { in Unmarshalling()
80 if (!templ->ReadFromParcel(parcel)) { in Unmarshalling()
81 delete templ; in Unmarshalling()
82 templ = nullptr; in Unmarshalling()
85 return templ; in Unmarshalling()
H A Dnotification_flags.cpp200 auto templ = new (std::nothrow) NotificationFlags(); in Unmarshalling() local
201 if (templ == nullptr) { in Unmarshalling()
205 if (!templ->ReadFromParcel(parcel)) { in Unmarshalling()
206 delete templ; in Unmarshalling()
207 templ = nullptr; in Unmarshalling()
210 return templ; in Unmarshalling()
H A Dnotification_request.cpp1814 void NotificationRequest::SetTemplate(const std::shared_ptr<NotificationTemplate> &templ) in SetTemplate() argument
1816 notificationTemplate_ = templ; in SetTemplate()
/base/notification/distributed_notification_service/test/fuzztest/settemplate_fuzzer/
H A 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/
H A Dcommon.cpp1188 std::shared_ptr<NotificationTemplate> templ = std::make_shared<NotificationTemplate>(); in GetNotificationTemplate() local
1189 if (templ == nullptr) { in GetNotificationTemplate()
1193 if (GetNotificationTemplateInfo(env, result, templ) == nullptr) { in GetNotificationTemplate()
1197 request.SetTemplate(templ); in GetNotificationTemplate()
1237 std::shared_ptr<NotificationTemplate> &templ) in GetNotificationTemplateInfo()
1261 templ->SetTemplateName(strInput); in GetNotificationTemplateInfo()
1278 templ->SetTemplateData(data); in GetNotificationTemplateInfo()
1285 const napi_env &env, const std::shared_ptr<NotificationTemplate> &templ, napi_value &result) in SetNotificationTemplateInfo()
1289 if (templ == nullptr) { in SetNotificationTemplateInfo()
1290 ANS_LOGE("templ i in SetNotificationTemplateInfo()
1236 GetNotificationTemplateInfo(const napi_env &env, const napi_value &value, std::shared_ptr<NotificationTemplate> &templ) GetNotificationTemplateInfo() argument
1284 SetNotificationTemplateInfo( const napi_env &env, const std::shared_ptr<NotificationTemplate> &templ, napi_value &result) SetNotificationTemplateInfo() argument
[all...]
H A Dcommon_convert_request.cpp334 std::shared_ptr<NotificationTemplate> templ = request->GetTemplate(); in SetNotificationRequestByCustom() local
335 if (templ) { in SetNotificationRequestByCustom()
338 if (!SetNotificationTemplateInfo(env, templ, templateResult)) { in SetNotificationRequestByCustom()
/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi.cpp876 std::shared_ptr<NotificationTemplate> templ = std::make_shared<NotificationTemplate>(); in GetNotificationTemplate() local
877 if (GetNotificationTemplateInfo(env, result, templ) == nullptr) { in GetNotificationTemplate()
881 request.SetTemplate(templ); in GetNotificationTemplate()
917 std::shared_ptr<NotificationTemplate> &templ) in GetNotificationTemplateInfo()
941 templ->SetTemplateName(strInput); in GetNotificationTemplateInfo()
958 templ->SetTemplateData(data); in GetNotificationTemplateInfo()
916 GetNotificationTemplateInfo(const napi_env &env, const napi_value &value, std::shared_ptr<NotificationTemplate> &templ) GetNotificationTemplateInfo() argument
/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dcommon.h1602 * @param templ Indicates a NotificationTemplate object from specified js object
1606 std::shared_ptr<NotificationTemplate> &templ);
1612 * @param templ Indicates a NotificationTemplate object to be converted
1617 const napi_env &env, const std::shared_ptr<NotificationTemplate> &templ, napi_value &result);
1668 * @param templ Indicates a NotificationUnifiedGroupInfo object from specified js object
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_request.h1176 void SetTemplate(const std::shared_ptr<NotificationTemplate> &templ);
/base/location/frameworks/js/napi/notification/include/
H A Dnotification_napi.h1204 * @param templ Indicates a NotificationTemplate object from specified js object
1208 std::shared_ptr<NotificationTemplate> &templ);
1226 * @param templ Indicates a NotificationUnifiedGroupInfo object from specified js object

Completed in 17 milliseconds