/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_content_test.cpp | 147 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 D | notification_request_test.cpp | 1161 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 D | notification_manager_impl.cpp | 231 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 D | common_convert_content.cpp | 302 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 D | notification_content.cpp | 68 …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 D | notification_napi_convert_content.cpp | 924 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 D | notification_content.h | 129 …xplicit NotificationContent(const std::shared_ptr<NotificationMultiLineContent> &multiLineContent);
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_publish_test.cpp | 893 …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 D | advanced_notification_publish_service_test.cpp | 664 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 D | notification_napi.h | 1110 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> &multiLineContent);
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | common.h | 1500 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> &multiLineContent);
|