Home
last modified time | relevance | path

Searched refs:pButton (Results 1 – 1 of 1) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_action_button.cpp243 auto pButton = new (std::nothrow) NotificationActionButton(); in FromJson() local
244 if (pButton == nullptr) { in FromJson()
252 pButton->icon_ = AnsImageUtil::UnPackImage(iconStr); in FromJson()
256 pButton->title_ = jsonObject.at("title").get<std::string>(); in FromJson()
261pButton->wantAgent_ = AbilityRuntime::WantAgent::WantAgentHelper::FromString(wantAgentValue); in FromJson()
268 pButton->extras_ = std::make_shared<AAFwk::WantParams>(params); in FromJson()
272 return pButton; in FromJson()
356 auto pButton = new (std::nothrow) NotificationActionButton(); in Unmarshalling() local
357 if ((pButton != nullptr) && !pButton->ReadFromParcel(parcel)) { in Unmarshalling()
358 delete pButton; in Unmarshalling()
[all …]