Home
last modified time | relevance | path

Searched refs:shortStr (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon_convert_content.cpp548 char shortStr[SHORT_TEXT_SIZE] = {0}; in GetNotificationBasicContentDetailed() local
558 if (std::strlen(shortStr) == 0) { in GetNotificationBasicContentDetailed()
562 basicContent->SetTitle(shortStr); in GetNotificationBasicContentDetailed()
644 char shortStr[SHORT_TEXT_SIZE] = {0}; in GetNotificationLongTextContentDetailed() local
684 if (std::strlen(shortStr) == 0) { in GetNotificationLongTextContentDetailed()
688 longContent->SetBriefText(shortStr); in GetNotificationLongTextContentDetailed()
704 if (std::strlen(shortStr) == 0) { in GetNotificationLongTextContentDetailed()
778 if (std::strlen(shortStr) == 0) { in GetNotificationPictureContentDetailed()
797 if (std::strlen(shortStr) == 0) { in GetNotificationPictureContentDetailed()
1350 if (std::strlen(shortStr) == 0) { in GetNotificationMultiLineContent()
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/file_path_utils_test/
H A Dfile_path_utils_test.cpp55 const char* shortStr = "abc"; variable
57 EXPECT_FALSE(StringStartWith(longStr, shortStr, startStrLenInvalid1));
59 EXPECT_FALSE(StringStartWith(longStr, shortStr, startStrLenInvalid2));
61 EXPECT_TRUE(StringStartWith(longStr, shortStr, startStrLen));
73 const char* shortStr = "de"; variable
75 EXPECT_FALSE(StringEndWith(longStr, shortStr, endStrLenInvalid1));
77 EXPECT_FALSE(StringEndWith(longStr, shortStr, endStrLenInvalid2));
79 EXPECT_TRUE(StringEndWith(longStr, shortStr, endStrLen));
/ohos5.0/base/hiviewdfx/hilog/test/unittest/common/
H A Dhilog_utils_test.cpp136 const std::string shortStr; member
155 EXPECT_EQ(LogLevel2ShortStr(logLevelEntries[i].logLevel), logLevelEntries[i].shortStr);
156 EXPECT_EQ(ShortStr2LogLevel(logLevelEntries[i].shortStr), logLevelEntries[i].logLevel);