Home
last modified time | relevance | path

Searched refs:actionButton (Results 1 – 25 of 50) sorted by relevance

12

/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationactionbutton_fuzzer/
H A Dnotificationactionbutton_fuzzer.cpp33 std::shared_ptr<Notification::NotificationActionButton> actionButton = in DoSomethingInterestingWithMyAPI() local
35 if (actionButton == nullptr) { in DoSomethingInterestingWithMyAPI()
40 actionButton->AddAdditionalData(extras); in DoSomethingInterestingWithMyAPI()
44 actionButton->AddMimeTypeOnlyUserInput(userInput); in DoSomethingInterestingWithMyAPI()
45 actionButton->AddNotificationUserInput(userInput); in DoSomethingInterestingWithMyAPI()
47 actionButton->GetMimeTypeOnlyUserInputs(); in DoSomethingInterestingWithMyAPI()
49 actionButton->GetUserInput(); in DoSomethingInterestingWithMyAPI()
51 actionButton->IsAutoCreatedReplies(); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/test/bechmarktest/notification_publish_test/
H A Dnotification_publish_test.cpp100 std::shared_ptr<NotificationActionButton> actionButton = in InitButtonRequest() local
104 actionButton->AddAdditionalData(additional); in InitButtonRequest()
105 actionButton->SetSemanticActionButton(NotificationConstant::NONE_ACTION_BUTTON); in InitButtonRequest()
106 actionButton->SetAutoCreatedReplies(true); in InitButtonRequest()
107 actionButton->AddMimeTypeOnlyUserInput(onlyUserInput); in InitButtonRequest()
108 actionButton->SetContextDependent(true); in InitButtonRequest()
111 reqButton_.AddActionButton(actionButton); in InitButtonRequest()
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_action_button.cpp69 const std::shared_ptr<NotificationActionButton> &actionButton) in Create() argument
71 if (!actionButton) { in Create()
76 return NotificationActionButton::Create(actionButton->GetIcon(), in Create()
77 actionButton->GetTitle(), in Create()
78 actionButton->GetWantAgent(), in Create()
79 actionButton->GetAdditionalData(), in Create()
80 actionButton->GetSemanticActionButton(), in Create()
81 actionButton->IsAutoCreatedReplies(), in Create()
82 actionButton->GetMimeTypeOnlyUserInputs(), in Create()
83 actionButton->GetUserInput(), in Create()
[all …]
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationrequest_fuzzer/
H A Dnotificationrequest_fuzzer.cpp55 std::shared_ptr<Notification::NotificationActionButton> actionButton = in DoSomethingInterestingWithMyAPI() local
61 actionButton->SetSemanticActionButton(semanticActionButton); in DoSomethingInterestingWithMyAPI()
62 actionButton->SetAutoCreatedReplies(enabled); in DoSomethingInterestingWithMyAPI()
63 actionButton->SetContextDependent(enabled); in DoSomethingInterestingWithMyAPI()
64 request.AddActionButton(actionButton); in DoSomethingInterestingWithMyAPI()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-backgroundtasks-kit/
H A Djs-apis-reminderAgent.md179 const actionButton = reminders[i].actionButton || [];
180 for (let j = 0; j < actionButton.length; j++) {
181 console.log("getValidReminders, actionButton.title = " + actionButton[j]?.title);
182 console.log("getValidReminders, actionButton.type = " + actionButton[j]?.type);
227 const actionButton = reminders[i].actionButton || [];
228 for (let j = 0; j < actionButton.length; j++) {
229 console.log("getValidReminders, actionButton.title = " + actionButton[j]?.title);
230 console.log("getValidReminders, actionButton.type = " + actionButton[j]?.type);
526 | actionButton | [[ActionButton?, ActionButton?]](#actionbuttondeprecated) | 否 | 弹出的提醒通知栏中显示的按钮(参数可…
H A Djs-apis-reminderAgentManager.md241 const actionButton = reminders[i].actionButton || [];
243 console.log("getValidReminders, actionButton.title = " + actionButton[j]?.title);
244 console.log("getValidReminders, actionButton.type = " + actionButton[j]?.type);
297 const actionButton = reminders[i].actionButton || [];
298 for (let j = 0; j < actionButton.length; j++) {
299 console.log("getValidReminders, actionButton.title = " + actionButton[j]?.title);
300 console.log("getValidReminders, actionButton.type = " + actionButton[j]?.type);
595 const actionButton = reminders[i].reminderReq.actionButton || [];
596 for (let j = 0; j < actionButton.length; j++) {
597 console.log("getAllValidReminders, actionButton.title = " + actionButton[j]?.title);
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon_convert_request.cpp388 if (actionButton == nullptr) { in SetNotificationActionButton()
411 std::shared_ptr<Media::PixelMap> icon = actionButton->GetIcon(); in SetNotificationActionButton()
444 if (!actionButton) { in SetNotificationActionButtonByExtras()
449 auto extras = actionButton->GetAdditionalData(); in SetNotificationActionButtonByExtras()
1623 napi_value actionButton = nullptr; in GetNotificationActionButtons() local
1624 napi_get_element(env, actionButtons, i, &actionButton); in GetNotificationActionButtons()
1625 NAPI_CALL(env, napi_typeof(env, actionButton, &valuetype)); in GetNotificationActionButtons()
1652 if (!GetNotificationUserInput(env, actionButton, pActionButton)) { in GetNotificationActionButtonsDetailed()
1678 napi_get_named_property(env, actionButton, "title", &value); in GetNotificationActionButtonsDetailedBasicInfo()
1693 napi_get_named_property(env, actionButton, "wantAgent", &value); in GetNotificationActionButtonsDetailedBasicInfo()
[all …]
/ohos5.0/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi_convert_request.cpp1088 napi_value actionButton = nullptr; in GetNotificationActionButtons() local
1089 napi_get_element(env, actionButtons, i, &actionButton); in GetNotificationActionButtons()
1090 NAPI_CALL(env, napi_typeof(env, actionButton, &valuetype)); in GetNotificationActionButtons()
1117 if (!GetNotificationUserInput(env, actionButton, pActionButton)) { in GetNotificationActionButtonsDetailed()
1138 NAPI_CALL(env, napi_has_named_property(env, actionButton, "title", &hasProperty)); in GetNotificationActionButtonsDetailedBasicInfo()
1143 napi_get_named_property(env, actionButton, "title", &value); in GetNotificationActionButtonsDetailedBasicInfo()
1158 napi_get_named_property(env, actionButton, "wantAgent", &value); in GetNotificationActionButtonsDetailedBasicInfo()
1172 NAPI_CALL(env, napi_has_named_property(env, actionButton, "icon", &hasProperty)); in GetNotificationActionButtonsDetailedBasicInfo()
1174 napi_get_named_property(env, actionButton, "icon", &value); in GetNotificationActionButtonsDetailedBasicInfo()
1206 NAPI_CALL(env, napi_has_named_property(env, actionButton, "extras", &hasProperty)); in GetNotificationActionButtonsDetailedByExtras()
[all …]
/ohos5.0/docs/zh-cn/release-notes/changelogs/v4.0-beta1/
H A Dchangelogs-resourceschedule.md19 | reminderAgentManager | ReminderRequest | actionButton?: [ActionButton?, ActionButton?, ActionBu…
29 actionButton: [
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.1/
H A Dchangelog-resourceschedule.md18 | reminderAgentManager | ReminderRequest | actionButton?: [ActionButton?, ActionButton?, ActionBu…
28 actionButton: [
/ohos5.0/docs/en/application-dev/reference/apis-backgroundtasks-kit/
H A Djs-apis-reminderAgentManager.md241 const actionButton = reminders[i].actionButton || [];
243 console.log("getValidReminders, actionButton.title = " + actionButton[j]?.title);
244 console.log("getValidReminders, actionButton.type = " + actionButton[j]?.type);
297 const actionButton = reminders[i].actionButton || [];
298 for (let j = 0; j < actionButton.length; j++) {
299 console.log("getValidReminders, actionButton.title = " + actionButton[j]?.title);
300 console.log("getValidReminders, actionButton.type = " + actionButton[j]?.type);
595 const actionButton = reminders[i].reminderReq.actionButton || [];
596 for (let j = 0; j < actionButton.length; j++) {
597 console.log("getAllValidReminders, actionButton.title = " + actionButton[j]?.title);
[all …]
H A Djs-apis-reminderAgent.md184 const actionButton = reminders[i].actionButton || [];
185 for (let j = 0; j < actionButton.length; j++) {
186 console.log("getValidReminders, actionButton.title = " + actionButton[j]?.title);
187 console.log("getValidReminders, actionButton.type = " + actionButton[j]?.type);
233 const actionButton = reminders[i].actionButton || [];
234 for (let j = 0; j < actionButton.length; j++) {
235 console.log("getValidReminders, actionButton.title = " + actionButton[j]?.title);
236 console.log("getValidReminders, actionButton.type = " + actionButton[j]?.type);
544 | actionButton | [[ActionButton?, ActionButton?]](#actionbuttondeprecated) | No | Button displayed …
/ohos5.0/docs/en/release-notes/changelogs/v4.0-beta1/
H A Dchangelogs-resourceschedule.md19 | reminderAgentManager | ReminderRequest | actionButton?: [ActionButton?, ActionButton?, ActionBu…
29 actionButton: [
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp263 for (auto actionButton : actionButtons) { in CheckCaseTwoResult() local
288 for (auto actionButton : actionButtons) { in CheckCaseThreeResult() local
289 EXPECT_EQ(nullptr, actionButton->GetIcon()); in CheckCaseThreeResult()
290 EXPECT_EQ("title", actionButton->GetTitle()); in CheckCaseThreeResult()
754 actionButton->AddNotificationUserInput(userInput);
758 req.AddActionButton(actionButton);
802 actionButton->AddAdditionalData(additional);
804 actionButton->SetAutoCreatedReplies(true);
806 actionButton->SetContextDependent(true);
807 GTEST_LOG_(INFO) << actionButton->Dump();
[all …]
H A DReminderHelperTest.js1380 actionButton:[ property in AnonymousFunction0d3e803e0100.AnonymousFunction0d3e803e2e00.calendar
1414 for (let j = 0; j < reminders[i].actionButton.length; j++) {
1415 … console.log("getValidReminders, actionButton.title = " + reminders[i].actionButton[j].title);
1416 … console.log("getValidReminders, actionButton.type = " + reminders[i].actionButton[j].type);
1467 actionButton:[ property in AnonymousFunction0d3e803e0100.AnonymousFunction0d3e803e2f00.calendar
1501 for (let j = 0; j < reminders[i].actionButton.length; j++) {
1502 … console.log("getValidReminders, actionButton.title = " + reminders[i].actionButton[j].title);
1503 … console.log("getValidReminders, actionButton.type = " + reminders[i].actionButton[j].type);
1554 actionButton:[ property in AnonymousFunction0d3e803e0100.AnonymousFunction0d3e803e3000.calendar
1616 actionButton:[ property in AnonymousFunction0d3e803e0100.AnonymousFunction0d3e803e3100.calendar
/ohos5.0/docs/zh-cn/application-dev/task-management/
H A Dagent-powered-reminder.md67 actionButton: [ // 设置弹出的提醒通知信息上显示的按钮类型和标题
104 actionButton: [ // 设置弹出的提醒通知信息上显示的按钮类型和标题
142 actionButton: [ // 设置弹出的提醒通知信息上显示的按钮类型和标题
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.7.1/
H A Dchangelog-resourceschedule.md18 | reminderAgentManager | ReminderRequest | actionButton?: [ActionButton?, ActionButton?, ActionBu…
28 actionButton: [
/ohos5.0/base/usb/usb_manager/services/native/src/
H A Dusb_mass_storage_notification.cpp212 std::shared_ptr<OHOS::Notification::NotificationActionButton> actionButton = in PublishUsbNotification() local
214 if (actionButton == nullptr) { in PublishUsbNotification()
221 request.AddActionButton(actionButton); in PublishUsbNotification()
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
H A Dreminder_common.cpp69 napi_value actionButton = nullptr; in GenActionButtons() local
70 napi_get_element(env, actionButtons, i, &actionButton); in GenActionButtons()
71 NAPI_CALL_BASE(env, napi_typeof(env, actionButton, &valuetype), false); in GenActionButtons()
78 if (GetStringUtf8(env, actionButton, in GenActionButtons()
80 GetInt32(env, actionButton, ReminderAgentNapi::ACTION_BUTTON_TYPE, buttonType, false)) { in GenActionButtons()
88 HandleActionButtonTitle(env, actionButton, reminder, str, buttonType); in GenActionButtons()
97 void ReminderCommon::HandleActionButtonTitle(const napi_env &env, const napi_value &actionButton, in HandleActionButtonTitle() argument
102 if (GetStringUtf8(env, actionButton, ReminderAgentNapi::ACTION_BUTTON_RESOURCE, res, in HandleActionButtonTitle()
110 GetButtonWantAgent(env, actionButton, reminder, buttonWantAgent); in HandleActionButtonTitle()
115 GetButtonDataShareUpdate(env, actionButton, buttonDataShareUpdate); in HandleActionButtonTitle()
H A Dpublish.cpp647 napi_value actionButton = nullptr; in ParseActionButtons() local
648 napi_create_object(env, &actionButton); in ParseActionButtons()
652 napi_set_named_property(env, actionButton, ACTION_BUTTON_TYPE, buttonInfo); in ParseActionButtons()
654 napi_set_named_property(env, actionButton, ACTION_BUTTON_TITLE, buttonInfo); in ParseActionButtons()
656 napi_set_named_property(env, actionButton, ACTION_BUTTON_RESOURCE, buttonInfo); in ParseActionButtons()
661 napi_set_named_property(env, actionButton, WANT_AGENT, wantAgentInfo); in ParseActionButtons()
674 ParseButtonDataShareUpdate(env, it->second.dataShareUpdate, actionButton); in ParseActionButtons()
677 napi_set_element(env, array, index, actionButton); in ParseActionButtons()
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dcommon.h545 …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 …const napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pA…
1019 …const napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pA…
1030 …const napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pA…
1041 …const napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pA…
/ohos5.0/base/location/frameworks/js/napi/notification/include/
H A Dnotification_napi.h618 …const napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pA…
629 …const napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pA…
640 …const napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pA…
651 …const napi_env &env, const napi_value &actionButton, std::shared_ptr<NotificationActionButton> &pA…
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_action_button_test.cpp46 std::shared_ptr<NotificationActionButton> actionButton = nullptr; in HWTEST_F() local
48 NotificationActionButton::Create(actionButton); in HWTEST_F()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/event/
H A Devent_convertor.h83 ActionButton actionButton; member
/ohos5.0/docs/en/application-dev/task-management/
H A Dagent-powered-reminder.md68actionButton: [ // Set the button type and title displayed for the reminder in the notification pa…
105actionButton: [ // Set the button type and title displayed for the reminder in the notification pa…
143actionButton: [ // Set the button type and title displayed for the reminder in the notification pa…

12