| /base/notification/distributed_notification_service/frameworks/ans/src/ |
| D | notification_action_button.cpp | 25 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 …]
|
| D | notification_request.cpp | 172 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()
|
| D | reminder_request.cpp | 1458 std::shared_ptr<NotificationActionButton> actionButton in AddActionButtons() 1459 = NotificationActionButton::Create(nullptr, title, buttonWantAgent); in AddActionButtons()
|
| /base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
| D | notification_action_button_test.cpp | 45 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 …]
|
| D | notification_request_test.cpp | 191 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/ |
| D | notification_action_button.h | 28 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,
|
| D | notification_request.h | 330 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/ |
| D | notificationactionbutton_fuzzer.cpp | 33 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/ |
| D | notificationrequest_fuzzer.cpp | 55 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/ |
| D | notification_publish_test.cpp | 100 std::shared_ptr<NotificationActionButton> actionButton = in InitButtonRequest() 101 NotificationActionButton::Create(nullptr, "title", wantAgent); in InitButtonRequest()
|
| /base/notification/distributed_notification_service/frameworks/js/napi/include/ |
| D | common.h | 509 …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/ |
| D | ans_innerkits_module_publish_test.cpp | 218 …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/ |
| D | common.cpp | 1247 …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()
|