/base/powermgr/thermal_manager/test/systemtest/src/ |
D | thermal_mgr_system_test.cpp | 99 char bufTemp[MAX_PATH] = {0}; in InitNode() 111 …ret = snprintf_s(bufTemp, MAX_PATH, sizeof(bufTemp) - 1, SIMULATION_TEMP_DIR.c_str(), iter.first.c… in InitNode() 202 char batteryTempBuf[MAX_PATH] = {0}; 203 …int32_t ret = snprintf_s(batteryTempBuf, MAX_PATH, sizeof(batteryTempBuf) - 1, BATTERY_PATH.c_str(… 218 char levelBuf[MAX_PATH] = {0}; 219 char levelValue[MAX_PATH] = {0}; 220 ret = snprintf_s(levelBuf, MAX_PATH, sizeof(levelBuf) - 1, CONFIG_LEVEL_PATH.c_str()); 241 char batteryTempBuf[MAX_PATH] = {0}; 242 …int32_t ret = snprintf_s(batteryTempBuf, MAX_PATH, sizeof(batteryTempBuf) - 1, BATTERY_PATH.c_str(… 257 char levelBuf[MAX_PATH] = {0}; [all …]
|
/base/powermgr/thermal_manager/application/protector/src/action/ |
D | voltage_action.cpp | 29 constexpr int32_t MAX_PATH = 256; variable 53 char voltageBuf[MAX_PATH] = {0}; in BatteryVoltageActionRequest() 54 if (snprintf_s(voltageBuf, MAX_PATH, sizeof(voltageBuf) - 1, BATTERY_VOLTAGE_PATH) < EOK) { in BatteryVoltageActionRequest()
|
D | cpu_action.cpp | 28 constexpr int32_t MAX_PATH = 256; variable 52 char cpuBuf[MAX_PATH] = {0}; in CpuActionRequest() 53 if (snprintf_s(cpuBuf, MAX_PATH, sizeof(cpuBuf) - 1, SIM_CPU_FREQ_PATH) < EOK) { in CpuActionRequest()
|
D | current_action.cpp | 29 constexpr int32_t MAX_PATH = 256; variable 54 char currentBuf[MAX_PATH] = {0}; in BatteryCurrentActionRequest() 55 …if (snprintf_s(currentBuf, MAX_PATH, sizeof(currentBuf) - 1, SIM_BATTERY_CURRENT_PATH.c_str()) < E… in BatteryCurrentActionRequest()
|
/base/powermgr/thermal_manager/services/native/src/thermal_action/ |
D | thermal_action_manager.cpp | 27 const int MAX_PATH = 256; variable 104 char fileBuf[MAX_PATH] = {0}; in CreateActionMockFile() 105 char stateFileBuf[MAX_PATH] = {0}; in CreateActionMockFile() 112 … ret = snprintf_s(fileBuf, MAX_PATH, sizeof(fileBuf) - ARG_1, configDir.c_str(), iter.c_str()); in CreateActionMockFile() 121 …ret = snprintf_s(stateFileBuf, MAX_PATH, sizeof(stateFileBuf) - ARG_1, stateDir.c_str(), iter.c_st… in CreateActionMockFile()
|
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/ |
D | action_charger.cpp | 31 const int MAX_PATH = 256; variable 137 char buf[MAX_PATH] = {0}; in WriteSimValue() 139 ret = snprintf_s(buf, MAX_PATH, sizeof(buf) - 1, SC_CURRENT_PATH); in WriteSimValue() 144 ret = snprintf_s(buf, MAX_PATH, sizeof(buf) - 1, BUCK_CURRENT_PATH); in WriteSimValue()
|
D | action_voltage.cpp | 32 const int32_t MAX_PATH = 256; variable 134 char buf[MAX_PATH] = {0}; in WriteMockNode() 136 ret = snprintf_s(buf, MAX_PATH, sizeof(buf) - 1, SC_VOLTAGE_PATH); in WriteMockNode() 141 ret = snprintf_s(buf, MAX_PATH, sizeof(buf) - 1, BUCK_VOLTAGE_PATH); in WriteMockNode()
|
D | action_shutdown.cpp | 38 const int MAX_PATH = 256; variable 117 char shutdownBuf[MAX_PATH] = {0}; in ShutdownExecution() 118 ret = snprintf_s(shutdownBuf, MAX_PATH, sizeof(shutdownBuf) - 1, SHUTDOWN_PATH); in ShutdownExecution()
|
D | action_volume.cpp | 32 const int MAX_PATH = 256; variable 144 char buf[MAX_PATH] = {0}; in VolumeExecution() 145 ret = snprintf_s(buf, MAX_PATH, sizeof(buf) - 1, VOLUME_PATH); in VolumeExecution()
|
D | action_application_process.cpp | 42 const int MAX_PATH = 256; variable 234 char processBuf[MAX_PATH] = {0}; in ProcessAppActionExecution() 235 ret = snprintf_s(processBuf, MAX_PATH, sizeof(processBuf) - 1, PROCESS_PATH); in ProcessAppActionExecution()
|
/base/powermgr/thermal_manager/test/common/src/ |
D | thermal_test.cpp | 79 char bufTemp[MAX_PATH] = {0}; in InitNode() 91 … ret = snprintf_s(bufTemp, MAX_PATH, sizeof(bufTemp) - 1, SIMULATION_TEMP_DIR, iter.first.c_str()); in InitNode()
|
/base/powermgr/thermal_manager/test/systemtest/include/ |
D | thermal_mgr_system_test.h | 25 const uint32_t MAX_PATH = 256; variable
|
/base/powermgr/thermal_manager/services/native/src/thermal_policy/ |
D | thermal_policy.cpp | 35 const int MAX_PATH = 256; variable 100 char levelBuf[MAX_PATH] = {0}; in WriteLevel() 106 ret = snprintf_s(levelBuf, MAX_PATH, sizeof(levelBuf) - 1, LEVEL_PATH); in WriteLevel()
|
/base/powermgr/thermal_manager/test/common/include/ |
D | thermal_test.h | 24 const uint32_t MAX_PATH = 256; variable
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | hap_manager.cpp | 69 char path[MAX_PATH] = { 0 }; in Init() 70 GetModuleFileName((HMODULE)mbi.AllocationBase, path, MAX_PATH); in Init()
|