Searched refs:multiLineContent (Results 1 – 6 of 6) sorted by relevance
| /base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
| D | notification_content_test.cpp | 147 std::shared_ptr<NotificationMultiLineContent> multiLineContent = nullptr; in HWTEST_F() local 148 NotificationContent notificationContent4(multiLineContent); in HWTEST_F() 208 …std::shared_ptr<NotificationMultiLineContent> multiLineContent = std::make_shared<NotificationMult… in HWTEST_F() local 209 NotificationContent notificationContent(multiLineContent); in HWTEST_F() 329 std::shared_ptr<NotificationMultiLineContent> multiLineContent = nullptr; in HWTEST_F() local 330 auto sptr5 = std::make_shared<NotificationContent>(multiLineContent); in HWTEST_F()
|
| /base/notification/distributed_notification_service/frameworks/ans/src/ |
| D | notification_content.cpp | 65 …Content::NotificationContent(const std::shared_ptr<NotificationMultiLineContent> &multiLineContent) in NotificationContent() argument 67 if (!multiLineContent) { in NotificationContent() 73 content_ = multiLineContent; in NotificationContent()
|
| /base/notification/distributed_notification_service/interfaces/inner_api/ |
| D | notification_content.h | 112 …xplicit NotificationContent(const std::shared_ptr<NotificationMultiLineContent> &multiLineContent);
|
| /base/notification/distributed_notification_service/frameworks/test/moduletest/ |
| D | ans_innerkits_module_publish_test.cpp | 817 …std::shared_ptr<NotificationMultiLineContent> multiLineContent = std::make_shared<NotificationMult… variable 818 EXPECT_NE(multiLineContent, nullptr); 819 multiLineContent->SetExpandedTitle("expandedtitle"); 820 multiLineContent->SetBriefText("brieftext"); 821 multiLineContent->AddSingleLine("singleLine"); 822 …GTEST_LOG_(INFO) << "ANS_Interface_MT_Publish_00500::multiLineContent::" << multiLineContent->Dump… 823 …:shared_ptr<NotificationContent> content = std::make_shared<NotificationContent>(multiLineContent);
|
| /base/notification/distributed_notification_service/frameworks/js/napi/src/ |
| D | common.cpp | 1103 OHOS::Notification::NotificationMultiLineContent *multiLineContent = in SetNotificationMultiLineContent() local 1105 if (multiLineContent == nullptr) { in SetNotificationMultiLineContent() 1110 if (!SetNotificationBasicContent(env, multiLineContent, result)) { in SetNotificationMultiLineContent() 1116 … napi_create_string_utf8(env, multiLineContent->GetBriefText().c_str(), NAPI_AUTO_LENGTH, &value); in SetNotificationMultiLineContent() 1120 …napi_create_string_utf8(env, multiLineContent->GetExpandedTitle().c_str(), NAPI_AUTO_LENGTH, &valu… in SetNotificationMultiLineContent() 1127 for (auto vec : multiLineContent->GetAllLines()) { in SetNotificationMultiLineContent() 3842 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> multiLineContent = in GetNotificationMultiLineContent() local 3844 if (multiLineContent == nullptr) { in GetNotificationMultiLineContent() 3849 if (GetNotificationBasicContentDetailed(env, contentResult, multiLineContent) == nullptr) { in GetNotificationMultiLineContent() 3866 multiLineContent->SetBriefText(str); in GetNotificationMultiLineContent() [all …]
|
| /base/notification/distributed_notification_service/frameworks/js/napi/include/ |
| D | common.h | 1360 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> &multiLineContent);
|