/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
H A D | napi_hiappevent_init.cpp | 90 std::map<const char*, napi_value> propertyMap; in InitConstClassByName() local 92 InitEventMap(env, propertyMap); in InitConstClassByName() 94 InitParamMap(env, propertyMap); in InitConstClassByName() 96 InitEventTypeMap(env, propertyMap); in InitConstClassByName() 98 InitDomainMap(env, propertyMap); in InitConstClassByName() 104 napi_property_descriptor descriptors[propertyMap.size()]; in InitConstClassByName() 105 for (auto it : propertyMap) { in InitConstClassByName()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | profile_utils_test.cpp | 1193 propertyMap[property] = value; 1203 propertyMap[property] = value; 1207 propertyMap.erase(property); 1223 propertyMap[property] = value; 1234 propertyMap[property] = value; 1238 propertyMap.erase(property); 1254 propertyMap[property] = value; 1265 propertyMap[property] = value; 1269 propertyMap.erase(property); 1285 propertyMap[property] = value; [all …]
|
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/ |
H A D | napi_hisysevent_init.cpp | 78 std::map<const char*, napi_value> propertyMap; in InitConstClassByName() local 80 InitEventTypeEnum(env, propertyMap); in InitConstClassByName() 82 InitRuleTypeEnum(env, propertyMap); in InitConstClassByName() 87 napi_property_descriptor descriptors[propertyMap.size()]; in InitConstClassByName() 88 for (auto& it : propertyMap) { in InitConstClassByName()
|
/ohos5.0/base/hiviewdfx/hitrace/interfaces/js/kits/napi/src/ |
H A D | napi_hitrace_init.cpp | 114 std::map<const char*, napi_value> propertyMap; in InitConstClassByName() local 116 InitHiTraceFlagEnum(env, propertyMap); in InitConstClassByName() 118 InitHiTraceTracepointTypeEnum(env, propertyMap); in InitConstClassByName() 120 InitHiTraceCommunicationModeEnum(env, propertyMap); in InitConstClassByName() 125 napi_property_descriptor descriptors[propertyMap.size()]; in InitConstClassByName() 126 for (auto& it : propertyMap) { in InitConstClassByName()
|
/ohos5.0/base/inputmethod/imf/services/dialog/entry/src/main/ets/pages/ |
H A D | index.ets | 26 private propertyMap: Map<string, inputMethod.InputMethodProperty> = new Map(); 37 this.propertyMap.set(name, inputmethod); 72 if (this.propertyMap.has(item)) { 73 let prop = this.propertyMap.get(item);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | shared_transition_effect.cpp | 278 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(), s… in CreateSizeAnimation() 288 auto heightIter = propertyMap.find(PropertyAnimatableType::PROPERTY_HEIGHT); in CreateSizeAnimation() 289 if (((isLazy && autoHeight_) || (heightIter == propertyMap.end())) && in CreateSizeAnimation()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/fuzztest/profileutils_fuzzer/ |
H A D | profileutils_fuzzer.cpp | 298 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()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/utils/ |
H A D | profile_utils.cpp | 724 bool ProfileUtils::IsPropertyValid(const std::map<std::string, std::string>& propertyMap, const std… 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… in IsPropertyValid() argument 738 if (property.empty() || propertyMap.find(property) == propertyMap.end()) { in IsPropertyValid() 742 std::string propertyValue = propertyMap.at(property); in IsPropertyValid()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/common/include/utils/ |
H A D | profile_utils.h | 97 …static bool IsPropertyValid(const std::map<std::string, std::string>& propertyMap, const std::stri… 99 …static bool IsPropertyValid(const std::map<std::string, std::string>& propertyMap, const std::stri…
|
/ohos5.0/foundation/ai/intelligent_voice_framework/frameworks/js/napi/ |
H A D | intell_voice_manager_napi.h | 50 static napi_value CreatePropertyBase(napi_env env, T &propertyMap, napi_ref ref);
|
H A D | intell_voice_manager_napi.cpp | 411 napi_value IntellVoiceManagerNapi::CreatePropertyBase(napi_env env, T &propertyMap, napi_ref ref) in CreatePropertyBase() argument 424 for (const auto &iter : propertyMap) { in CreatePropertyBase()
|
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_utils.h | 180 napi_env env, const std::unordered_map<WindowType, SystemBarProperty>& propertyMap);
|
H A D | js_scene_utils.cpp | 1447 napi_env env, const std::unordered_map<WindowType, SystemBarProperty>& propertyMap) in CreateJsSystemBarPropertyArrayObject() argument 1449 if (propertyMap.empty()) { in CreateJsSystemBarPropertyArrayObject() 1454 napi_create_array_with_length(env, propertyMap.size(), &arrayValue); in CreateJsSystemBarPropertyArrayObject() 1460 for (auto iter: propertyMap) { in CreateJsSystemBarPropertyArrayObject()
|
H A D | js_scene_session.h | 297 …id OnSystemBarPropertyChange(const std::unordered_map<WindowType, SystemBarProperty>& propertyMap);
|
H A D | js_scene_session.cpp | 1484 const std::unordered_map<WindowType, SystemBarProperty>& propertyMap) { in ProcessSystemBarPropertyChangeRegister() argument 1490 jsSceneSession->OnSystemBarPropertyChange(propertyMap); in ProcessSystemBarPropertyChangeRegister() 3607 …on::OnSystemBarPropertyChange(const std::unordered_map<WindowType, SystemBarProperty>& propertyMap) in OnSystemBarPropertyChange() argument 3611 auto task = [weakThis = wptr(this), persistentId = persistentId_, propertyMap, env = env_] { in OnSystemBarPropertyChange() 3623 napi_value jsSessionStateObj = CreateJsSystemBarPropertyArrayObject(env, propertyMap); in OnSystemBarPropertyChange()
|
/ohos5.0/foundation/window/window_manager/window_scene/session/host/include/ |
H A D | scene_session.h | 66 const std::unordered_map<WindowType, SystemBarProperty>& propertyMap)>;
|