Searched refs:templ (Results 1 - 10 of 10) sorted by relevance
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_template.cpp | 75 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 D | notification_flags.cpp | 200 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 D | notification_request.cpp | 1814 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 D | settemplate_fuzzer.cpp | 71 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 D | common.cpp | 1188 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 D | common_convert_request.cpp | 334 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 D | notification_napi.cpp | 876 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 D | common.h | 1602 * @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 D | notification_request.h | 1176 void SetTemplate(const std::shared_ptr<NotificationTemplate> &templ);
|
/base/location/frameworks/js/napi/notification/include/ |
H A D | notification_napi.h | 1204 * @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