/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_user_input.cpp | 36 void NotificationUserInput::AddInputsToWant(const std::vector<std::shared_ptr<NotificationUserInput… in AddInputsToWant() 45 void NotificationUserInput::AddMimeInputToWant(const NotificationUserInput &userInput, AAFwk::Want … in AddMimeInputToWant() 55 std::shared_ptr<NotificationUserInput> NotificationUserInput::Create(const std::string &inputKey) in Create() 71 std::shared_ptr<NotificationUserInput> NotificationUserInput::Create(const std::string &inputKey, in Create() 108 NotificationUserInput::NotificationUserInput(const std::string &inputKey) in NotificationUserInput() function in OHOS::Notification::NotificationUserInput 112 NotificationUserInput::NotificationUserInput(const std::string &inputKey, const std::string &tag, in NotificationUserInput() function in OHOS::Notification::NotificationUserInput 181 bool NotificationUserInput::IsMimeTypeOnly() const in IsMimeTypeOnly() 191 std::string NotificationUserInput::GetTag() const in GetTag() 206 std::string NotificationUserInput::Dump() in Dump() 258 NotificationUserInput *NotificationUserInput::FromJson(const nlohmann::json &jsonObject) in FromJson() [all …]
|
H A D | notification_action_button.cpp | 28 …bool autoCreatedReplies, const std::vector<std::shared_ptr<NotificationUserInput>> &mimeTypeOnlyIn… in Create() 29 const std::shared_ptr<NotificationUserInput> &userInput, bool isContextual) in Create() 45 std::shared_ptr<NotificationUserInput> textInput = userInput; in Create() 46 std::vector<std::shared_ptr<NotificationUserInput>> onlyInputs = mimeTypeOnlyInputs; in Create() 90 …bool autoCreatedReplies, const std::vector<std::shared_ptr<NotificationUserInput>> &mimeTypeOnlyIn… in NotificationActionButton() 91 const std::shared_ptr<NotificationUserInput> &userInput, bool isContextual) in NotificationActionButton() 140 void NotificationActionButton::AddMimeTypeOnlyUserInput(const std::shared_ptr<NotificationUserInput… in AddMimeTypeOnlyUserInput() 155 std::vector<std::shared_ptr<NotificationUserInput>> NotificationActionButton::GetMimeTypeOnlyUserIn… in GetMimeTypeOnlyUserInputs() 160 void NotificationActionButton::AddNotificationUserInput(const std::shared_ptr<NotificationUserInput… in AddNotificationUserInput() 165 const std::shared_ptr<NotificationUserInput> NotificationActionButton::GetUserInput() const in GetUserInput() [all …]
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_user_input_test.cpp | 66 auto rrc = std::make_shared<NotificationUserInput>(); 105 auto rrc = std::make_shared<NotificationUserInput>(); 119 auto rrc = std::make_shared<NotificationUserInput>(); 134 auto rrc = std::make_shared<NotificationUserInput>(); 172 auto rrc = std::make_shared<NotificationUserInput>(); 186 std::shared_ptr<NotificationUserInput> result = 187 std::make_shared<NotificationUserInput>(); 223 auto rrc = std::make_shared<NotificationUserInput>(); 301 …std::shared_ptr<NotificationUserInput> notificationUserInput = std::make_shared<NotificationUserIn… 327 …std::shared_ptr<NotificationUserInput> notificationUserInput = std::make_shared<NotificationUserIn… [all …]
|
H A D | notification_action_button_test.cpp | 118 auto userInput = std::make_shared<NotificationUserInput>(); in HWTEST_F() 122 std::vector<std::shared_ptr<NotificationUserInput>> mimeTypeOnlyInputs = {userInput}; in HWTEST_F() 148 std::vector<std::shared_ptr<NotificationUserInput>> mimeTypeOnlyInputs; 149 std::shared_ptr<NotificationUserInput> userInput; 175 std::vector<std::shared_ptr<NotificationUserInput>> mimeTypeOnlyInputs; 176 std::shared_ptr<NotificationUserInput> userInput; 226 auto userInput = std::make_shared<NotificationUserInput>();
|
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_user_input.h | 27 class NotificationUserInput : public Parcelable, public NotificationJsonConvertionBase { 55 … static void AddInputsToWant(const std::vector<std::shared_ptr<NotificationUserInput>> &userInputs, 74 static void AddMimeInputToWant(const NotificationUserInput &userInput, AAFwk::Want &want, 97 static std::shared_ptr<NotificationUserInput> Create(const std::string &inputKey); 116 …static std::shared_ptr<NotificationUserInput> Create(const std::string &inputKey, const std::strin… 120 ~NotificationUserInput() = default; 251 static NotificationUserInput *FromJson(const nlohmann::json &jsonObject); 267 static NotificationUserInput *Unmarshalling(Parcel &parcel); 270 NotificationUserInput() = default; 278 explicit NotificationUserInput(const std::string &inputKey); [all …]
|
H A D | notification_action_button.h | 53 const std::vector<std::shared_ptr<NotificationUserInput>> &mimeTypeOnlyInputs = {}, 54 const std::shared_ptr<NotificationUserInput> &userInput = {}, bool isContextual = false); 124 void AddMimeTypeOnlyUserInput(const std::shared_ptr<NotificationUserInput> &userInput); 132 std::vector<std::shared_ptr<NotificationUserInput>> GetMimeTypeOnlyUserInputs() const; 139 void AddNotificationUserInput(const std::shared_ptr<NotificationUserInput> &userInput); 147 const std::shared_ptr<NotificationUserInput> GetUserInput() const; 244 const std::vector<std::shared_ptr<NotificationUserInput>> &mimeTypeOnlyInputs, 245 const std::shared_ptr<NotificationUserInput> &userInput, bool isContextual); 264 std::vector<std::shared_ptr<NotificationUserInput>> mimeTypeOnlyUserInputs_ {}; 265 std::shared_ptr<NotificationUserInput> userInput_ {};
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationuserinput_fuzzer/ |
H A D | notificationuserinput_fuzzer.cpp | 31 Notification::NotificationUserInput notificationUserInput(stringData); in DoSomethingInterestingWithMyAPI() 38 std::shared_ptr<Notification::NotificationUserInput> input = in DoSomethingInterestingWithMyAPI() 39 std::make_shared<Notification::NotificationUserInput>(); in DoSomethingInterestingWithMyAPI() 40 std::vector<std::shared_ptr<Notification::NotificationUserInput>> userInputs; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/docs/en/application-dev/reference/apis-notification-kit/ |
H A D | js-apis-inner-notification-notificationUserInput.md | 1 # NotificationUserInput chapter 3 The **NotificationUserInput** module provides APIs for defining the notification user input. 9 ## NotificationUserInput section
|
H A D | js-apis-inner-notification-notificationActionButton.md | 18 | userInput<sup>8+</sup> | [NotificationUserInput](js-apis-inner-notification-notificationUserInput…
|
H A D | Readme-EN.md | 15 - [NotificationUserInput](js-apis-inner-notification-notificationUserInput.md)
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationuserinputannex_fuzzer/ |
H A D | notificationuserinputannex_fuzzer.cpp | 31 Notification::NotificationUserInput notificationUserInput(stringData); in DoSomethingInterestingWithMyAPI() 33 Notification::NotificationUserInput userInput(stringData); in DoSomethingInterestingWithMyAPI() 46 Notification::NotificationUserInput::Create(inputKey, tag, options, permitFreeFormInput, in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-notification-kit/ |
H A D | js-apis-inner-notification-notificationUserInput.md | 1 # NotificationUserInput chapter 9 ## NotificationUserInput section
|
H A D | js-apis-inner-notification-notificationActionButton.md | 18 | userInput<sup>8+</sup> | [NotificationUserInput](js-apis-inner-notification-notificationUserInput…
|
H A D | Readme-CN.md | 15 - [NotificationUserInput](js-apis-inner-notification-notificationUserInput.md)
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationactionbutton_fuzzer/ |
H A D | notificationactionbutton_fuzzer.cpp | 42 std::shared_ptr<Notification::NotificationUserInput> userInput = in DoSomethingInterestingWithMyAPI() 43 std::make_shared<Notification::NotificationUserInput>(); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/location/frameworks/js/napi/notification/include/ |
H A D | notification_napi.h | 662 …napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &userInpu… 673 …napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &userInpu… 684 …napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &userInpu… 695 …napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &userInpu… 706 …napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &userInpu… 717 …napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &userInpu… 728 …napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &userInpu…
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | common.h | 567 … const napi_env &env, const std::shared_ptr<NotificationUserInput> &userInput, napi_value &result); 1052 …napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &userInpu… 1063 …napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &userInpu… 1074 …napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &userInpu… 1085 …napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &userInpu… 1096 …napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &userInpu… 1107 …napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &userInpu… 1118 …napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &userInpu…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-event-and-notification.md | 9 | notificationUserInput | NotificationUserInput | inputKey: string; | 新增 | 20 | notificationActionButton | NotificationActionButton | userInput?: NotificationUserInput; | 新增 |
|
/ohos5.0/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi.cpp | 116 std::shared_ptr<NotificationUserInput> userInput = nullptr; in GetNotificationUserInput() 128 …const napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &us… in GetNotificationUserInputByInputKey() 151 userInput = NotificationUserInput::Create(str); in GetNotificationUserInputByInputKey() 161 …const napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &us… in GetNotificationUserInputByTag() 195 …const napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &us… in GetNotificationUserInputByOptions() 248 …const napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &us… in GetNotificationUserInputByPermitMimeTypes() 296 …const napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &us… in GetNotificationUserInputByPermitFreeFormInput() 327 …const napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &us… in GetNotificationUserInputByEditType() 356 …const napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &us… in GetNotificationUserInputByAdditionalData()
|
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-event-and-notification.md | 9 | notificationUserInput | NotificationUserInput | inputKey: string; | Added| 20 | notificationActionButton | NotificationActionButton | userInput?: NotificationUserInput; | Added|
|
/ohos5.0/base/notification/distributed_notification_service/test/bechmarktest/notification_publish_test/ |
H A D | notification_publish_test.cpp | 102 …std::shared_ptr<NotificationUserInput> onlyUserInput = NotificationUserInput::Create("onlyUserInpu… in InitButtonRequest()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common.cpp | 387 std::shared_ptr<NotificationUserInput> userInput = nullptr; in GetNotificationUserInput() 399 …const napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &us… in GetNotificationUserInputByInputKey() 422 userInput = NotificationUserInput::Create(str); in GetNotificationUserInputByInputKey() 432 …const napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &us… in GetNotificationUserInputByTag() 466 …const napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &us… in GetNotificationUserInputByOptions() 519 …const napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &us… in GetNotificationUserInputByPermitMimeTypes() 567 …const napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &us… in GetNotificationUserInputByPermitFreeFormInput() 598 …const napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &us… in GetNotificationUserInputByEditType() 627 …const napi_env &env, const napi_value &userInputResult, std::shared_ptr<NotificationUserInput> &us… in GetNotificationUserInputByAdditionalData()
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/v3.2-beta5/ |
H A D | changelogs-notification.md | 26 …Options、NotificationSlot、NotificationSorting、NotificationTemplate、NotificationUserInput 被删除。可以使用 a…
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/ |
H A D | changelogs-notification.md | 26 …Options、NotificationSlot、NotificationSorting、NotificationTemplate、NotificationUserInput 被删除。可以使用 a…
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_publish_test.cpp | 264 std::shared_ptr<NotificationUserInput> userInput = actionButton->GetUserInput(); in CheckCaseTwoResult() 735 std::shared_ptr<NotificationUserInput> userInput = NotificationUserInput::Create("inputKey"); 736 std::vector<std::shared_ptr<NotificationUserInput>> userInputs; 744 std::shared_ptr<NotificationUserInput> userInputMine = NotificationUserInput::Create( 800 …std::shared_ptr<NotificationUserInput> onlyUserInput = NotificationUserInput::Create("onlyUserInpu… 1420 auto spUserInput2 = NotificationUserInput::Create("uikey2"); 1422 auto spOnlyUserInput1 = NotificationUserInput::Create("uionlykey1"); 1425 auto spOnlyUserInput4 = NotificationUserInput::Create("uionlykey4");
|