/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_action_button.cpp | 25 std::shared_ptr<NotificationActionButton> NotificationActionButton::Create(const std::shared_ptr<Me… in Create() 68 std::shared_ptr<NotificationActionButton> NotificationActionButton::Create( in Create() 69 const std::shared_ptr<NotificationActionButton> &actionButton) in Create() 87 NotificationActionButton::NotificationActionButton(const std::shared_ptr<Media::PixelMap> &icon, in NotificationActionButton() function in OHOS::Notification::NotificationActionButton 108 std::string NotificationActionButton::GetTitle() const in GetTitle() 175 bool NotificationActionButton::IsAutoCreatedReplies() const in IsAutoCreatedReplies() 185 bool NotificationActionButton::IsContextDependent() const in IsContextDependent() 190 std::string NotificationActionButton::Dump() in Dump() 236 NotificationActionButton *NotificationActionButton::FromJson(const nlohmann::json &jsonObject) in FromJson() 354 NotificationActionButton *NotificationActionButton::Unmarshalling(Parcel &parcel) in Unmarshalling() [all …]
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_action_button_test.cpp | 48 NotificationActionButton::Create(actionButton); in HWTEST_F() 52 std::shared_ptr<NotificationActionButton> actionButton1 = in HWTEST_F() 55 NotificationActionButton::Create(actionButton1); in HWTEST_F() 71 std::shared_ptr<NotificationActionButton> actionButton1 = in HWTEST_F() 74 NotificationActionButton::Create(actionButton1); in HWTEST_F() 92 std::shared_ptr<NotificationActionButton> actionButton1 = in HWTEST_F() 95 NotificationActionButton::Create(actionButton1); in HWTEST_F() 151 …std::shared_ptr<NotificationActionButton> notificationActionButton = std::make_shared<Notification… 178 auto rrc = std::make_shared<NotificationActionButton>(); 192 auto rrc = std::make_shared<NotificationActionButton>(); [all …]
|
H A D | notification_request_test.cpp | 213 std::shared_ptr<NotificationActionButton> actionButton = nullptr; in HWTEST_F() 218 std::shared_ptr<NotificationActionButton> actionButton1 = in HWTEST_F() 219 NotificationActionButton::Create(nullptr, "title", wantAgent); in HWTEST_F() 221 std::shared_ptr<NotificationActionButton> actionButton2 = in HWTEST_F() 222 NotificationActionButton::Create(nullptr, "title2", wantAgent); in HWTEST_F() 224 std::shared_ptr<NotificationActionButton> actionButton3 = in HWTEST_F() 225 NotificationActionButton::Create(nullptr, "title3", wantAgent); in HWTEST_F() 227 std::vector<std::shared_ptr<NotificationActionButton>> result = in HWTEST_F() 229 std::shared_ptr<NotificationActionButton> actionButton4 = in HWTEST_F() 230 NotificationActionButton::Create(nullptr, "title4", wantAgent); in HWTEST_F()
|
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A 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,
|
H A D | notification_request.h | 374 void AddActionButton(const std::shared_ptr<NotificationActionButton> &actionButton); 381 const std::vector<std::shared_ptr<NotificationActionButton>> GetActionButtons() const; 1537 std::vector<std::shared_ptr<NotificationActionButton>> actionButtons_ {};
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationactionbutton_fuzzer/ |
H A D | notificationactionbutton_fuzzer.cpp | 33 std::shared_ptr<Notification::NotificationActionButton> actionButton = in DoSomethingInterestingWithMyAPI() 34 Notification::NotificationActionButton::Create(nullptr, title, wantAgent); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/docs/en/application-dev/reference/apis-notification-kit/ |
H A D | js-apis-inner-notification-notificationActionButton.md | 1 # NotificationActionButton chapter 3 The **NotificationActionButton** module provides APIs for describing the button displayed in the no…
|
H A D | Readme-EN.md | 8 - [NotificationActionButton](js-apis-inner-notification-notificationActionButton.md)
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationrequest_fuzzer/ |
H A D | notificationrequest_fuzzer.cpp | 55 std::shared_ptr<Notification::NotificationActionButton> actionButton = in DoSomethingInterestingWithMyAPI() 56 std::make_shared<Notification::NotificationActionButton>(); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/test/bechmarktest/notification_publish_test/ |
H A D | notification_publish_test.cpp | 100 std::shared_ptr<NotificationActionButton> actionButton = in InitButtonRequest() 101 NotificationActionButton::Create(nullptr, "title", wantAgent); in InitButtonRequest()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-notification-kit/ |
H A D | js-apis-inner-notification-notificationActionButton.md | 1 # NotificationActionButton chapter
|
H A D | Readme-CN.md | 8 - [NotificationActionButton](js-apis-inner-notification-notificationActionButton.md)
|
H A D | js-apis-inner-notification-notificationRequest.md | 35 | actionButtons | Array\<[NotificationActionButton](js-apis-inner-notification-noti…
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | common.h | 545 …const napi_env &env, const std::shared_ptr<NotificationActionButton> &actionButton, napi_value &re… 556 …const napi_env &env, const std::shared_ptr<NotificationActionButton> &actionButton, napi_value &re… 1008 … napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pAction… 1019 … napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pAction… 1030 … napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pAction… 1041 … napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pAction…
|
/ohos5.0/base/location/frameworks/js/napi/notification/include/ |
H A D | notification_napi.h | 618 … napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pAction… 629 … napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pAction… 640 … napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pAction… 651 … napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pAction…
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/v3.2-beta5/ |
H A D | changelogs-notification.md | 26 …- 导出类 NotificationActionButton、NotificationBasicContent、NotificationContent、NotificationLongTextCo…
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/ |
H A D | changelogs-notification.md | 26 …- 导出类 NotificationActionButton、NotificationBasicContent、NotificationContent、NotificationLongTextCo…
|
/ohos5.0/base/usb/usb_manager/services/native/src/ |
H A D | usb_mass_storage_notification.cpp | 212 std::shared_ptr<OHOS::Notification::NotificationActionButton> actionButton = in PublishUsbNotification() 213 OHOS::Notification::NotificationActionButton::Create(nullptr, buttonTitle, wantAgent); in PublishUsbNotification()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-notification.md | 153 |type有变化|类名:NotificationActionButton;<br>方法or属性:title: string;<br>旧版本信息:|类名:NotificationActionButto… 154 |type有变化|类名:NotificationActionButton;<br>方法or属性:wantAgent: WantAgent;<br>旧版本信息:|类名:NotificationActi… 155 |type有变化|类名:NotificationActionButton;<br>方法or属性:extras?: { [key: string]: any };<br>旧版本信息:|类名:Notif… 156 |type有变化|类名:NotificationActionButton;<br>方法or属性:userInput?: NotificationUserInput;<br>旧版本信息:|类名:Not… 195 …NotificationActionButton>;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:actionButtons?: Array\<Noti…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-event-and-notification.md | 20 | notificationActionButton | NotificationActionButton | userInput?: NotificationUserInput; | 新增 |
|
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-event-and-notification.md | 20 | notificationActionButton | NotificationActionButton | userInput?: NotificationUserInput; | Added|
|
/ohos5.0/docs/en/release-notes/changelogs/v3.2-beta5/ |
H A D | changelogs-notification.md | 26 …- The export classes **NotificationActionButton**, **NotificationBasicContent**, **NotificationCon…
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_publish_test.cpp | 262 …std::vector<std::shared_ptr<NotificationActionButton>> actionButtons = notificationRequest.GetActi… in CheckCaseTwoResult() 287 …std::vector<std::shared_ptr<NotificationActionButton>> actionButtons = notificationRequest.GetActi… in CheckCaseThreeResult() 733 std::shared_ptr<NotificationActionButton> actionButton = 734 NotificationActionButton::Create(nullptr, "title", wantAgent); 798 std::shared_ptr<NotificationActionButton> actionButton = 799 NotificationActionButton::Create(nullptr, "title", wantAgent); 1418 auto ab1 = NotificationActionButton::Create(dummyIcon, "ab1_title", wAgent2); 1433 auto ab2 = NotificationActionButton::Create(dummyIcon, "ab2_title", dummyWantAgent);
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common_convert_request.cpp | 385 …const napi_env &env, const std::shared_ptr<NotificationActionButton> &actionButton, napi_value &re… in SetNotificationActionButton() 441 …const napi_env &env, const std::shared_ptr<NotificationActionButton> &actionButton, napi_value &re… in SetNotificationActionButtonByExtras() 1631 std::shared_ptr<NotificationActionButton> pActionButton = nullptr; in GetNotificationActionButtons() 1642 …const napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pA… in GetNotificationActionButtonsDetailed() 1659 …const napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pA… in GetNotificationActionButtonsDetailedBasicInfo() 1721 pActionButton = NotificationActionButton::Create(pixelMap, title, wantAgent); in GetNotificationActionButtonsDetailedBasicInfo() 1727 …const napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pA… in GetNotificationActionButtonsDetailedByExtras()
|
/ohos5.0/foundation/communication/nfc/services/src/notification/ |
H A D | nfc_notification.cpp | 306 std::shared_ptr<Notification::NotificationActionButton> actionButtonDeal = in SetActionButton() 307 Notification::NotificationActionButton::Create(nullptr, buttonName, wantAgentDeal); in SetActionButton()
|