Searched refs:OH_PROFILE_SUFFIX (Results 1 - 4 of 4) sorted by relevance
/foundation/deviceprofile/device_info_manager/common/src/utils/ |
H A D | profile_utils.cpp | 266 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 D | kv_data_change_listener.cpp | 142 if (ProfileUtils::EndsWith(res[NUM_2], OH_PROFILE_SUFFIX)) { in FilterEntries()
|
/foundation/deviceprofile/device_info_manager/common/include/constants/ |
H A D | distributed_device_profile_constants.h | 45 const std::string OH_PROFILE_SUFFIX = "_OH"; member
|
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/ |
H A D | device_profile_manager.cpp | 880 if (ProfileUtils::EndsWith(res[NUM_2], OH_PROFILE_SUFFIX)) { in FixRemoteDataWhenPeerIsNonOH()
|
Completed in 6 milliseconds