Searched refs:propertiesMap (Results 1 - 5 of 5) sorted by relevance
/foundation/deviceprofile/device_info_manager/common/src/utils/ |
H A D | profile_utils.cpp | 626 auto propertiesMap = GetProfilePropertiesMap(values); in EntriesToDeviceProfile() local 627 if (IsPropertyValid(propertiesMap, OS_SYS_CAPACITY, MAX_STRING_LEN)) { in EntriesToDeviceProfile() 628 profile.SetOsSysCap(propertiesMap[OS_SYS_CAPACITY]); in EntriesToDeviceProfile() 630 if (IsPropertyValid(propertiesMap, OS_VERSION, MAX_STRING_LEN)) { in EntriesToDeviceProfile() 631 profile.SetOsVersion(propertiesMap[OS_VERSION]); in EntriesToDeviceProfile() 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() 636 if (IsPropertyValid(propertiesMap, OS_TYPE, MIN_OS_TYPE, MAX_OS_TYPE)) { in EntriesToDeviceProfile() 637 int32_t osType = std::atoi(propertiesMap[OS_TYPE].c_str()); in EntriesToDeviceProfile() 640 if (IsPropertyValid(propertiesMap, OS_TYP in EntriesToDeviceProfile() 655 auto propertiesMap = GetProfilePropertiesMap(values); EntriesToServiceProfile() local 676 auto propertiesMap = GetProfilePropertiesMap(values); EntriesToCharProfile() local 707 std::map<std::string, std::string> propertiesMap; GetProfilePropertiesMap() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_interactive_implict_animator.cpp | 303 RSNodeGetShowingPropertiesAndCancelAnimation::PropertiesMap propertiesMap; in FinishOnCurrent() local 313 propertiesMap.emplace(std::make_pair<NodeId, PropertyId>(node->GetId(), animation->GetPropertyId()), in FinishOnCurrent() 317 if (propertiesMap.size() == 0) { in FinishOnCurrent() 320 auto task = std::make_shared<RSNodeGetShowingPropertiesAndCancelAnimation>(1e8, std::move(propertiesMap)); in FinishOnCurrent()
|
H A D | rs_implicit_animation_param.cpp | 83 auto& propertiesMap = node->IsRenderServiceNode() ? renderServicePropertiesMap : renderThreadPropertiesMap; in SyncProperties() local 84 propertiesMap.emplace(std::make_pair<NodeId, PropertyId>(node->GetId(), rsProperty->GetId()), in SyncProperties() 101 RSNodeGetShowingPropertiesAndCancelAnimation::PropertiesMap&& propertiesMap, bool isRenderService) in ExecuteSyncPropertiesTask() 104 auto task = std::make_shared<RSNodeGetShowingPropertiesAndCancelAnimation>(4e8, std::move(propertiesMap)); in ExecuteSyncPropertiesTask() 100 ExecuteSyncPropertiesTask( RSNodeGetShowingPropertiesAndCancelAnimation::PropertiesMap&& propertiesMap, bool isRenderService) ExecuteSyncPropertiesTask() argument
|
H A D | rs_implicit_animation_param.h | 73 RSNodeGetShowingPropertiesAndCancelAnimation::PropertiesMap&& propertiesMap, bool isRenderService);
|
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | profile_utils_test.cpp | 1594 auto propertiesMap = ProfileUtils::GetProfilePropertiesMap(values); in HWTEST_F() local 1595 bool ret1 = ProfileUtils::IsPropertyValid(propertiesMap, DEVICE_NAME, MAX_STRING_LEN); in HWTEST_F() 1629 auto propertiesMap = ProfileUtils::GetProfilePropertiesMap(values); in HWTEST_F() local 1630 EXPECT_EQ(false, propertiesMap.count(SERVICE_TYPE) != 0); in HWTEST_F() 1631 EXPECT_EQ(false, 0 < propertiesMap[SERVICE_TYPE].length()); in HWTEST_F() 1632 EXPECT_EQ(true, propertiesMap[SERVICE_TYPE].length() < MAX_STRING_LEN); in HWTEST_F() 1637 propertiesMap = ProfileUtils::GetProfilePropertiesMap(values); in HWTEST_F() 1638 EXPECT_EQ(false, propertiesMap.count(SERVICE_TYPE) != 0); in HWTEST_F() 1639 EXPECT_EQ(false, 0 < propertiesMap[SERVICE_TYPE].length()); in HWTEST_F() 1644 propertiesMap in HWTEST_F() [all...] |
Completed in 7 milliseconds