Home
last modified time | relevance | path

Searched refs:briefText (Results 1 - 10 of 10) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_multiline_content_test.cpp57 std::string briefText = "BriefText"; in HWTEST_F() local
59 rrc->SetBriefText(briefText); in HWTEST_F()
60 EXPECT_EQ(rrc->GetBriefText(), briefText); in HWTEST_F()
88 "additionalText = , lockScreenPicture = null, briefText = , expandedTitle = , allLines = [] }"; in HWTEST_F()
181 {"briefText", "test"}, in HWTEST_F()
197 {"briefText", "test"}, in HWTEST_F()
230 {"briefText", "test"}}; in HWTEST_F()
H A Dnotification_picture_content_test.cpp57 std::string briefText = "BriefText"; in HWTEST_F() local
59 rrc->SetBriefText(briefText); in HWTEST_F()
60 EXPECT_EQ(rrc->GetBriefText(), briefText); in HWTEST_F()
87 "additionalText = , lockScreenPicture = null, briefText = , expandedTitle = , bigPicture = null }"; in HWTEST_F()
200 {"briefText", "test"}, in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_multiline_content.cpp36 void NotificationMultiLineContent::SetBriefText(const std::string &briefText) in SetBriefText() argument
38 briefText_ = briefText; in SetBriefText()
71 ", briefText = " + briefText_ + in Dump()
85 jsonObject["briefText"] = briefText_; in ToJson()
111 if (jsonObject.find("briefText") != jsonEnd && jsonObject.at("briefText").is_string()) { in FromJson()
112 pContent->briefText_ = jsonObject.at("briefText").get<std::string>(); in FromJson()
H A Dnotification_long_text_content.cpp45 void NotificationLongTextContent::SetBriefText(const std::string &briefText) in SetBriefText() argument
47 briefText_ = briefText; in SetBriefText()
75 ", briefText = " + briefText_ + in Dump()
89 jsonObject["briefText"] = briefText_; in ToJson()
118 if (jsonObject.find("briefText") != jsonEnd && jsonObject.at("briefText").is_string()) { in FromJson()
119 pContent->briefText_ = jsonObject.at("briefText").get<std::string>(); in FromJson()
H A Dnotification_picture_content.cpp32 void NotificationPictureContent::SetBriefText(const std::string &briefText) in SetBriefText() argument
34 briefText_ = briefText; in SetBriefText()
55 ", briefText = " + briefText_ + in Dump()
69 jsonObject["briefText"] = briefText_; in ToJson()
96 if (jsonObject.find("briefText") != jsonEnd && jsonObject.at("briefText").is_string()) { in FromJson()
97 pContent->briefText_ = jsonObject.at("briefText").get<std::string>(); in FromJson()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_long_text_content.h60 * @param briefText Indicates the brief text to be included.
62 void SetBriefText(const std::string &briefText);
H A Dnotification_picture_content.h54 * @param briefText Indicates the brief text to be included.
56 void SetBriefText(const std::string &briefText);
H A Dnotification_multiline_content.h54 * @param briefText Indicates the brief text to be included.
56 void SetBriefText(const std::string &briefText);
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/
H A Dnotification_utils.h57 char* briefText; member
66 char* briefText; member
76 char* briefText; member
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp307 // briefText: String in GetNotificationLongTextContentDetailed()
308 if (strcpy_s(str, STR_MAX_SIZE, contentResult->briefText) != EOK) { in GetNotificationLongTextContentDetailed()
312 LOGE("Property briefText is empty"); in GetNotificationLongTextContentDetailed()
363 // briefText: String in GetNotificationPictureContentDetailed()
364 if (strcpy_s(str, STR_MAX_SIZE, contentResult->briefText) != EOK) { in GetNotificationPictureContentDetailed()
368 LOGE("Property briefText is empty"); in GetNotificationPictureContentDetailed()
454 // briefText: String in GetNotificationMultiLineContent()
455 if (strcpy_s(str, STR_MAX_SIZE, contentResult->briefText) != EOK) { in GetNotificationMultiLineContent()
459 LOGE("Property briefText is empty"); in GetNotificationMultiLineContent()
1091 free(longText->briefText); in freeNotificationLongTextContent()
[all...]

Completed in 6 milliseconds