Home
last modified time | relevance | path

Searched refs:KEY_UNDER_LINE (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences_database.cpp66 const static std::string KEY_UNDER_LINE = "_"; variable
750 (KEY_ANS_BUNDLE + KEY_UNDER_LINE + bundleKey + KEY_UNDER_LINE), values, userId); in RemoveBundleFromDisturbeDB()
792 (GenerateSlotKey(bundleKey, slotType) + KEY_UNDER_LINE), values, userId); in RemoveSlotFromDisturbeDB()
895 (GenerateSlotKey(bundleKey) + KEY_UNDER_LINE), values, userId); in RemoveAllSlotsFromDisturbeDB()
1211 if (str.find_first_of(KEY_UNDER_LINE) != std::string::npos) { in StringToVector()
1212 std::string str1 = str.substr(0, str.find_first_of(KEY_UNDER_LINE)); in StringToVector()
1240 size_t pos = tempStr.find_first_of(KEY_UNDER_LINE); in IsSlotKey()
1264 key.append(KEY_UNDER_LINE).append(type); in GenerateSlotKey()
1267 key.append(KEY_UNDER_LINE).append(subType); in GenerateSlotKey()
1287 …std::string().append(KEY_ANS_BUNDLE).append(KEY_UNDER_LINE).append(bundleKey).append(KEY_UNDER_LIN… in GenerateBundleKey()
[all …]
H A Dnotification_preferences_info.cpp24 const static std::string KEY_UNDER_LINE = "_"; variable
278 return std::to_string(userId).append(KEY_UNDER_LINE).append(std::to_string(profileId)); in MakeDoNotDisturbProfileKey()