| /base/hiviewdfx/hidumper/services/native/src/ |
| D | dump_common_utils.cpp | 130 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/ |
| 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/telephony/core_service/services/network_search/src/ |
| D | nitz_update.cpp | 124 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/ |
| D | thermal_config_file_parser.cpp | 299 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/ |
| D | thermal_srv_config_parser.cpp | 235 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/ |
| 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/power_manager/utils/shell/src/ |
| D | power_shell_command.cpp | 320 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/ |
| 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/framework/native/unified_collection/calculator/ |
| D | io_calculator.cpp | 63 int manfid = StringUtil::StrToInt(eMMCManfid); in GetEMMCManfid()
|
| /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/thermal_manager/test/common/src/ |
| D | thermal_test.cpp | 66 StrToInt(value, result); in ConvertInt()
|
| /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/hiview/base/event_publish/ |
| D | event_publish.cpp | 94 int32_t uid = StringUtil::StrToInt(uidStr); in SendEventToSandBox()
|
| /base/powermgr/battery_manager/services/native/src/ |
| D | battery_dump.cpp | 128 if (!StrToInt(capacityStr, capacity)) { in MockCapacity()
|
| /base/update/sys_installer/services/module_update/src/ |
| D | module_loop.cpp | 96 if (StrToInt(idStr, id)) { in PreAllocateLoopDevices()
|
| /base/hiviewdfx/hidumper/frameworks/native/ |
| D | dump_utils.cpp | 359 if (!StrToInt(name, id)) { // Decimal string in StrToId()
|
| /base/telephony/call_manager/services/call_setting/src/ |
| D | call_setting_manager.cpp | 167 bool succ = StrToInt(Str16ToStr8(value), flag); in SetImsConfig()
|
| /base/hiviewdfx/hiview/framework/native/unified_collection/collector/ |
| D | io_collector_impl.cpp | 163 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()
|
| D | memory_collector_impl.cpp | 334 if (!StringUtil::StrToInt(fileName, value)) { in CollectAllProcessMemory()
|
| /base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
| D | event_log_task.cpp | 254 StringUtil::StrToInt(cmdList[PeerBinderCatcher::BP_CMD_LAYER_INDEX]), pid_); in PeerBinderCapture()
|
| /base/telephony/call_manager/services/call/src/ |
| D | call_request_process.cpp | 571 StrToInt(Str16ToStr8(*it), callId); in HangUpRequest() 594 StrToInt(Str16ToStr8(*it), callId); in HangUpForDsdaRequest()
|
| /base/telephony/cellular_data/services/src/state_machine/ |
| D | cellular_data_state_machine.cpp | 241 StrToInt(mtuIpTypeArray[1], mtuValue); in GetMtuSizeFromOpCfg()
|
| /base/usb/usb_manager/services/native/src/ |
| D | usb_right_manager.cpp | 536 if (!StrToInt(rightRecordUids.at(i), uid)) { in CleanUpRightUserDeleted()
|