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()
1437 void NotificationRequest::SetTemplate(const std::shared_ptr<NotificationTemplate> &templ) in SetTemplate() argument1439 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()
636 std::shared_ptr<NotificationTemplate> templ = request->GetTemplate(); in SetNotificationRequestByCustom() local637 if (templ) { in SetNotificationRequestByCustom()640 if (!SetNotificationTemplateInfo(env, templ, templateResult)) { in SetNotificationRequestByCustom()4655 std::shared_ptr<NotificationTemplate> templ = std::make_shared<NotificationTemplate>(); in GetNotificationTemplate() local4656 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() argument4695 templ->SetTemplateName(strInput); in GetNotificationTemplateInfo()4712 templ->SetTemplateData(data); in GetNotificationTemplateInfo()[all …]
1513 std::shared_ptr<NotificationTemplate> &templ);1524 … const napi_env &env, const std::shared_ptr<NotificationTemplate> &templ, napi_value &result);
1035 void SetTemplate(const std::shared_ptr<NotificationTemplate> &templ);