Home
last modified time | relevance | path

Searched refs:NotificationPictureContent (Results 1 - 21 of 21) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_picture_content.cpp22 void NotificationPictureContent::SetExpandedTitle(const std::string &exTitle) in SetExpandedTitle()
27 std::string NotificationPictureContent::GetExpandedTitle() const in GetExpandedTitle()
32 void NotificationPictureContent::SetBriefText(const std::string &briefText) in SetBriefText()
37 std::string NotificationPictureContent::GetBriefText() const in GetBriefText()
42 void NotificationPictureContent::SetBigPicture(const std::shared_ptr<Media::PixelMap> &bigPicture) in SetBigPicture()
47 const std::shared_ptr<Media::PixelMap> NotificationPictureContent::GetBigPicture() const in GetBigPicture()
52 std::string NotificationPictureContent::Dump() in Dump()
54 return "NotificationPictureContent{ " + NotificationBasicContent::Dump() + in Dump()
61 bool NotificationPictureContent::ToJson(nlohmann::json &jsonObject) const in ToJson()
75 NotificationPictureContent *NotificationPictureConten
[all...]
H A Dnotification_content.cpp46 NotificationContent::NotificationContent(const std::shared_ptr<NotificationPictureContent> &pictureContent) in NotificationContent()
49 ANS_LOGE("NotificationPictureContent can not be null"); in NotificationContent()
256 std::shared_ptr<NotificationPictureContent>(parcel.ReadParcelable<NotificationPictureContent>())); in ReadFromParcel()
314 pBasicContent = NotificationJsonConverter::ConvertFromJson<NotificationPictureContent>(contentObj); in ConvertJsonToContent()
H A Dnotification_request.cpp2651 auto pictureContent = std::static_pointer_cast<NotificationPictureContent>(content); in CheckImageSizeForPicture()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_picture_content_test.cpp44 auto rrc = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
58 auto rrc = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
72 auto rrc = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
85 auto rrc = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
86 std::string ret = "NotificationPictureContent{ title = , text = , " in HWTEST_F()
101 auto rrc = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
114 auto rrc = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
130 auto rrc = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
150 auto rrc = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
164 std::shared_ptr<NotificationPictureContent> resul in HWTEST_F()
[all...]
H A Dnotification_content_test.cpp141 std::shared_ptr<NotificationPictureContent> pictureContent = nullptr; in HWTEST_F()
196 std::shared_ptr<NotificationPictureContent> pictureContent = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
361 std::shared_ptr<NotificationPictureContent> pictureContent = nullptr; in HWTEST_F()
438 auto pictureContent = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
H A Dnotification_request_test.cpp322 std::shared_ptr<NotificationPictureContent> pictureContent = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
342 std::shared_ptr<NotificationPictureContent> pictureContent = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
1053 auto pictureContent = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_picture_content.h25 class NotificationPictureContent : public NotificationBasicContent { class
27 NotificationPictureContent() = default;
29 ~NotificationPictureContent() = default;
88 * @brief Converts a NotificationPictureContent object into a Json.
96 * @brief Creates a NotificationPictureContent object from a Json.
99 * @return Returns the NotificationPictureContent object.
101 static NotificationPictureContent *FromJson(const nlohmann::json &jsonObject);
115 * @return Returns the NotificationPictureContent object.
117 static NotificationPictureContent *Unmarshalling(Parcel &parcel);
121 * @brief Read a NotificationPictureContent objec
[all...]
H A Dnotification_content.h66 * Such notifications are created using NotificationPictureContent.
105 * @brief A constructor used to create a NotificationPictureContent instance (obtained by calling
109 * @param pictureContent Indicates the NotificationPictureContent object.
111 explicit NotificationContent(const std::shared_ptr<NotificationPictureContent> &pictureContent);
179 * NotificationPictureContent,
/base/notification/distributed_notification_service/test/fuzztest/notificationcontent_fuzzer/
H A Dnotificationcontent_fuzzer.cpp30 std::shared_ptr<Notification::NotificationPictureContent> pictureContent = in DoSomethingInterestingWithMyAPI()
31 std::make_shared<Notification::NotificationPictureContent>(); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/notificationpicturecontentannex_fuzzer/
H A Dnotificationpicturecontentannex_fuzzer.cpp26 Notification::NotificationPictureContent notificationPictureContent; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/notificationpicturecontent_fuzzer/
H A Dnotificationpicturecontent_fuzzer.cpp23 Notification::NotificationPictureContent notificationPictureContent; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/services/ans/test/unittest/advanced_notification_service_test/
H A Dadvanced_notification_service_publish_test.cpp705 std::shared_ptr<NotificationPictureContent> pictureContent = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
739 std::shared_ptr<NotificationPictureContent> pictureContent = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
773 std::shared_ptr<NotificationPictureContent> pictureContent = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
1434 std::shared_ptr<NotificationPictureContent> pictureContent = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/
H A Dnotification_utils.h270 std::shared_ptr<OHOS::Notification::NotificationPictureContent> &pictureContent);
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon_convert_content.cpp40 case ContentType::NOTIFICATION_CONTENT_PICTURE: // picture?: NotificationPictureContent in GetPropertyNameByContentType()
81 case ContentType::NOTIFICATION_CONTENT_PICTURE: // picture?: NotificationPictureContent in SetNotificationContentDetailed()
207 OHOS::Notification::NotificationPictureContent *pictureContent = in SetNotificationPictureContent()
208 static_cast<OHOS::Notification::NotificationPictureContent *>(basicContent); in SetNotificationPictureContent()
734 std::shared_ptr<OHOS::Notification::NotificationPictureContent> pictureContent = in GetNotificationPictureContent()
735 std::make_shared<OHOS::Notification::NotificationPictureContent>(); in GetNotificationPictureContent()
750 const napi_value &contentResult, std::shared_ptr<OHOS::Notification::NotificationPictureContent> &pictureContent) in GetNotificationPictureContentDetailed()
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp350 std::shared_ptr<NotificationPictureContent> &pictureContent) in GetNotificationPictureContentDetailed()
398 std::shared_ptr<OHOS::Notification::NotificationPictureContent> pictureContent = in GetNotificationPictureContent()
399 std::make_shared<OHOS::Notification::NotificationPictureContent>(); in GetNotificationPictureContent()
1173 OHOS::Notification::NotificationPictureContent *pictureContent = in SetNotificationPictureContent()
1174 static_cast<OHOS::Notification::NotificationPictureContent *>(basicContent); in SetNotificationPictureContent()
1482 case ContentType::NOTIFICATION_CONTENT_PICTURE: // picture?: NotificationPictureContent in SetNotificationContentDetailed()
/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi_convert_content.cpp40 case ContentType::NOTIFICATION_CONTENT_PICTURE: // picture?: NotificationPictureContent in GetPropertyNameByContentType()
336 std::shared_ptr<OHOS::Notification::NotificationPictureContent> pictureContent = in GetNotificationPictureContent()
337 std::make_shared<OHOS::Notification::NotificationPictureContent>(); in GetNotificationPictureContent()
348 const napi_value &contentResult, std::shared_ptr<OHOS::Notification::NotificationPictureContent> &pictureContent) in GetNotificationPictureContentDetailed()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_fw_module_test.cpp1247 std::shared_ptr<NotificationPictureContent> pictureContent = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
1279 std::shared_ptr<NotificationPictureContent> pictureContent = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
1311 std::shared_ptr<NotificationPictureContent> pictureContent = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
H A Dans_innerkits_module_publish_test.cpp351 std::shared_ptr<NotificationPictureContent> notificationPictureContent = in CheckCaseSixResult()
352 std::static_pointer_cast<NotificationPictureContent>(notificationContent->GetNotificationContent()); in CheckCaseSixResult()
932 std::shared_ptr<NotificationPictureContent> pictureContent = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
/base/notification/distributed_notification_service/services/test/moduletest/
H A Dans_module_test.cpp618 std::shared_ptr<NotificationPictureContent> pictureContent = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
2481 std::shared_ptr<NotificationPictureContent> contentImpl = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
2522 std::shared_ptr<NotificationPictureContent> contentImpl = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
2578 std::shared_ptr<NotificationPictureContent> contentImpl = std::make_shared<NotificationPictureContent>(); in HWTEST_F()
/base/location/frameworks/js/napi/notification/include/
H A Dnotification_napi.h874 * @brief Gets a NotificationPictureContent object from specified js object
878 * @param pictureContent Indicates a NotificationPictureContent object from specified js object
883 std::shared_ptr<OHOS::Notification::NotificationPictureContent> &pictureContent);
/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dcommon.h396 * @brief Sets a js NotificationPictureContent object by specified NotificationBasicContent object
1262 * @brief Gets a NotificationPictureContent object from specified js object
1266 * @param pictureContent Indicates a NotificationPictureContent object from specified js object
1271 std::shared_ptr<OHOS::Notification::NotificationPictureContent> &pictureContent);

Completed in 35 milliseconds