/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_multiline_content_test.cpp | 57 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 D | notification_picture_content_test.cpp | 57 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 D | notification_multiline_content.cpp | 36 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 D | notification_long_text_content.cpp | 45 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 D | notification_picture_content.cpp | 32 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 D | notification_long_text_content.h | 60 * @param briefText Indicates the brief text to be included. 62 void SetBriefText(const std::string &briefText);
|
H A D | notification_picture_content.h | 54 * @param briefText Indicates the brief text to be included. 56 void SetBriefText(const std::string &briefText);
|
H A D | notification_multiline_content.h | 54 * @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 D | notification_utils.h | 57 char* briefText; member 66 char* briefText; member 76 char* briefText; member
|
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/ |
H A D | notification_utils.cpp | 307 // 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...] |