| /base/powermgr/power_manager/services/native/src/ |
| D | power_save_mode.cpp | 76 StrToInt(TrimStr(GetProp(nodePtr, "id")), policyId); in StartXMlParse() 82 StrToInt(TrimStr(GetProp(policyNodePtr, "id")), pmp.id); in StartXMlParse() 83 StrToInt(TrimStr(GetProp(policyNodePtr, "recover_flag")), pmp.recover_flag); in StartXMlParse() 84 StrToInt(TrimStr(GetProp(policyNodePtr, "value")), pmp.value); in StartXMlParse()
|
| /base/hiviewdfx/hidumper/services/native/src/ |
| D | dump_common_utils.cpp | 129 StrToInt(cpuId, cpuInfo.id_); in GetCpuInfos() 165 StrToInt(name, pidInfo.pid_); in GetPidInfos() 211 StrToInt(file, pid); in GetUserPids() 305 StrToInt(val0, info.pid_); in GetProcessInfo() 307 StrToInt(val0, info.ppid_); in GetProcessInfo() 309 StrToInt(val0, info.uid_); in GetProcessInfo() 311 StrToInt(val0, info.gid_); in GetProcessInfo()
|
| /base/telephony/core_service/services/network_search/src/ |
| D | nitz_update.cpp | 110 StrToInt(strYear, networkTime.year); in NitzParse() 111 StrToInt(strsRet[1], networkTime.month); in NitzParse() 112 StrToInt(strsRet[LOCATION_DAY_OR_SEC], networkTime.day); in NitzParse() 145 StrToInt(strsRet[1], networkTime.offset); in NitzTimeParse() 155 StrToInt(strsRet[0], networkTime.hour); in NitzTimeParse() 156 StrToInt(strsRet[1], networkTime.minute); in NitzTimeParse() 157 StrToInt(strsRet[LOCATION_DAY_OR_SEC], networkTime.second); in NitzTimeParse()
|
| D | network_search_manager.cpp | 700 bool succ = StrToInt(mcc, value); in GetIsoCountryCodeForNetwork() 892 bool succ = StrToInt(value, networkMode); in GetPreferredNetworkValue()
|
| /base/powermgr/power_manager/utils/shell/src/ |
| D | power_shell_command.cpp | 244 StrToInt(optarg, value); in RunAsDisplayCommandOverride() 272 StrToInt(optarg, value); in RunAsDisplayCommandBoost() 300 StrToInt(optarg, value); in RunAsDisplayCommandSetValue() 335 StrToInt(optarg, value); in RunAsDisplayCommandDelay() 385 StrToInt(optarg, timeout); in RunAsTimeOutCommand()
|
| /base/powermgr/thermal_manager/test/unittest/src/ |
| D | thermal_config_file_parser.cpp | 287 StrToInt(reinterpret_cast<char*>(value), idleState.level); in ParseIdleNode() 293 StrToInt(reinterpret_cast<char*>(value), idleState.soc); in ParseIdleNode() 299 StrToInt(reinterpret_cast<char*>(value), idleState.charging); in ParseIdleNode() 305 StrToInt(reinterpret_cast<char*>(value), idleState.current); in ParseIdleNode() 373 StrToInt(tempRiseRanges[INDEX0], auxlevelItem.lowerTemp); in ParseAuxSensorSubnodeInfo() 374 StrToInt(tempRiseRanges[INDEX1], auxlevelItem.upperTemp); in ParseAuxSensorSubnodeInfo() 377 StrToInt(reinterpret_cast<char*>(xmlLevel), auxlevelItem.level); in ParseAuxSensorSubnodeInfo() 440 StrToInt(thresholds.at(i), levelItem.threshold); in ParseSensorSubnodeInfo() 441 StrToInt(thresholdClrs.at(i), levelItem.thresholdClr); in ParseSensorSubnodeInfo()
|
| /base/powermgr/thermal_manager/application/protector/src/policy/ |
| D | thermal_kernel_config_file.cpp | 107 StrToInt(reinterpret_cast<char*>(xmlInterval), interval); in ParseControlNode() 150 StrToInt(reinterpret_cast<char*>(xmlThreshold), tziItem.threshold); in ParseSubNode() 155 StrToInt(reinterpret_cast<char*>(xmlThresholdClr), tziItem.thresholdClr); in ParseSubNode()
|
| /base/powermgr/thermal_manager/services/native/src/thermal_policy/ |
| D | thermal_srv_config_parser.cpp | 241 StrToInt(tempRanges[INDEX0], auxlevelItem.lowerTemp); in ParseAuxSensorLevInfo() 242 StrToInt(tempRanges[INDEX1], auxlevelItem.upperTemp); in ParseAuxSensorLevInfo() 245 StrToInt(reinterpret_cast<char*>(xmlLevel), auxlevelItem.level); in ParseAuxSensorLevInfo() 387 StrToInt(thresholds.at(sensorIdx), levelItem.threshold); in ParseLevelThreshold() 388 StrToInt(thresholdClrs.at(sensorIdx), levelItem.thresholdClr); in ParseLevelThreshold() 586 StrToInt(reinterpret_cast<char*>(value), idleState.level); in ParseIdleNode() 592 StrToInt(reinterpret_cast<char*>(value), idleState.soc); in ParseIdleNode() 598 StrToInt(reinterpret_cast<char*>(value), idleState.charging); in ParseIdleNode() 604 StrToInt(reinterpret_cast<char*>(value), idleState.current); in ParseIdleNode() 665 StrToInt(faultStr, faultNum); in ParseFanFaultInfo() [all …]
|
| /base/powermgr/power_manager/utils/param/src/ |
| D | sysparam.cpp | 48 StrToInt(TrimStr(value), intValue); in GetIntValue()
|
| /base/hiviewdfx/hiview/base/utility/include/ |
| D | string_util.h | 91 bool StrToInt(const std::string& str, int& value); 92 int StrToInt(const std::string& str);
|
| /base/hiviewdfx/hiview/base/utility/ |
| D | string_util.cpp | 92 bool StrToInt(const string& str, int& value) in StrToInt() function 111 int StrToInt(const string& str) in StrToInt() function 114 StrToInt(str, id); in StrToInt()
|
| /base/hiviewdfx/hiview/base/utility/test/unittest/common/ |
| D | base_utility_unit_test.cpp | 91 auto ret = StringUtil::StrToInt(std::to_string(intVal1)); 93 ret = StringUtil::StrToInt(std::to_string(intVal2));
|
| /base/powermgr/battery_manager/services/native/src/ |
| D | battery_dump.cpp | 128 if (!StrToInt(capacityStr, capacity)) { in MockCapacity()
|
| /base/hiviewdfx/hilog/services/hilogtool/ |
| D | main.cpp | 443 (void)StrToInt(arg, lines); in HeadHandler() 578 (void)StrToInt(arg, jobId); in JobIdHandler() 637 (void)StrToInt(arg, fileNum); in FileNumberHandler() 675 (void)StrToInt(p, pid); in PidHandler() 908 (void)StrToInt(arg, tailLines); in TailHandler()
|
| /base/hiviewdfx/hidumper/frameworks/native/ |
| D | dump_utils.cpp | 178 if (!StrToInt(name, id)) { // Decimal string in StrToId()
|
| /base/hiviewdfx/hidumper/frameworks/native/src/util/ |
| D | dump_cpu_info_util.cpp | 252 if (!StrToInt(curProcs_[i]->pid, specPid)) { in GetOldSpecProcInfo() 269 if (!StrToInt(oldProcs_[i]->pid, specPid)) { in GetOldSpecProcInfo()
|
| /base/update/sys_installer/services/module_update/src/ |
| D | module_loop.cpp | 96 if (StrToInt(idStr, id)) { in PreAllocateLoopDevices()
|
| /base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
| D | event_log_task.cpp | 226 StringUtil::StrToInt(cmdList[PeerBinderCatcher::BP_CMD_LAYER_INDEX]), pid_); in PeerBinderCapture()
|
| /base/telephony/call_manager/services/call_setting/src/ |
| D | call_setting_manager.cpp | 167 bool succ = StrToInt(Str16ToStr8(value), flag); in SetImsConfig()
|
| /base/usb/usb_manager/services/native/src/ |
| D | usb_right_manager.cpp | 559 if (!StrToInt(rightRecordUids.at(i), uid)) { in CleanUpRightUserDeleted()
|
| /base/hiviewdfx/hidumper/frameworks/native/src/manager/ |
| D | dump_implement.cpp | 394 return StrToInt(str, value) ? DumpStatus::DUMP_OK : DumpStatus::DUMP_FAIL; in SetCmdIntegerParameter()
|
| /base/hiviewdfx/hiview/core/ |
| D | hiview_platform.cpp | 787 if (!StringUtil::StrToInt(content, pid)) { in ExitHiviewIfNeed()
|
| /base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/ |
| D | memory_info.cpp | 524 bool ret = StrToInt(oom_score, value); in GetProcessAdjLabel()
|
| /base/hiviewdfx/hiview/base/ |
| D | libhiviewbase.map | 203 …"OHOS::HiviewDFX::StringUtil::StrToInt(std::__h::basic_string<char, std::__h::char_traits<char>, s…
|