Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
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()
Dnotification_request_test.cpp1145 auto multiLineContent = std::make_shared<NotificationMultiLineContent>(); in HWTEST_F() local
1146 auto content = std::make_shared<NotificationContent>(multiLineContent); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dcommon_convert_content.cpp301 OHOS::Notification::NotificationMultiLineContent *multiLineContent = in SetNotificationMultiLineContent() local
303 if (multiLineContent == nullptr) { in SetNotificationMultiLineContent()
308 if (!SetNotificationBasicContent(env, multiLineContent, result)) { in SetNotificationMultiLineContent()
314 … napi_create_string_utf8(env, multiLineContent->GetBriefText().c_str(), NAPI_AUTO_LENGTH, &value); in SetNotificationMultiLineContent()
318 …napi_create_string_utf8(env, multiLineContent->GetExpandedTitle().c_str(), NAPI_AUTO_LENGTH, &valu… in SetNotificationMultiLineContent()
325 for (auto vec : multiLineContent->GetAllLines()) { in SetNotificationMultiLineContent()
1338 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> multiLineContent = in GetNotificationMultiLineContent() local
1340 if (multiLineContent == nullptr) { in GetNotificationMultiLineContent()
1345 if (GetNotificationBasicContentDetailed(env, contentResult, multiLineContent) == nullptr) { in GetNotificationMultiLineContent()
1366 multiLineContent->SetBriefText(str); in GetNotificationMultiLineContent()
[all …]
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_content.cpp66 …Content::NotificationContent(const std::shared_ptr<NotificationMultiLineContent> &multiLineContent) in NotificationContent() argument
68 if (!multiLineContent) { in NotificationContent()
74 content_ = multiLineContent; in NotificationContent()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_content.h124 …xplicit NotificationContent(const std::shared_ptr<NotificationMultiLineContent> &multiLineContent);
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dadvanced_notification_publish_service_test.cpp521 auto multiLineContent = std::make_shared<NotificationMultiLineContent>(); variable
522 auto content = std::make_shared<NotificationContent>(multiLineContent);
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_innerkits_module_publish_test.cpp871 …std::shared_ptr<NotificationMultiLineContent> multiLineContent = std::make_shared<NotificationMult… variable
872 EXPECT_NE(multiLineContent, nullptr);
873 multiLineContent->SetExpandedTitle("expandedtitle");
874 multiLineContent->SetBriefText("brieftext");
875 multiLineContent->AddSingleLine("singleLine");
876 …GTEST_LOG_(INFO) << "ANS_Interface_MT_Publish_00500::multiLineContent::" << multiLineContent->Dump…
877 …:shared_ptr<NotificationContent> content = std::make_shared<NotificationContent>(multiLineContent);
/base/notification/distributed_notification_service/frameworks/js/napi/include/
Dcommon.h1536 std::shared_ptr<OHOS::Notification::NotificationMultiLineContent> &multiLineContent);