Searched refs:templ (Results 1 – 7 of 7) sorted by relevance
75 auto templ = new NotificationTemplate(); in Unmarshalling() local76 if ((templ != nullptr) && !templ->ReadFromParcel(parcel)) { in Unmarshalling()77 delete templ; in Unmarshalling()78 templ = nullptr; in Unmarshalling()81 return templ; in Unmarshalling()
105 auto templ = new NotificationFlags(); in Unmarshalling() local106 if ((templ != nullptr) && !templ->ReadFromParcel(parcel)) { in Unmarshalling()107 delete templ; in Unmarshalling()108 templ = nullptr; in Unmarshalling()111 return templ; in Unmarshalling()
1423 void NotificationRequest::SetTemplate(const std::shared_ptr<NotificationTemplate> &templ) in SetTemplate() argument1425 notificationTemplate_ = templ; in SetTemplate()
71 std::shared_ptr<Notification::NotificationTemplate> templ = in DoSomethingInterestingWithMyAPI() local73 if (templ != nullptr) { in DoSomethingInterestingWithMyAPI()74 templ->SetTemplateName(stringData); in DoSomethingInterestingWithMyAPI()76 request.SetTemplate(templ); in DoSomethingInterestingWithMyAPI()
1507 std::shared_ptr<NotificationTemplate> &templ);1518 … const napi_env &env, const std::shared_ptr<NotificationTemplate> &templ, napi_value &result);
634 std::shared_ptr<NotificationTemplate> templ = request->GetTemplate(); in SetNotificationRequestByCustom() local635 if (templ) { in SetNotificationRequestByCustom()638 if (!SetNotificationTemplateInfo(env, templ, templateResult)) { in SetNotificationRequestByCustom()4576 std::shared_ptr<NotificationTemplate> templ = std::make_shared<NotificationTemplate>(); in GetNotificationTemplate() local4577 if (templ == nullptr) { in GetNotificationTemplate()4581 if (GetNotificationTemplateInfo(env, result, templ) == nullptr) { in GetNotificationTemplate()4585 request.SetTemplate(templ); in GetNotificationTemplate()4592 std::shared_ptr<NotificationTemplate> &templ) in GetNotificationTemplateInfo() argument4616 templ->SetTemplateName(strInput); in GetNotificationTemplateInfo()4633 templ->SetTemplateData(data); in GetNotificationTemplateInfo()[all …]
1035 void SetTemplate(const std::shared_ptr<NotificationTemplate> &templ);