Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_action_button.cpp25 std::shared_ptr<NotificationActionButton> NotificationActionButton::Create(const std::shared_ptr<Me… in Create()
51 auto pActionButton = new (std::nothrow) NotificationActionButton(icon, in Create()
65 return std::shared_ptr<NotificationActionButton>(pActionButton); in Create()
68 std::shared_ptr<NotificationActionButton> NotificationActionButton::Create( in Create()
69 const std::shared_ptr<NotificationActionButton> &actionButton) in Create()
76 return NotificationActionButton::Create(actionButton->GetIcon(), in Create()
87 NotificationActionButton::NotificationActionButton(const std::shared_ptr<Media::PixelMap> &icon, in NotificationActionButton() function in OHOS::Notification::NotificationActionButton
103 const std::shared_ptr<Media::PixelMap> NotificationActionButton::GetIcon() const in GetIcon()
108 std::string NotificationActionButton::GetTitle() const in GetTitle()
113 const std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> NotificationActionButton::GetWantAgent(… in GetWantAgent()
[all …]
Dnotification_request.cpp172 void NotificationRequest::AddActionButton(const std::shared_ptr<NotificationActionButton> &actionBu… in AddActionButton()
187 const std::vector<std::shared_ptr<NotificationActionButton>> NotificationRequest::GetActionButtons(… in GetActionButtons()
1370 auto member = parcel.ReadParcelable<NotificationActionButton>(); in ReadFromParcel()
1811 … auto pBtn = NotificationJsonConverter::ConvertFromJson<NotificationActionButton>(btnObj); in ConvertJsonToNotificationActionButton()
Dreminder_request.cpp1458 std::shared_ptr<NotificationActionButton> actionButton in AddActionButtons()
1459 = NotificationActionButton::Create(nullptr, title, buttonWantAgent); in AddActionButtons()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_action_button_test.cpp45 std::shared_ptr<NotificationActionButton> actionButton = nullptr; in HWTEST_F()
46 std::shared_ptr<NotificationActionButton> notificationActionButton = in HWTEST_F()
47 NotificationActionButton::Create(actionButton); in HWTEST_F()
51 std::shared_ptr<NotificationActionButton> actionButton1 = in HWTEST_F()
52 NotificationActionButton::Create(nullptr, "title", wantAgent); in HWTEST_F()
53 std::shared_ptr<NotificationActionButton> notificationActionButton1 = in HWTEST_F()
54 NotificationActionButton::Create(actionButton1); in HWTEST_F()
70 std::shared_ptr<NotificationActionButton> actionButton1 = in HWTEST_F()
71 NotificationActionButton::Create(nullptr, "title", wantAgent); in HWTEST_F()
72 std::shared_ptr<NotificationActionButton> notificationActionButton1 = in HWTEST_F()
[all …]
Dnotification_request_test.cpp191 std::shared_ptr<NotificationActionButton> actionButton = nullptr; in HWTEST_F()
196 std::shared_ptr<NotificationActionButton> actionButton1 = in HWTEST_F()
197 NotificationActionButton::Create(nullptr, "title", wantAgent); in HWTEST_F()
199 std::shared_ptr<NotificationActionButton> actionButton2 = in HWTEST_F()
200 NotificationActionButton::Create(nullptr, "title2", wantAgent); in HWTEST_F()
202 std::shared_ptr<NotificationActionButton> actionButton3 = in HWTEST_F()
203 NotificationActionButton::Create(nullptr, "title3", wantAgent); in HWTEST_F()
205 std::vector<std::shared_ptr<NotificationActionButton>> result = in HWTEST_F()
207 std::shared_ptr<NotificationActionButton> actionButton4 = in HWTEST_F()
208 NotificationActionButton::Create(nullptr, "title4", wantAgent); in HWTEST_F()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_action_button.h28 class NotificationActionButton : public Parcelable, public NotificationJsonConvertionBase {
47 …static std::shared_ptr<NotificationActionButton> Create(const std::shared_ptr<Media::PixelMap> &ic…
64 static std::shared_ptr<NotificationActionButton> Create(
65 const std::shared_ptr<NotificationActionButton> &actionButton);
67 ~NotificationActionButton() = default;
205 static NotificationActionButton *FromJson(const nlohmann::json &jsonObject);
221 static NotificationActionButton *Unmarshalling(Parcel &parcel);
224 NotificationActionButton() = default;
240 NotificationActionButton(const std::shared_ptr<Media::PixelMap> &icon, const std::string &title,
Dnotification_request.h330 void AddActionButton(const std::shared_ptr<NotificationActionButton> &actionButton);
337 const std::vector<std::shared_ptr<NotificationActionButton>> GetActionButtons() const;
1186 std::vector<std::shared_ptr<NotificationActionButton>> actionButtons_ {};
/base/notification/distributed_notification_service/test/fuzztest/notificationactionbutton_fuzzer/
Dnotificationactionbutton_fuzzer.cpp33 std::shared_ptr<Notification::NotificationActionButton> actionButton = in DoSomethingInterestingWithMyAPI()
34 Notification::NotificationActionButton::Create(nullptr, title, wantAgent); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/notificationrequest_fuzzer/
Dnotificationrequest_fuzzer.cpp55 std::shared_ptr<Notification::NotificationActionButton> actionButton = in DoSomethingInterestingWithMyAPI()
56 std::make_shared<Notification::NotificationActionButton>(); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/bechmarktest/notification_publish_test/
Dnotification_publish_test.cpp100 std::shared_ptr<NotificationActionButton> actionButton = in InitButtonRequest()
101 NotificationActionButton::Create(nullptr, "title", wantAgent); in InitButtonRequest()
/base/notification/distributed_notification_service/frameworks/js/napi/include/
Dcommon.h509 …const napi_env &env, const std::shared_ptr<NotificationActionButton> &actionButton, napi_value &re…
520 …const napi_env &env, const std::shared_ptr<NotificationActionButton> &actionButton, napi_value &re…
950 … napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pAction…
961 … napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pAction…
972 … napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pAction…
983 … napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pAction…
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_innerkits_module_publish_test.cpp218 …std::vector<std::shared_ptr<NotificationActionButton>> actionButtons = notificationRequest.GetActi… in CheckCaseTwoResult()
243 …std::vector<std::shared_ptr<NotificationActionButton>> actionButtons = notificationRequest.GetActi… in CheckCaseThreeResult()
657 std::shared_ptr<NotificationActionButton> actionButton =
658 NotificationActionButton::Create(nullptr, "title", wantAgent);
722 std::shared_ptr<NotificationActionButton> actionButton =
723 NotificationActionButton::Create(nullptr, "title", wantAgent);
1357 auto ab1 = NotificationActionButton::Create(dummyIcon, "ab1_title", wAgent2);
1372 auto ab2 = NotificationActionButton::Create(dummyIcon, "ab2_title", dummyWantAgent);
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dcommon.cpp1247 …const napi_env &env, const std::shared_ptr<NotificationActionButton> &actionButton, napi_value &re… in SetNotificationActionButton()
1303 …const napi_env &env, const std::shared_ptr<NotificationActionButton> &actionButton, napi_value &re… in SetNotificationActionButtonByExtras()
2387 std::shared_ptr<NotificationActionButton> pActionButton = nullptr; in GetNotificationActionButtons()
2398 …const napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pA… in GetNotificationActionButtonsDetailed()
2415 …const napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pA… in GetNotificationActionButtonsDetailedBasicInfo()
2477 pActionButton = NotificationActionButton::Create(pixelMap, title, wantAgent); in GetNotificationActionButtonsDetailedBasicInfo()
2483 …const napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pA… in GetNotificationActionButtonsDetailedByExtras()
2515 …const napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pA… in GetNotificationUserInput()