Home
last modified time | relevance | path

Searched refs:multiLineContent (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/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<NotificationMult… 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.cpp1161 auto multiLineContent = std::make_shared<NotificationMultiLineContent>(); in HWTEST_F() local
1162 auto content = std::make_shared<NotificationContent>(multiLineContent); in HWTEST_F()
1180 auto multiLineContent = std::make_shared<NotificationMultiLineContent>(); in HWTEST_F() local
1181 auto content = std::make_shared<NotificationContent>(multiLineContent); in HWTEST_F()
/ohos5.0/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_manager_impl.cpp231 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> &multiLineContent) in GetNotificationMultiLineContentLines() argument
243 multiLineContent->AddSingleLine(std::string(str)); in GetNotificationMultiLineContentLines()
255 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> multiLineContent = in GetNotificationMultiLineContent() local
257 if (multiLineContent == nullptr) { in GetNotificationMultiLineContent()
266 if (!GetNotificationBasicContentDetailed(tempContent.get(), multiLineContent)) { in GetNotificationMultiLineContent()
278 multiLineContent->SetBriefText(std::string(str)); in GetNotificationMultiLineContent()
289 multiLineContent->SetExpandedTitle(std::string(str)); in GetNotificationMultiLineContent()
293 if (!GetNotificationMultiLineContentLines(contentResult, multiLineContent)) { in GetNotificationMultiLineContent()
297 request.SetContent(std::make_shared<NotificationContent>(multiLineContent)); in GetNotificationMultiLineContent()
/ohos5.0/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()
309 if (!SetNotificationBasicContent(env, multiLineContent, result)) { in SetNotificationMultiLineContent()
326 for (auto vec : multiLineContent->GetAllLines()) { in SetNotificationMultiLineContent()
1326 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> multiLineContent = in GetNotificationMultiLineContent() local
1328 if (multiLineContent == nullptr) { in GetNotificationMultiLineContent()
1354 multiLineContent->SetBriefText(shortStr); in GetNotificationMultiLineContent()
1374 multiLineContent->SetExpandedTitle(shortStr); in GetNotificationMultiLineContent()
1387 request.SetContent(std::make_shared<NotificationContent>(multiLineContent)); in GetNotificationMultiLineContent()
1394 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> &multiLineContent) in GetNotificationMultiLineContentLines() argument
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_content.cpp68 …Content::NotificationContent(const std::shared_ptr<NotificationMultiLineContent> &multiLineContent) in NotificationContent() argument
70 if (!multiLineContent) { in NotificationContent()
76 content_ = multiLineContent; in NotificationContent()
/ohos5.0/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() argument
1019 multiLineContent->AddSingleLine(str); in GetNotificationMultiLineContentLines()
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_content.h129 …xplicit NotificationContent(const std::shared_ptr<NotificationMultiLineContent> &multiLineContent);
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp893 …std::shared_ptr<NotificationMultiLineContent> multiLineContent = std::make_shared<NotificationMult… variable
894 EXPECT_NE(multiLineContent, nullptr);
895 multiLineContent->SetExpandedTitle("expandedtitle");
896 multiLineContent->SetBriefText("brieftext");
897 multiLineContent->AddSingleLine("singleLine");
898 …GTEST_LOG_(INFO) << "ANS_Interface_MT_Publish_00500::multiLineContent::" << multiLineContent->Dump…
899 …:shared_ptr<NotificationContent> content = std::make_shared<NotificationContent>(multiLineContent);
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_publish_service_test.cpp664 auto multiLineContent = std::make_shared<NotificationMultiLineContent>(); variable
665 auto content = std::make_shared<NotificationContent>(multiLineContent);
/ohos5.0/base/location/frameworks/js/napi/notification/include/
H A Dnotification_napi.h1110 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> &multiLineContent);
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dcommon.h1500 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> &multiLineContent);