Home
last modified time | relevance | path

Searched refs:StrToInt (Results 1 – 24 of 24) sorted by relevance

/base/powermgr/power_manager/services/native/src/
Dpower_save_mode.cpp76 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/
Ddump_common_utils.cpp129 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/
Dnitz_update.cpp110 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()
Dnetwork_search_manager.cpp700 bool succ = StrToInt(mcc, value); in GetIsoCountryCodeForNetwork()
892 bool succ = StrToInt(value, networkMode); in GetPreferredNetworkValue()
/base/powermgr/power_manager/utils/shell/src/
Dpower_shell_command.cpp244 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/
Dthermal_config_file_parser.cpp287 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/
Dthermal_kernel_config_file.cpp107 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/
Dthermal_srv_config_parser.cpp241 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/
Dsysparam.cpp48 StrToInt(TrimStr(value), intValue); in GetIntValue()
/base/hiviewdfx/hiview/base/utility/include/
Dstring_util.h91 bool StrToInt(const std::string& str, int& value);
92 int StrToInt(const std::string& str);
/base/hiviewdfx/hiview/base/utility/
Dstring_util.cpp92 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/
Dbase_utility_unit_test.cpp91 auto ret = StringUtil::StrToInt(std::to_string(intVal1));
93 ret = StringUtil::StrToInt(std::to_string(intVal2));
/base/powermgr/battery_manager/services/native/src/
Dbattery_dump.cpp128 if (!StrToInt(capacityStr, capacity)) { in MockCapacity()
/base/hiviewdfx/hilog/services/hilogtool/
Dmain.cpp443 (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/
Ddump_utils.cpp178 if (!StrToInt(name, id)) { // Decimal string in StrToId()
/base/hiviewdfx/hidumper/frameworks/native/src/util/
Ddump_cpu_info_util.cpp252 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/
Dmodule_loop.cpp96 if (StrToInt(idStr, id)) { in PreAllocateLoopDevices()
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
Devent_log_task.cpp226 StringUtil::StrToInt(cmdList[PeerBinderCatcher::BP_CMD_LAYER_INDEX]), pid_); in PeerBinderCapture()
/base/telephony/call_manager/services/call_setting/src/
Dcall_setting_manager.cpp167 bool succ = StrToInt(Str16ToStr8(value), flag); in SetImsConfig()
/base/usb/usb_manager/services/native/src/
Dusb_right_manager.cpp559 if (!StrToInt(rightRecordUids.at(i), uid)) { in CleanUpRightUserDeleted()
/base/hiviewdfx/hidumper/frameworks/native/src/manager/
Ddump_implement.cpp394 return StrToInt(str, value) ? DumpStatus::DUMP_OK : DumpStatus::DUMP_FAIL; in SetCmdIntegerParameter()
/base/hiviewdfx/hiview/core/
Dhiview_platform.cpp787 if (!StringUtil::StrToInt(content, pid)) { in ExitHiviewIfNeed()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
Dmemory_info.cpp524 bool ret = StrToInt(oom_score, value); in GetProcessAdjLabel()
/base/hiviewdfx/hiview/base/
Dlibhiviewbase.map203 …"OHOS::HiviewDFX::StringUtil::StrToInt(std::__h::basic_string<char, std::__h::char_traits<char>, s…