Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
Dreminder_common.cpp87 auto buttonWantAgent = std::make_shared<ReminderRequest::ButtonWantAgent>(); in GenActionButtons() local
89 GetButtonWantAgent(env, actionButton, reminder, buttonWantAgent); in GenActionButtons()
92 buttonWantAgent); in GenActionButtons()
114 …ptr<ReminderRequest>& reminder, std::shared_ptr<ReminderRequest::ButtonWantAgent>& buttonWantAgent) in GetButtonWantAgent() argument
121 buttonWantAgent->pkgName = str; in GetButtonWantAgent()
125 buttonWantAgent->abilityName = str; in GetButtonWantAgent()
/base/notification/distributed_notification_service/frameworks/ans/src/
Dreminder_request.cpp188 const std::shared_ptr<ButtonWantAgent> &buttonWantAgent) in SetActionButton() argument
197 actionButtonInfo.wantAgent = buttonWantAgent; in SetActionButton()
602 auto buttonWantAgent = std::make_shared<ReminderRequest::ButtonWantAgent>(); in RecoverActionButton() local
604 buttonWantAgent->pkgName = singleButton.at(BUTTON_PKG_INDEX); in RecoverActionButton()
605 buttonWantAgent->abilityName = singleButton.at(BUTTON_ABILITY_INDEX); in RecoverActionButton()
608 … ActionButtonType(std::stoi(singleButton.at(BUTTON_TYPE_INDEX), nullptr)), buttonWantAgent); in RecoverActionButton()
610 singleButton.at(BUTTON_TITLE_INDEX).c_str(), buttonWantAgent->pkgName.c_str(), in RecoverActionButton()
611 buttonWantAgent->abilityName.c_str()); in RecoverActionButton()
1454 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> buttonWantAgent = in AddActionButtons() local
1459 = NotificationActionButton::Create(nullptr, title, buttonWantAgent); in AddActionButtons()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dreminder_request.h452 const std::shared_ptr<ButtonWantAgent> &buttonWantAgent = nullptr);