Home
last modified time | relevance | path

Searched refs:propertiesMap (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp626 auto propertiesMap = GetProfilePropertiesMap(values); in EntriesToDeviceProfile() local
631 profile.SetOsVersion(propertiesMap[OS_VERSION]); in EntriesToDeviceProfile()
655 auto propertiesMap = GetProfilePropertiesMap(values); in EntriesToServiceProfile() local
656 if (propertiesMap.count(SERVICE_NAME) != 0 && 0 < propertiesMap[SERVICE_NAME].length() && in EntriesToServiceProfile()
660 if (propertiesMap.count(SERVICE_TYPE) != 0 && 0 < propertiesMap[SERVICE_TYPE].length() && in EntriesToServiceProfile()
676 auto propertiesMap = GetProfilePropertiesMap(values); in EntriesToCharProfile() local
677 …if (propertiesMap.count(CHARACTERISTIC_KEY) != 0 && 0 < propertiesMap[CHARACTERISTIC_KEY].length()… in EntriesToCharProfile()
681 …if (propertiesMap.count(CHARACTERISTIC_VALUE) != 0 && 0 < propertiesMap[CHARACTERISTIC_VALUE].leng… in EntriesToCharProfile()
707 std::map<std::string, std::string> propertiesMap; in GetProfilePropertiesMap() local
714 propertiesMap[profileProperty] = item.second; in GetProfilePropertiesMap()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_implicit_animation_param.cpp82 …auto& propertiesMap = node->IsRenderServiceNode() ? renderServicePropertiesMap : renderThreadPrope… in SyncProperties() local
83propertiesMap.emplace(std::make_pair<NodeId, PropertyId>(node->GetId(), rsProperty->GetId()), in SyncProperties()
100 … RSNodeGetShowingPropertiesAndCancelAnimation::PropertiesMap&& propertiesMap, bool isRenderService) in ExecuteSyncPropertiesTask() argument
103 …sk = std::make_shared<RSNodeGetShowingPropertiesAndCancelAnimation>(4e8, std::move(propertiesMap)); in ExecuteSyncPropertiesTask()
H A Drs_interactive_implict_animator.cpp303 RSNodeGetShowingPropertiesAndCancelAnimation::PropertiesMap propertiesMap; in FinishOnCurrent() local
313propertiesMap.emplace(std::make_pair<NodeId, PropertyId>(node->GetId(), animation->GetPropertyId()… in FinishOnCurrent()
317 if (propertiesMap.size() == 0) { in FinishOnCurrent()
320 …sk = std::make_shared<RSNodeGetShowingPropertiesAndCancelAnimation>(1e8, std::move(propertiesMap)); in FinishOnCurrent()
H A Drs_implicit_animation_param.h73 …RSNodeGetShowingPropertiesAndCancelAnimation::PropertiesMap&& propertiesMap, bool isRenderService);
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dprofile_utils_test.cpp1594 auto propertiesMap = ProfileUtils::GetProfilePropertiesMap(values); variable
1595 bool ret1 = ProfileUtils::IsPropertyValid(propertiesMap, DEVICE_NAME, MAX_STRING_LEN);
1629 auto propertiesMap = ProfileUtils::GetProfilePropertiesMap(values); variable
1630 EXPECT_EQ(false, propertiesMap.count(SERVICE_TYPE) != 0);
1631 EXPECT_EQ(false, 0 < propertiesMap[SERVICE_TYPE].length());
1632 EXPECT_EQ(true, propertiesMap[SERVICE_TYPE].length() < MAX_STRING_LEN);
1637 propertiesMap = ProfileUtils::GetProfilePropertiesMap(values);
1638 EXPECT_EQ(false, propertiesMap.count(SERVICE_TYPE) != 0);
1639 EXPECT_EQ(false, 0 < propertiesMap[SERVICE_TYPE].length());
1644 propertiesMap = ProfileUtils::GetProfilePropertiesMap(values);
[all …]