Home
last modified time | relevance | path

Searched refs:notificationContent (Results 1 – 4 of 4) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_content_test.cpp47 NotificationContent notificationContent(normalContent); in HWTEST_F() local
48 auto result = notificationContent.Marshalling(parcel); in HWTEST_F()
63 NotificationContent notificationContent(normalContent); in HWTEST_F() local
64 auto result = notificationContent.ReadFromParcel(parcel); in HWTEST_F()
154 NotificationContent notificationContent(normalContent); in HWTEST_F() local
155 auto result = notificationContent.GetContentType(); in HWTEST_F()
159 auto result1 = notificationContent.ReadFromParcel(parcel); in HWTEST_F()
173 NotificationContent notificationContent(conversationContent); in HWTEST_F() local
174 auto result = notificationContent.GetContentType(); in HWTEST_F()
178 auto result1 = notificationContent.ReadFromParcel(parcel); in HWTEST_F()
[all …]
/base/notification/distributed_notification_service/test/fuzztest/notificationcontent_fuzzer/
Dnotificationcontent_fuzzer.cpp32 Notification::NotificationContent notificationContent(normalContent); in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_innerkits_module_publish_test.cpp167 std::shared_ptr<NotificationContent> notificationContent = notificationRequest.GetContent(); in CheckCaseOneResult() local
168 if (notificationContent != nullptr) { in CheckCaseOneResult()
169 EXPECT_EQ(NotificationContent::Type::MEDIA, notificationContent->GetContentType()); in CheckCaseOneResult()
171 … std::static_pointer_cast<NotificationMediaContent>(notificationContent->GetNotificationContent()); in CheckCaseOneResult()
260 std::shared_ptr<NotificationContent> notificationContent = notificationRequest.GetContent(); in CheckCaseFourResult() local
261 if (notificationContent != nullptr) { in CheckCaseFourResult()
262 … EXPECT_EQ(NotificationContent::Type::CONVERSATION, notificationContent->GetContentType()); in CheckCaseFourResult()
265 notificationContent->GetNotificationContent()); in CheckCaseFourResult()
286 std::shared_ptr<NotificationContent> notificationContent = notificationRequest.GetContent(); in CheckCaseFiveResult() local
287 if (notificationContent != nullptr) { in CheckCaseFiveResult()
[all …]
/base/notification/distributed_notification_service/frameworks/ans/src/
Dreminder_request.cpp1588 auto notificationContent = std::make_shared<NotificationContent>(notificationNormalContent); in UpdateNotificationCommon() local
1589 notificationRequest_->SetContent(notificationContent); in UpdateNotificationCommon()