Home
last modified time | relevance | path

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

/ohos5.0/foundation/deviceprofile/device_info_manager/common/include/utils/
H A Dprofile_utils.h87 static bool IsNeedAddOhSuffix(const std::string& profileName, bool isSvr);
88 static std::string CheckAndAddOhSuffix(const std::string& profileName, bool isSvr);
/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp248 bool ProfileUtils::IsNeedAddOhSuffix(const std::string& profileName, bool isSvr) in IsNeedAddOhSuffix() argument
253 if (isSvr && NEED_ADD_OH_SUFFIX_SVR_NAMES.count(profileName) > 0) { in IsNeedAddOhSuffix()
256 if (!isSvr && NEED_ADD_OH_SUFFIX_DEV_PROFILES.count(profileName) > 0) { in IsNeedAddOhSuffix()
262 std::string ProfileUtils::CheckAndAddOhSuffix(const std::string& profileName, bool isSvr) in CheckAndAddOhSuffix() argument
265 if (IsNeedAddOhSuffix(str, isSvr)) { in CheckAndAddOhSuffix()