Searched refs:actionButtons (Results 1 - 5 of 5) sorted by relevance
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | reminder_store_strategy.cpp | 198 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 D | reminder_common.cpp | 55 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 D | notification_napi_convert_request.cpp | 166 // 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 D | common_convert_request.cpp | 315 // 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 D | ans_innerkits_module_publish_test.cpp | 262 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