Home
last modified time | relevance | path

Searched refs:svrProfile (Results 1 - 5 of 5) sorted by relevance

/foundation/deviceprofile/device_info_manager/services/core/src/contentsensormanager/
H A Dcollaboration_info_collector.cpp38 ServiceProfile svrProfile; in ConvertToProfile() local
39 if (DeviceProfileManager::GetInstance().GetServiceProfile(deviceId, *it, svrProfile) == DP_SUCCESS) { in ConvertToProfile()
42 svrProfile.SetDeviceId(deviceId); in ConvertToProfile()
43 svrProfile.SetServiceName(*it); in ConvertToProfile()
44 svrProfile.SetServiceType(*it); in ConvertToProfile()
45 svrProfileList.push_back(svrProfile); in ConvertToProfile()
H A Dpasteboard_info_collector.cpp42 ServiceProfile svrProfile; in ConvertToProfile() local
43 svrProfile.SetDeviceId(ContentSensorManagerUtils::GetInstance().ObtainLocalUdid()); in ConvertToProfile()
44 svrProfile.SetServiceName(SERVICE_ID); in ConvertToProfile()
45 svrProfile.SetServiceType(SERVICE_ID); in ConvertToProfile()
46 svrProfileList.push_back(svrProfile); in ConvertToProfile()
H A Ddms_info_collector.cpp32 ServiceProfile svrProfile; in ConvertToProfile() local
33 svrProfile.SetDeviceId(GetDeviceUdid()); in ConvertToProfile()
34 svrProfile.SetServiceName(DistributedSchedule::Constants::DMS_SERVICE_ID); in ConvertToProfile()
35 svrProfile.SetServiceType(DistributedSchedule::Constants::DMS_SERVICE_ID); in ConvertToProfile()
36 svrProfileList.push_back(svrProfile); in ConvertToProfile()
/foundation/deviceprofile/device_info_manager/common/include/utils/
H A Dprofile_utils.h54 static bool IsSvrProfileValid(const ServiceProfile& svrProfile);
60 static bool IsServiceProfileValid(const ServiceProfile& svrProfile);
/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp354 bool ProfileUtils::IsSvrProfileValid(const ServiceProfile& svrProfile) in IsSvrProfileValid() argument
356 return IsKeyValid(svrProfile.GetDeviceId()) && IsLocalUdid(svrProfile.GetDeviceId()) && in IsSvrProfileValid()
357 IsKeyValid(svrProfile.GetServiceName()); in IsSvrProfileValid()
374 bool ProfileUtils::IsServiceProfileValid(const ServiceProfile& svrProfile) in IsServiceProfileValid() argument
376 if (svrProfile.GetServiceName().empty() || svrProfile.GetServiceType().empty()) { in IsServiceProfileValid()

Completed in 3 milliseconds