/ohos5.0/base/notification/distributed_notification_service/services/test/moduletest/ |
H A D | ans_module_test.cpp | 196 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 D | notificationcontent_fuzzer.cpp | 28 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 D | notification_content_test.cpp | 138 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 D | notification_request_test.cpp | 350 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 D | notification_content.cpp | 35 …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 D | notification_content.h | 102 … explicit NotificationContent(const std::shared_ptr<NotificationLongTextContent> &longTextContent);
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common_convert_content.cpp | 171 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 D | ans_innerkits_module_publish_test.cpp | 971 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 D | ans_manager_stub_test.cpp | 107 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);
|