Home
last modified time | relevance | path

Searched refs:propertyMap (Results 1 - 13 of 13) sorted by relevance

/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dprofile_utils_test.cpp1155 * @tc.desc: IsPropertyValid failed, propertyMap.size() == 0.
1161 map<string, string> propertyMap; in HWTEST_F() local
1164 bool res1 = ProfileUtils::IsPropertyValid(propertyMap, property, maxValue); in HWTEST_F()
1168 bool res2 = ProfileUtils::IsPropertyValid(propertyMap, property, minValue, maxValue); in HWTEST_F()
1173 bool res3 = ProfileUtils::IsPropertyValid(propertyMap, property, u32MinValue, u32MaxValue); in HWTEST_F()
1178 bool res4 = ProfileUtils::IsPropertyValid(propertyMap, property, i64MinValue, i64MaxValue); in HWTEST_F()
1190 map<string, string> propertyMap; in HWTEST_F() local
1193 propertyMap[property] = value; in HWTEST_F()
1195 bool res1 = ProfileUtils::IsPropertyValid(propertyMap, property, maxValue); in HWTEST_F()
1199 bool res2 = ProfileUtils::IsPropertyValid(propertyMap, propert in HWTEST_F()
1220 map<string, string> propertyMap; HWTEST_F() local
1251 map<string, string> propertyMap; HWTEST_F() local
1282 map<string, string> propertyMap; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dshared_transition_effect.cpp278 auto& propertyMap = option.GetFloatPropertyAnimation(); in CreateSizeAnimation() local
279 auto widthIter = propertyMap.find(PropertyAnimatableType::PROPERTY_WIDTH); in CreateSizeAnimation()
280 if (((isLazy && autoWidth_) || (widthIter == propertyMap.end())) && !NearEqual(destSize.Width(), srcSize.Width())) { in CreateSizeAnimation()
288 auto heightIter = propertyMap.find(PropertyAnimatableType::PROPERTY_HEIGHT); in CreateSizeAnimation()
289 if (((isLazy && autoHeight_) || (heightIter == propertyMap.end())) && in CreateSizeAnimation()
/foundation/deviceprofile/device_info_manager/services/core/test/fuzztest/profileutils_fuzzer/
H A Dprofileutils_fuzzer.cpp298 std::map<std::string, std::string> propertyMap; in IsPropertyValidFuzzTest() local
301 ProfileUtils::IsPropertyValid(propertyMap, property, maxValue); in IsPropertyValidFuzzTest()
304 ProfileUtils::IsPropertyValid(propertyMap, property, minValue, maxValue); in IsPropertyValidFuzzTest()
308 ProfileUtils::IsPropertyValid(propertyMap, property, u32MinValue, u32MaxValue); in IsPropertyValidFuzzTest()
312 ProfileUtils::IsPropertyValid(propertyMap, property, i64MinValue, i64MaxValue); in IsPropertyValidFuzzTest()
/foundation/deviceprofile/device_info_manager/common/include/utils/
H A Dprofile_utils.h97 static bool IsPropertyValid(const std::map<std::string, std::string>& propertyMap, const std::string& property,
99 static bool IsPropertyValid(const std::map<std::string, std::string>& propertyMap, const std::string& property,
/foundation/ai/intelligent_voice_framework/frameworks/js/napi/
H A Dintell_voice_manager_napi.h50 static napi_value CreatePropertyBase(napi_env env, T &propertyMap, napi_ref ref);
H A Dintell_voice_manager_napi.cpp426 napi_value IntellVoiceManagerNapi::CreatePropertyBase(napi_env env, T &propertyMap, napi_ref ref) in CreatePropertyBase() argument
439 for (const auto &iter : propertyMap) { in CreatePropertyBase()
/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp724 bool ProfileUtils::IsPropertyValid(const std::map<std::string, std::string>& propertyMap, const std::string& property, in IsPropertyValid() argument
727 if (propertyMap.count(property) != 0 && 0 < propertyMap.at(property).length() && in IsPropertyValid()
728 (static_cast<int32_t>(propertyMap.at(property).length())) < maxValue) { in IsPropertyValid()
735 bool ProfileUtils::IsPropertyValid(const std::map<std::string, std::string>& propertyMap, const std::string& property, in IsPropertyValid() argument
738 if (property.empty() || propertyMap.find(property) == propertyMap.end()) { in IsPropertyValid()
742 std::string propertyValue = propertyMap.at(property); in IsPropertyValid()
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_scene_utils.h178 napi_env env, const std::unordered_map<WindowType, SystemBarProperty>& propertyMap);
H A Djs_scene_utils.cpp1360 napi_env env, const std::unordered_map<WindowType, SystemBarProperty>& propertyMap) in CreateJsSystemBarPropertyArrayObject()
1362 if (propertyMap.empty()) { in CreateJsSystemBarPropertyArrayObject()
1363 WLOGFE("Empty propertyMap"); in CreateJsSystemBarPropertyArrayObject()
1367 napi_create_array_with_length(env, propertyMap.size(), &arrayValue); in CreateJsSystemBarPropertyArrayObject()
1373 for (auto iter: propertyMap) { in CreateJsSystemBarPropertyArrayObject()
1359 CreateJsSystemBarPropertyArrayObject( napi_env env, const std::unordered_map<WindowType, SystemBarProperty>& propertyMap) CreateJsSystemBarPropertyArrayObject() argument
H A Djs_scene_session.h286 void OnSystemBarPropertyChange(const std::unordered_map<WindowType, SystemBarProperty>& propertyMap);
H A Djs_scene_session.cpp1444 const std::unordered_map<WindowType, SystemBarProperty>& propertyMap) { in ProcessSystemBarPropertyChangeRegister()
1450 jsSceneSession->OnSystemBarPropertyChange(propertyMap); in ProcessSystemBarPropertyChangeRegister()
3525 void JsSceneSession::OnSystemBarPropertyChange(const std::unordered_map<WindowType, SystemBarProperty>& propertyMap) in OnSystemBarPropertyChange() argument
3528 auto task = [weakThis = wptr(this), persistentId = persistentId_, propertyMap, env = env_] { in OnSystemBarPropertyChange()
3540 napi_value jsSessionStateObj = CreateJsSystemBarPropertyArrayObject(env, propertyMap); in OnSystemBarPropertyChange()
/foundation/window/window_manager/window_scene/session/host/include/
H A Dscene_session.h61 const std::unordered_map<WindowType, SystemBarProperty>& propertyMap)>;
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_test.cpp1051 const std::unordered_map<WindowType, SystemBarProperty>& propertyMap){}; in HWTEST_F()

Completed in 25 milliseconds