/ohos5.0/drivers/peripheral/power/interfaces/hdi_service/src/ |
H A D | running_lock_timer_handler.cpp | 77 auto typeIter = runninglockTimerMap_.find(type); in GetRunningLockTimerId() local 78 if (typeIter != runninglockTimerMap_.end()) { in GetRunningLockTimerId() 80 if (nameIter != typeIter->second.end()) { in GetRunningLockTimerId() 90 if (typeIter == runninglockTimerMap_.end()) { in AddRunningLockTimerMap() 96 auto nameIter = typeIter->second.find(name); in AddRunningLockTimerMap() 97 if (nameIter == typeIter->second.end()) { in AddRunningLockTimerMap() 98 typeIter->second.emplace(name, timerId); in AddRunningLockTimerMap() 107 if (typeIter != runninglockTimerMap_.end()) { in RemoveRunningLockTimerMap() 109 if (nameIter != typeIter->second.end()) { in RemoveRunningLockTimerMap() 110 typeIter->second.erase(name); in RemoveRunningLockTimerMap() [all …]
|
/ohos5.0/base/msdp/device_status/tools/vdev/src/ |
H A D | virtual_keyboard_builder.cpp | 349 auto typeIter = model.find("type"); in ReadRawModel() local 350 …if (typeIter == model.cend() || !typeIter->is_string() || (std::string(typeIter.value()).compare("… in ReadRawModel() 381 auto typeIter = model.find("type"); in ReadRawData() local 382 if (typeIter == model.cend() || !typeIter->is_number_integer()) { in ReadRawData() 385 …std::cout << "[virtual keyboard] raw input: [" << typeIter.value() << ", " << codeIter.value() << … in ReadRawData() 387 VirtualKeyboard::GetDevice()->SendEvent(typeIter.value(), codeIter.value(), valueIter.value()); in ReadRawData()
|
H A D | virtual_mouse_builder.cpp | 492 auto typeIter = model.find("type"); in ReadRawModel() local 493 …if (typeIter == model.cend() || !typeIter->is_string() || (std::string(typeIter.value()).compare("… in ReadRawModel() 519 auto typeIter = model.find("type"); in ReadRawData() local 520 if (typeIter == model.cend() || !typeIter->is_number_integer()) { in ReadRawData() 527 …std::cout << "[virtual mouse] raw input: [" << typeIter.value() << ", " << codeIter.value() << ", … in ReadRawData() 529 VirtualMouse::GetDevice()->SendEvent(typeIter.value(), codeIter.value(), valueIter.value()); in ReadRawData()
|
H A D | virtual_touchscreen_builder.cpp | 537 auto typeIter = model.find("type"); in ReadRawData() local 538 if (typeIter == model.cend() || !typeIter->is_number_integer()) { in ReadRawData() 549 …std::cout << "[touchscreen] raw input: [" << typeIter.value() << ", " << codeIter.value() << ", " … in ReadRawData() 551 … VirtualTouchScreen::GetDevice()->SendEvent(typeIter.value(), codeIter.value(), valueIter.value()); in ReadRawData()
|
/ohos5.0/base/powermgr/thermal_manager/application/protector/src/policy/ |
H A D | thermal_kernel_policy.cpp | 41 auto typeIter = typeTempMap_.find(tzIter->first); in LevelDecision() local 42 if (typeIter != typeTempMap_.end()) { in LevelDecision() 44 tzIter->second->UpdateThermalLevel(typeIter->second); in LevelDecision() 46 levelMap_.emplace(std::pair(typeIter->first, level)); in LevelDecision()
|
/ohos5.0/base/powermgr/thermal_manager/application/protector/src/ |
H A D | thermal_sensor_provision.cpp | 208 auto typeIter = tzPathMap.find(tzIter.first); in ParseThermalZoneInfo() local 209 if (typeIter != tzPathMap.end()) { in ParseThermalZoneInfo() 210 tzIter.second->SetPath(typeIter->second); in ParseThermalZoneInfo()
|
/ohos5.0/drivers/peripheral/thermal/interfaces/hdi_service/src/ |
H A D | thermal_zone_manager.cpp | 97 auto typeIter = tznMap_.find(tzIter.type); in UpdateThermalZoneInfo() local 98 if (typeIter != tznMap_.end()) { in UpdateThermalZoneInfo() 100 UpdateDataType(tzIter, data, typeIter->second); in UpdateThermalZoneInfo()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | mmi_event_convertor.cpp | 231 auto typeIter = actionMap.find(orgAction); in SetTouchEventType() local 232 if (typeIter == actionMap.end()) { in SetTouchEventType() 236 event.type = typeIter->second; in SetTouchEventType() 237 if (typeIter->second == TouchType::PULL_DOWN || typeIter->second == TouchType::PULL_MOVE || in SetTouchEventType() 238 typeIter->second == TouchType::PULL_UP || typeIter->second == TouchType::PULL_IN_WINDOW || in SetTouchEventType() 239 typeIter->second == TouchType::PULL_OUT_WINDOW) { in SetTouchEventType() 240 event.pullType = typeIter->second; in SetTouchEventType()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/ |
H A D | quick_fix_checker.cpp | 288 auto typeIter = APP_DISTRIBUTION_TYPE_MAPS.find(type); in GetAppDistributionType() local 289 if (typeIter == APP_DISTRIBUTION_TYPE_MAPS.end()) { in GetAppDistributionType() 294 return typeIter->second; in GetAppDistributionType()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/ |
H A D | rs_modifier_extractor.cpp | 57 …auto typeIter = node->modifiersTypeMap_.find((int16_t)RSModifierType::propertyType); … 58 …if (typeIter != node->modifiersTypeMap_.end()) { … 59 …auto modifier = typeIter->second; …
|
/ohos5.0/foundation/multimedia/media_foundation/src/meta/ |
H A D | meta.cpp | 569 auto typeIter = g_ValueTypeDefaultValueMap.find(type); in GetDefaultAnyValue() local 570 if (typeIter != g_ValueTypeDefaultValueMap.end()) { in GetDefaultAnyValue() 571 return typeIter->second; in GetDefaultAnyValue()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_install_checker.cpp | 116 auto typeIter = APP_DISTRIBUTION_TYPE_MAPS.find(type); in GetAppDistributionType() local 117 if (typeIter == APP_DISTRIBUTION_TYPE_MAPS.end()) { in GetAppDistributionType() 122 return typeIter->second; in GetAppDistributionType()
|
H A D | bundle_mgr_host_impl.cpp | 4179 auto typeIter = APP_DISTRIBUTION_TYPE_MAPS.find(provisionInfo.distributionType); in SetProvisionInfoToInnerBundleInfo() local 4180 if (typeIter == APP_DISTRIBUTION_TYPE_MAPS.end()) { in SetProvisionInfoToInnerBundleInfo() 4183 distributionType = typeIter->second; in SetProvisionInfoToInnerBundleInfo()
|