Home
last modified time | relevance | path

Searched refs:actionButtons (Results 1 - 5 of 5) sorted by relevance

/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_store_strategy.cpp198 std::string actionButtons; in RecoverFromOldVersion() local
199 ReminderStrategy::GetRdbValue<std::string>(resultSet, ReminderTable::ACTION_BUTTON_INFO, actionButtons); in RecoverFromOldVersion()
200 reminder->DeserializeButtonInfo(actionButtons); in RecoverFromOldVersion()
354 std::string actionButtons; in RecoverFromDb() local
355 ReminderStrategy::GetRdbValue<std::string>(resultSet, ReminderBaseTable::ACTION_BUTTON_INFO, actionButtons); in RecoverFromDb()
356 reminder->DeserializeButtonInfo(actionButtons); in RecoverFromDb()
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
H A Dreminder_common.cpp55 napi_value actionButtons = nullptr; in GenActionButtons() local
56 if (!GetObject(env, value, ReminderAgentNapi::ACTION_BUTTON, actionButtons)) { in GenActionButtons()
60 napi_is_array(env, actionButtons, &isArray); in GenActionButtons()
67 napi_get_array_length(env, actionButtons, &length); in GenActionButtons()
70 napi_get_element(env, actionButtons, i, &actionButton); in GenActionButtons()
497 // actionButtons in GenReminder()
/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi_convert_request.cpp166 // actionButtons?: Array<NotificationActionButton> in GetNotificationRequestByCustom()
1066 napi_value actionButtons = nullptr; in GetNotificationActionButtons() local
1070 napi_has_named_property(env, value, "actionButtons", &hasProperty); in GetNotificationActionButtons()
1076 napi_get_named_property(env, value, "actionButtons", &actionButtons); in GetNotificationActionButtons()
1077 napi_is_array(env, actionButtons, &isArray); in GetNotificationActionButtons()
1079 LBSLOGE(NAPI_UTILS, "Property actionButtons is expected to be an array."); in GetNotificationActionButtons()
1082 napi_get_array_length(env, actionButtons, &length); in GetNotificationActionButtons()
1089 napi_get_element(env, actionButtons, i, &actionButton); in GetNotificationActionButtons()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon_convert_request.cpp315 // actionButtons?: Array<NotificationActionButton> in SetNotificationRequestByCustom()
330 napi_set_named_property(env, result, "actionButtons", arr); in SetNotificationRequestByCustom()
692 // actionButtons?: Array<NotificationActionButton> in GetNotificationRequestByCustom()
1601 napi_value actionButtons = nullptr; in GetNotificationActionButtons() local
1605 napi_has_named_property(env, value, "actionButtons", &hasProperty); in GetNotificationActionButtons()
1611 napi_get_named_property(env, value, "actionButtons", &actionButtons); in GetNotificationActionButtons()
1612 napi_is_array(env, actionButtons, &isArray); in GetNotificationActionButtons()
1614 ANS_LOGE("Property actionButtons is expected to be an array."); in GetNotificationActionButtons()
1617 napi_get_array_length(env, actionButtons, in GetNotificationActionButtons()
[all...]
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp262 std::vector<std::shared_ptr<NotificationActionButton>> actionButtons = notificationRequest.GetActionButtons(); in CheckCaseTwoResult() local
263 for (auto actionButton : actionButtons) { in CheckCaseTwoResult()
287 std::vector<std::shared_ptr<NotificationActionButton>> actionButtons = notificationRequest.GetActionButtons(); in CheckCaseThreeResult() local
288 for (auto actionButton : actionButtons) { in CheckCaseThreeResult()

Completed in 19 milliseconds