Home
last modified time | relevance | path

Searched refs:notificationContent (Results 1 - 7 of 7) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_content_test.cpp47 NotificationContent notificationContent(normalContent); in HWTEST_F()
48 auto result = notificationContent.Marshalling(parcel); in HWTEST_F()
63 NotificationContent notificationContent(normalContent); in HWTEST_F()
64 auto result = notificationContent.ReadFromParcel(parcel); in HWTEST_F()
160 NotificationContent notificationContent(normalContent); in HWTEST_F()
161 auto result = notificationContent.GetContentType(); in HWTEST_F()
165 auto result1 = notificationContent.ReadFromParcel(parcel); in HWTEST_F()
179 NotificationContent notificationContent(conversationContent); in HWTEST_F()
180 auto result = notificationContent.GetContentType(); in HWTEST_F()
184 auto result1 = notificationContent in HWTEST_F()
[all...]
/base/notification/distributed_notification_service/test/fuzztest/notificationcontent_fuzzer/
H A Dnotificationcontent_fuzzer.cpp32 Notification::NotificationContent notificationContent(normalContent); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp203 if (!GetNotificationContent(cjRequest.notificationContent, request)) { in GetNotificationRequestByCustom()
1463 const std::shared_ptr<NotificationContent> &content, CNotificationContent &notificationContent) in SetNotificationContentDetailed()
1473 notificationContent.normal = in SetNotificationContentDetailed()
1475 ret = SetNotificationBasicContent(basicContent.get(), notificationContent.normal); in SetNotificationContentDetailed()
1478 notificationContent.longText = in SetNotificationContentDetailed()
1480 ret = SetNotificationLongTextContent(basicContent.get(), notificationContent.longText); in SetNotificationContentDetailed()
1483 notificationContent.picture = in SetNotificationContentDetailed()
1485 if (notificationContent.picture == nullptr) { in SetNotificationContentDetailed()
1489 ret = SetNotificationPictureContent(basicContent.get(), notificationContent.picture); in SetNotificationContentDetailed()
1492 notificationContent in SetNotificationContentDetailed()
1462 SetNotificationContentDetailed(const ContentType &type, const std::shared_ptr<NotificationContent> &content, CNotificationContent &notificationContent) SetNotificationContentDetailed() argument
1515 SetNotificationContent( const std::shared_ptr<NotificationContent> &content, CNotificationContent &notificationContent) SetNotificationContent() argument
[all...]
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/
H A Dnotification_utils.h177 CNotificationContent notificationContent; member
324 CNotificationContent &notificationContent);
326 CNotificationContent &notificationContent);
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp211 std::shared_ptr<NotificationContent> notificationContent = notificationRequest.GetContent(); in CheckCaseOneResult() local
212 if (notificationContent != nullptr) { in CheckCaseOneResult()
213 EXPECT_EQ(NotificationContent::Type::MEDIA, notificationContent->GetContentType()); in CheckCaseOneResult()
215 std::static_pointer_cast<NotificationMediaContent>(notificationContent->GetNotificationContent()); in CheckCaseOneResult()
304 std::shared_ptr<NotificationContent> notificationContent = notificationRequest.GetContent(); in CheckCaseFourResult() local
305 if (notificationContent != nullptr) { in CheckCaseFourResult()
306 EXPECT_EQ(NotificationContent::Type::CONVERSATION, notificationContent->GetContentType()); in CheckCaseFourResult()
309 notificationContent->GetNotificationContent()); in CheckCaseFourResult()
330 std::shared_ptr<NotificationContent> notificationContent = notificationRequest.GetContent(); in CheckCaseFiveResult() local
331 if (notificationContent ! in CheckCaseFiveResult()
348 std::shared_ptr<NotificationContent> notificationContent = notificationRequest.GetContent(); CheckCaseSixResult() local
364 std::shared_ptr<NotificationContent> notificationContent = notificationRequest.GetContent(); CheckCaseSevenResult() local
[all...]
/base/location/services/location_gnss/gnss/source/
H A Dagnss_ni_manager.cpp364 std::shared_ptr<OHOS::Notification::NotificationContent> notificationContent = in SendNiNotification() local
368 request.SetContent(notificationContent); in SendNiNotification()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dreminder_request.cpp1660 auto notificationContent = std::make_shared<NotificationContent>(notificationNormalContent); in UpdateNotificationCommon() local
1661 notificationRequest_->SetContent(notificationContent); in UpdateNotificationCommon()

Completed in 10 milliseconds