Home
last modified time | relevance | path

Searched refs:OH_PROFILE_SUFFIX (Results 1 - 4 of 4) sorted by relevance

/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp266 str = str + OH_PROFILE_SUFFIX; in CheckAndAddOhSuffix()
274 if (EndsWith(str, OH_PROFILE_SUFFIX)) { in CheckAndRemoveOhSuffix()
275 str = str.erase(str.length() - OH_PROFILE_SUFFIX.length()); in CheckAndRemoveOhSuffix()
467 values[GenerateDBKey(deviceProfileKey, OS_VERSION + OH_PROFILE_SUFFIX)] = profile.GetOsVersion(); in DeviceProfileToEntries()
468 values[GenerateDBKey(deviceProfileKey, OS_TYPE + OH_PROFILE_SUFFIX)] = std::to_string(profile.GetOsType()); in DeviceProfileToEntries()
633 if (IsPropertyValid(propertiesMap, OS_VERSION + OH_PROFILE_SUFFIX, MAX_STRING_LEN)) { in EntriesToDeviceProfile()
634 profile.SetOsVersion(propertiesMap[OS_VERSION + OH_PROFILE_SUFFIX]); in EntriesToDeviceProfile()
640 if (IsPropertyValid(propertiesMap, OS_TYPE + OH_PROFILE_SUFFIX, MIN_OS_TYPE, MAX_OS_TYPE)) { in EntriesToDeviceProfile()
641 int32_t osType = std::atoi(propertiesMap[OS_TYPE + OH_PROFILE_SUFFIX].c_str()); in EntriesToDeviceProfile()
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/listener/
H A Dkv_data_change_listener.cpp142 if (ProfileUtils::EndsWith(res[NUM_2], OH_PROFILE_SUFFIX)) { in FilterEntries()
/foundation/deviceprofile/device_info_manager/common/include/constants/
H A Ddistributed_device_profile_constants.h45 const std::string OH_PROFILE_SUFFIX = "_OH"; member
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/
H A Ddevice_profile_manager.cpp880 if (ProfileUtils::EndsWith(res[NUM_2], OH_PROFILE_SUFFIX)) { in FixRemoteDataWhenPeerIsNonOH()

Completed in 6 milliseconds