Searched refs:pContent (Results 1 – 11 of 11) sorted by relevance
43 auto pContent = new (std::nothrow) NotificationNormalContent(); in FromJson() local44 if (pContent == nullptr) { in FromJson()49 pContent->ReadFromJson(jsonObject); in FromJson()51 return pContent; in FromJson()61 auto pContent = new (std::nothrow) NotificationNormalContent(); in Unmarshalling() local62 if ((pContent != nullptr) && !pContent->ReadFromParcel(parcel)) { in Unmarshalling()63 delete pContent; in Unmarshalling()64 pContent = nullptr; in Unmarshalling()67 return pContent; in Unmarshalling()
101 auto pContent = new (std::nothrow) NotificationLongTextContent(); in FromJson() local102 if (pContent == nullptr) { in FromJson()107 pContent->ReadFromJson(jsonObject); in FromJson()111 pContent->longText_ = jsonObject.at("longText").get<std::string>(); in FromJson()119 pContent->briefText_ = jsonObject.at("briefText").get<std::string>(); in FromJson()122 return pContent; in FromJson()152 auto pContent = new (std::nothrow) NotificationLongTextContent(); in Unmarshalling() local153 if ((pContent != nullptr) && !pContent->ReadFromParcel(parcel)) { in Unmarshalling()154 delete pContent; in Unmarshalling()155 pContent = nullptr; in Unmarshalling()[all …]
98 auto pContent = new (std::nothrow) NotificationMultiLineContent(); in FromJson() local99 if (pContent == nullptr) { in FromJson()104 pContent->ReadFromJson(jsonObject); in FromJson()108 pContent->expandedTitle_ = jsonObject.at("expandedTitle").get<std::string>(); in FromJson()112 pContent->briefText_ = jsonObject.at("briefText").get<std::string>(); in FromJson()119 return pContent; in FromJson()149 auto pContent = new (std::nothrow) NotificationMultiLineContent(); in Unmarshalling() local150 if ((pContent != nullptr) && !pContent->ReadFromParcel(parcel)) { in Unmarshalling()151 delete pContent; in Unmarshalling()152 pContent = nullptr; in Unmarshalling()[all …]
82 auto pContent = new (std::nothrow) NotificationPictureContent(); in FromJson() local83 if (pContent == nullptr) { in FromJson()88 pContent->ReadFromJson(jsonObject); in FromJson()97 pContent->briefText_ = jsonObject.at("briefText").get<std::string>(); in FromJson()102 pContent->bigPicture_ = AnsImageUtil::UnPackImage(picStr); in FromJson()105 return pContent; in FromJson()143 auto pContent = new (std::nothrow) NotificationPictureContent(); in Unmarshalling() local144 if ((pContent != nullptr) && !pContent->ReadFromParcel(parcel)) { in Unmarshalling()145 delete pContent; in Unmarshalling()146 pContent = nullptr; in Unmarshalling()[all …]
74 auto pContent = new (std::nothrow) NotificationMediaContent(); in FromJson() local75 if (pContent == nullptr) { in FromJson()80 pContent->ReadFromJson(jsonObject); in FromJson()84 pContent->sequenceNumbers_ = jsonObject.at("sequenceNumbers").get<std::vector<uint32_t>>(); in FromJson()87 return pContent; in FromJson()107 auto pContent = new (std::nothrow) NotificationMediaContent(); in Unmarshalling() local108 if ((pContent != nullptr) && !pContent->ReadFromParcel(parcel)) { in Unmarshalling()109 delete pContent; in Unmarshalling()110 pContent = nullptr; in Unmarshalling()113 return pContent; in Unmarshalling()
163 if (pContent == nullptr) { in FromJson()168 pContent->ReadFromJson(jsonObject); in FromJson()179 pContent->capsule_ = *pCapsule; in FromJson()189 pContent->button_ = *pButton; in FromJson()199 pContent->progress_ = *pProgress; in FromJson()209 pContent->time_ = *pTime; in FromJson()219 return pContent; in FromJson()269 if ((pContent != nullptr) && !pContent->ReadFromParcel(parcel)) { in Unmarshalling()270 delete pContent; in Unmarshalling()271 pContent = nullptr; in Unmarshalling()[all …]
141 if (pContent == nullptr) { in FromJson()146 pContent->ReadFromJson(jsonObject); in FromJson()153 pContent->messageUser_ = *pUser; in FromJson()167 delete pContent; in FromJson()168 pContent = nullptr; in FromJson()172 pContent->messages_.emplace_back(pMsg); in FromJson()176 return pContent; in FromJson()230 if ((pContent != nullptr) && !pContent->ReadFromParcel(parcel)) { in Unmarshalling()231 delete pContent; in Unmarshalling()232 pContent = nullptr; in Unmarshalling()[all …]
163 auto *pContent = new (std::nothrow) NotificationLiveViewContent(); in FromJson() local164 if (pContent == nullptr) { in FromJson()169 pContent->ReadFromJson(jsonObject); in FromJson()178 pContent->version_ = jsonObject.at("version").get<uint32_t>(); in FromJson()191 pContent->ConvertPictureFromJson(jsonObject); in FromJson()192 return pContent; in FromJson()240 auto *pContent = new (std::nothrow) NotificationLiveViewContent(); in Unmarshalling() local241 if ((pContent != nullptr) && !pContent->ReadFromParcel(parcel)) { in Unmarshalling()242 delete pContent; in Unmarshalling()243 pContent = nullptr; in Unmarshalling()[all …]
175 auto pContent = new (std::nothrow) NotificationContent(); in FromJson() local176 if (pContent == nullptr) { in FromJson()181 if (!ConvertJsonToContent(pContent, jsonObject)) { in FromJson()182 delete pContent; in FromJson()183 pContent = nullptr; in FromJson()187 return pContent; in FromJson()215 auto pContent = new (std::nothrow) NotificationContent(); in Unmarshalling() local216 if ((pContent != nullptr) && !pContent->ReadFromParcel(parcel)) { in Unmarshalling()217 delete pContent; in Unmarshalling()218 pContent = nullptr; in Unmarshalling()[all …]
2241 … auto pContent = NotificationJsonConverter::ConvertFromJson<NotificationContent>(contentObj); in ConvertJsonToNotificationContent() local2242 if (pContent == nullptr) { in ConvertJsonToNotificationContent()2247 target->notificationContent_ = std::shared_ptr<NotificationContent>(pContent); in ConvertJsonToNotificationContent()
920 IN FILLP_CONST void *pContent) in FillpDebugControl() argument933 FillpDebugCmdSocketConfigRes(pContent); in FillpDebugControl()938 FillpDebugCmdSetPrintLevel(pContent); in FillpDebugControl()