Home
last modified time | relevance | path

Searched refs:longTextContent (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/services/test/moduletest/
H A Dans_module_test.cpp196 std::shared_ptr<NotificationLongTextContent> longTextContent = variable
244 std::shared_ptr<NotificationLongTextContent> longTextContent = variable
290 std::shared_ptr<NotificationLongTextContent> longTextContent = variable
338 std::shared_ptr<NotificationLongTextContent> longTextContent = variable
385 std::shared_ptr<NotificationLongTextContent> longTextContent = variable
545 longTextContent->SetText("1");
546 longTextContent->SetTitle("1");
1255 std::shared_ptr<NotificationLongTextContent> longTextContent = variable
1306 std::shared_ptr<NotificationLongTextContent> longTextContent = variable
2442 req1->SetContent(longTextContent);
[all …]
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationcontent_fuzzer/
H A Dnotificationcontent_fuzzer.cpp28 std::shared_ptr<Notification::NotificationLongTextContent> longTextContent = in DoSomethingInterestingWithMyAPI() local
33 Notification::NotificationContent notificationLongTextContent(longTextContent); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_content_test.cpp138 std::shared_ptr<NotificationLongTextContent> longTextContent = nullptr; in HWTEST_F() local
139 NotificationContent notificationContent1(longTextContent); in HWTEST_F()
358 std::shared_ptr<NotificationLongTextContent> longTextContent = nullptr; in HWTEST_F() local
359 auto sptr2 = std::make_shared<NotificationContent>(longTextContent); in HWTEST_F()
H A Dnotification_request_test.cpp350 std::shared_ptr<NotificationLongTextContent> longTextContent = in HWTEST_F() local
352 …:shared_ptr<NotificationContent> content2 = std::make_shared<NotificationContent>(longTextContent); in HWTEST_F()
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_content.cpp35 …onContent::NotificationContent(const std::shared_ptr<NotificationLongTextContent> &longTextContent) in NotificationContent() argument
37 if (!longTextContent) { in NotificationContent()
43 content_ = longTextContent; in NotificationContent()
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_content.h102 … explicit NotificationContent(const std::shared_ptr<NotificationLongTextContent> &longTextContent);
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon_convert_content.cpp171 OHOS::Notification::NotificationLongTextContent *longTextContent = in SetNotificationLongTextContent() local
173 if (longTextContent == nullptr) { in SetNotificationLongTextContent()
178 if (!SetNotificationBasicContent(env, longTextContent, result)) { in SetNotificationLongTextContent()
184 napi_create_string_utf8(env, longTextContent->GetLongText().c_str(), NAPI_AUTO_LENGTH, &value); in SetNotificationLongTextContent()
188 napi_create_string_utf8(env, longTextContent->GetBriefText().c_str(), NAPI_AUTO_LENGTH, &value); in SetNotificationLongTextContent()
192 …napi_create_string_utf8(env, longTextContent->GetExpandedTitle().c_str(), NAPI_AUTO_LENGTH, &value… in SetNotificationLongTextContent()
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp971 std::shared_ptr<NotificationLongTextContent> longTextContent = variable
973 EXPECT_NE(longTextContent, nullptr);
974 longTextContent->SetExpandedTitle("expendedtitle");
975 longTextContent->SetBriefText("brieftext");
976 longTextContent->SetLongText("longtext");
977 …GTEST_LOG_(INFO) << "ANS_Interface_MT_Publish_00700::longTextContentis::" << longTextContent->Dump…
978 …::shared_ptr<NotificationContent> content = std::make_shared<NotificationContent>(longTextContent);
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/
H A Dans_manager_stub_test.cpp107 std::shared_ptr<NotificationLongTextContent> longTextContent = variable
109 …:shared_ptr<NotificationContent> content2 = std::make_shared<NotificationContent>(longTextContent);
1016 std::shared_ptr<NotificationLongTextContent> longTextContent = variable
1018 …:shared_ptr<NotificationContent> content2 = std::make_shared<NotificationContent>(longTextContent);
1228 std::shared_ptr<NotificationLongTextContent> longTextContent = variable
1230 …:shared_ptr<NotificationContent> content2 = std::make_shared<NotificationContent>(longTextContent);