Home
last modified time | relevance | path

Searched refs:buttonInfo (Results 1 – 2 of 2) sorted by relevance

/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
Dpublish.cpp522 napi_value buttonInfo = nullptr; in ParseActionButtons() local
523 napi_create_uint32(env, static_cast<int32_t>(it->second.type), &buttonInfo); in ParseActionButtons()
524 napi_set_named_property(env, actionButton, ACTION_BUTTON_TYPE, buttonInfo); in ParseActionButtons()
525 napi_create_string_utf8(env, (it->second.title).c_str(), NAPI_AUTO_LENGTH, &buttonInfo); in ParseActionButtons()
526 napi_set_named_property(env, actionButton, ACTION_BUTTON_TITLE, buttonInfo); in ParseActionButtons()
/base/notification/distributed_notification_service/frameworks/ans/src/
Dreminder_request.cpp1314 ActionButtonInfo buttonInfo = button.second; in GetButtonInfo() local
1315 … info += std::to_string(static_cast<uint8_t>(button.first)) + SEP_BUTTON_SINGLE + buttonInfo.title; in GetButtonInfo()
1316 if (buttonInfo.wantAgent == nullptr) { in GetButtonInfo()
1319 info += (SEP_BUTTON_SINGLE + buttonInfo.wantAgent->pkgName + SEP_BUTTON_SINGLE in GetButtonInfo()
1320 + buttonInfo.wantAgent->abilityName); in GetButtonInfo()