Home
last modified time | relevance | path

Searched refs:multiLineContent (Results 1 - 12 of 12) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_content_test.cpp147 std::shared_ptr<NotificationMultiLineContent> multiLineContent = nullptr; in HWTEST_F() local
148 NotificationContent notificationContent4(multiLineContent); in HWTEST_F()
214 std::shared_ptr<NotificationMultiLineContent> multiLineContent = std::make_shared<NotificationMultiLineContent>(); in HWTEST_F() local
215 NotificationContent notificationContent(multiLineContent); in HWTEST_F()
367 std::shared_ptr<NotificationMultiLineContent> multiLineContent = nullptr; in HWTEST_F() local
368 auto sptr5 = std::make_shared<NotificationContent>(multiLineContent); in HWTEST_F()
448 auto multiLineContent = std::make_shared<NotificationMultiLineContent>(); in HWTEST_F() local
449 NotificationContent content5(multiLineContent); in HWTEST_F()
H A Dnotification_request_test.cpp1164 auto multiLineContent = std::make_shared<NotificationMultiLineContent>(); in HWTEST_F() local
1165 auto content = std::make_shared<NotificationContent>(multiLineContent); in HWTEST_F()
1183 auto multiLineContent = std::make_shared<NotificationMultiLineContent>(); in HWTEST_F() local
1184 auto content = std::make_shared<NotificationContent>(multiLineContent); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp415 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> &multiLineContent) in GetNotificationMultiLineContentLines()
427 multiLineContent->AddSingleLine(std::string(str)); in GetNotificationMultiLineContentLines()
438 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> multiLineContent = in GetNotificationMultiLineContent() local
440 if (multiLineContent == nullptr) { in GetNotificationMultiLineContent()
441 LOGE("multiLineContent is null"); in GetNotificationMultiLineContent()
450 if (!GetNotificationBasicContentDetailed(tempContent.get(), multiLineContent)) { in GetNotificationMultiLineContent()
462 multiLineContent->SetBriefText(std::string(str)); in GetNotificationMultiLineContent()
472 multiLineContent->SetExpandedTitle(std::string(str)); in GetNotificationMultiLineContent()
475 if (!GetNotificationMultiLineContentLines(contentResult, multiLineContent)) { in GetNotificationMultiLineContent()
479 request.SetContent(std::make_shared<NotificationContent>(multiLineContent)); in GetNotificationMultiLineContent()
413 GetNotificationMultiLineContentLines( CNotificationMultiLineContent* result, std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> &multiLineContent) GetNotificationMultiLineContentLines() argument
1250 OHOS::Notification::NotificationMultiLineContent *multiLineContent = SetNotificationMultiLineContent() local
[all...]
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_content.cpp68 NotificationContent::NotificationContent(const std::shared_ptr<NotificationMultiLineContent> &multiLineContent) in NotificationContent() argument
70 if (!multiLineContent) { in NotificationContent()
76 content_ = multiLineContent; in NotificationContent()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon_convert_content.cpp302 OHOS::Notification::NotificationMultiLineContent *multiLineContent = in SetNotificationMultiLineContent() local
304 if (multiLineContent == nullptr) { in SetNotificationMultiLineContent()
305 ANS_LOGE("multiLineContent is null"); in SetNotificationMultiLineContent()
309 if (!SetNotificationBasicContent(env, multiLineContent, result)) { in SetNotificationMultiLineContent()
315 napi_create_string_utf8(env, multiLineContent->GetBriefText().c_str(), NAPI_AUTO_LENGTH, &value); in SetNotificationMultiLineContent()
319 napi_create_string_utf8(env, multiLineContent->GetExpandedTitle().c_str(), NAPI_AUTO_LENGTH, &value); in SetNotificationMultiLineContent()
326 for (auto vec : multiLineContent->GetAllLines()) { in SetNotificationMultiLineContent()
1324 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> multiLineContent = in GetNotificationMultiLineContent() local
1326 if (multiLineContent == nullptr) { in GetNotificationMultiLineContent()
1327 ANS_LOGE("multiLineContent i in GetNotificationMultiLineContent()
1391 GetNotificationMultiLineContentLines(const napi_env &env, const napi_value &result, std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> &multiLineContent) GetNotificationMultiLineContentLines() argument
[all...]
/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi_convert_content.cpp924 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> multiLineContent = in GetNotificationMultiLineContent() local
926 if (GetNotificationBasicContentDetailed(env, contentResult, multiLineContent) == nullptr) { in GetNotificationMultiLineContent()
947 multiLineContent->SetBriefText(str); in GetNotificationMultiLineContent()
967 multiLineContent->SetExpandedTitle(str); in GetNotificationMultiLineContent()
976 if (GetNotificationMultiLineContentLines(env, contentResult, multiLineContent) == nullptr) { in GetNotificationMultiLineContent()
980 request.SetContent(std::make_shared<NotificationContent>(multiLineContent)); in GetNotificationMultiLineContent()
987 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> &multiLineContent) in GetNotificationMultiLineContentLines()
1019 multiLineContent->AddSingleLine(str); in GetNotificationMultiLineContentLines()
986 GetNotificationMultiLineContentLines(const napi_env &env, const napi_value &result, std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> &multiLineContent) GetNotificationMultiLineContentLines() argument
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_content.h127 * @param multiLineContent Indicates the NotificationMultiLineContent object.
129 explicit NotificationContent(const std::shared_ptr<NotificationMultiLineContent> &multiLineContent);
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/
H A Dnotification_utils.h274 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> &multiLineContent);
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp893 std::shared_ptr<NotificationMultiLineContent> multiLineContent = std::make_shared<NotificationMultiLineContent>(); in HWTEST_F() local
894 EXPECT_NE(multiLineContent, nullptr); in HWTEST_F()
895 multiLineContent->SetExpandedTitle("expandedtitle"); in HWTEST_F()
896 multiLineContent->SetBriefText("brieftext"); in HWTEST_F()
897 multiLineContent->AddSingleLine("singleLine"); in HWTEST_F()
898 GTEST_LOG_(INFO) << "ANS_Interface_MT_Publish_00500::multiLineContent::" << multiLineContent->Dump(); in HWTEST_F()
899 std::shared_ptr<NotificationContent> content = std::make_shared<NotificationContent>(multiLineContent); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_publish_service_test.cpp664 auto multiLineContent = std::make_shared<NotificationMultiLineContent>(); in HWTEST_F() local
665 auto content = std::make_shared<NotificationContent>(multiLineContent); in HWTEST_F()
/base/location/frameworks/js/napi/notification/include/
H A Dnotification_napi.h1106 * @param multiLineContent Indicates a NotificationMultiLineContent object from specified js object
1110 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> &multiLineContent);
/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dcommon.h1494 * @param multiLineContent Indicates a NotificationMultiLineContent object from specified js object
1498 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> &multiLineContent);

Completed in 22 milliseconds