Home
last modified time | relevance | path

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

12

/base/hiviewdfx/hidumper/services/native/src/
Ddump_common_utils.cpp130 StrToInt(cpuId, cpuInfo.id_); in GetCpuInfos()
166 StrToInt(name, pidInfo.pid_); in GetPidInfos()
212 StrToInt(file, pid); in GetUserPids()
316 StrToInt(val0, info.pid_); in GetProcessInfo()
318 StrToInt(val0, info.ppid_); in GetProcessInfo()
320 StrToInt(val0, info.uid_); in GetProcessInfo()
322 StrToInt(val0, info.gid_); in GetProcessInfo()
/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/telephony/core_service/services/network_search/src/
Dnitz_update.cpp124 StrToInt(strYear, networkTime.year); in NitzParse()
125 StrToInt(strsRet[1], networkTime.month); in NitzParse()
126 StrToInt(strsRet[LOCATION_DAY_OR_SEC], networkTime.day); in NitzParse()
158 StrToInt(strsRet[1], networkTime.offset); in NitzTimeParse()
168 StrToInt(strsRet[0], networkTime.hour); in NitzTimeParse()
169 StrToInt(strsRet[1], networkTime.minute); in NitzTimeParse()
170 StrToInt(strsRet[LOCATION_DAY_OR_SEC], networkTime.second); in NitzTimeParse()
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_config_file_parser.cpp299 StrToInt(reinterpret_cast<char*>(value), idleState.level); in ParseIdleNode()
305 StrToInt(reinterpret_cast<char*>(value), idleState.soc); in ParseIdleNode()
311 StrToInt(reinterpret_cast<char*>(value), idleState.charging); in ParseIdleNode()
317 StrToInt(reinterpret_cast<char*>(value), idleState.current); in ParseIdleNode()
387 StrToInt(tempRiseRanges[INDEX0], auxlevelItem.lowerTemp); in ParseAuxSensorSubnodeInfo()
388 StrToInt(tempRiseRanges[INDEX1], auxlevelItem.upperTemp); in ParseAuxSensorSubnodeInfo()
391 StrToInt(reinterpret_cast<char*>(xmlLevel), auxlevelItem.level); in ParseAuxSensorSubnodeInfo()
454 StrToInt(thresholds.at(i), levelItem.threshold); in ParseSensorSubnodeInfo()
455 StrToInt(thresholdClrs.at(i), levelItem.thresholdClr); in ParseSensorSubnodeInfo()
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
Dthermal_srv_config_parser.cpp235 StrToInt(tempRanges[INDEX0], auxlevelItem.lowerTemp); in ParseAuxSensorLevInfo()
236 StrToInt(tempRanges[INDEX1], auxlevelItem.upperTemp); in ParseAuxSensorLevInfo()
239 StrToInt(reinterpret_cast<char*>(xmlLevel), auxlevelItem.level); in ParseAuxSensorLevInfo()
381 StrToInt(thresholds.at(sensorIdx), levelItem.threshold); in ParseLevelThreshold()
382 StrToInt(thresholdClrs.at(sensorIdx), levelItem.thresholdClr); in ParseLevelThreshold()
580 StrToInt(reinterpret_cast<char*>(value), idleState.level); in ParseIdleNode()
586 StrToInt(reinterpret_cast<char*>(value), idleState.soc); in ParseIdleNode()
592 StrToInt(reinterpret_cast<char*>(value), idleState.charging); in ParseIdleNode()
598 StrToInt(reinterpret_cast<char*>(value), idleState.current); in ParseIdleNode()
659 StrToInt(faultStr, faultNum); in ParseFanFaultInfo()
[all …]
/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/power_manager/utils/shell/src/
Dpower_shell_command.cpp320 StrToInt(optarg, value); in RunAsDisplayCommandOverride()
348 StrToInt(optarg, value); in RunAsDisplayCommandBoost()
376 StrToInt(optarg, value); in RunAsDisplayCommandSetValue()
411 StrToInt(optarg, value); in RunAsDisplayCommandDelay()
462 StrToInt(optarg, timeout); in RunAsTimeOutCommand()
/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/framework/native/unified_collection/calculator/
Dio_calculator.cpp63 int manfid = StringUtil::StrToInt(eMMCManfid); in GetEMMCManfid()
/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/thermal_manager/test/common/src/
Dthermal_test.cpp66 StrToInt(value, result); in ConvertInt()
/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/hiview/base/event_publish/
Devent_publish.cpp94 int32_t uid = StringUtil::StrToInt(uidStr); in SendEventToSandBox()
/base/powermgr/battery_manager/services/native/src/
Dbattery_dump.cpp128 if (!StrToInt(capacityStr, capacity)) { in MockCapacity()
/base/update/sys_installer/services/module_update/src/
Dmodule_loop.cpp96 if (StrToInt(idStr, id)) { in PreAllocateLoopDevices()
/base/hiviewdfx/hidumper/frameworks/native/
Ddump_utils.cpp359 if (!StrToInt(name, id)) { // Decimal string in StrToId()
/base/telephony/call_manager/services/call_setting/src/
Dcall_setting_manager.cpp167 bool succ = StrToInt(Str16ToStr8(value), flag); in SetImsConfig()
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/
Dio_collector_impl.cpp163 return StringUtil::StrToInt(fileName.substr(startPos + 1, endPos - startPos - 1)); in GetFileNameNum()
515 int32_t pid = StringUtil::StrToInt(std::string(de->d_name)); in CalculateAllProcIoStats()
Dmemory_collector_impl.cpp334 if (!StringUtil::StrToInt(fileName, value)) { in CollectAllProcessMemory()
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
Devent_log_task.cpp254 StringUtil::StrToInt(cmdList[PeerBinderCatcher::BP_CMD_LAYER_INDEX]), pid_); in PeerBinderCapture()
/base/telephony/call_manager/services/call/src/
Dcall_request_process.cpp571 StrToInt(Str16ToStr8(*it), callId); in HangUpRequest()
594 StrToInt(Str16ToStr8(*it), callId); in HangUpForDsdaRequest()
/base/telephony/cellular_data/services/src/state_machine/
Dcellular_data_state_machine.cpp241 StrToInt(mtuIpTypeArray[1], mtuValue); in GetMtuSizeFromOpCfg()
/base/usb/usb_manager/services/native/src/
Dusb_right_manager.cpp536 if (!StrToInt(rightRecordUids.at(i), uid)) { in CleanUpRightUserDeleted()

12