Home
last modified time | relevance | path

Searched refs:valueList_ (Results 1 – 25 of 28) sorted by relevance

12

/base/powermgr/thermal_manager/services/native/src/thermal_action/action/action_soc/
Daction_gpu.cpp53 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
67 valueList_.clear(); in Execute()
78 if (!valueList_.empty()) { in GetActionValue()
80 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
82 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
Daction_cpu_lit.cpp53 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
67 valueList_.clear(); in Execute()
78 if (!valueList_.empty()) { in GetActionValue()
80 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
82 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
Daction_cpu_big.cpp53 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
67 valueList_.clear(); in Execute()
78 if (!valueList_.empty()) { in GetActionValue()
80 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
82 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
Daction_cpu_med.cpp53 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
67 valueList_.clear(); in Execute()
78 if (!valueList_.empty()) { in GetActionValue()
80 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
82 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
Daction_cpu_isolate.cpp53 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
67 valueList_.clear(); in Execute()
78 if (!valueList_.empty()) { in GetActionValue()
80 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
82 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
Daction_display.cpp59 valueList_.push_back(static_cast<float>(strtof(value.c_str(), nullptr))); in AddActionValue()
77 valueList_.clear(); in Execute()
88 if (!valueList_.empty()) { in GetActionValue()
90 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
92 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
Daction_popup.cpp62 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
76 valueList_.clear(); in Execute()
87 if (!valueList_.empty()) { in GetActionValue()
89 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
91 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
Daction_shutdown.cpp66 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
84 valueList_.clear(); in Execute()
95 if (!valueList_.empty()) { in GetActionValue()
97 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
99 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
Daction_charger.cpp61 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
76 valueList_.clear(); in Execute()
87 if (!valueList_.empty()) { in GetActionValue()
89 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
91 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
Daction_voltage.cpp62 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
77 valueList_.clear(); in Execute()
88 if (!valueList_.empty()) { in GetActionValue()
90 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
92 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
Daction_volume.cpp61 valueList_.push_back(static_cast<float>(strtof(value.c_str(), nullptr))); in AddActionValue()
79 valueList_.clear(); in Execute()
90 if (!valueList_.empty()) { in GetActionValue()
92 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
94 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
Daction_application_process.cpp78 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
95 valueList_.clear(); in Execute()
106 if (!valueList_.empty()) { in GetActionValue()
108 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
110 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
Daction_thermal_level.cpp70 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
84 valueList_.clear(); in Execute()
95 if (!valueList_.empty()) { in GetActionValue()
97 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
99 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_action_test.cpp171 EXPECT_TRUE(g_actionDisplay->valueList_.empty());
222 EXPECT_TRUE(g_actionCpuBig->valueList_.empty());
236 EXPECT_TRUE(g_actionCpuMed->valueList_.empty());
250 EXPECT_TRUE(g_actionCpuLit->valueList_.empty());
264 EXPECT_TRUE(g_actionGpu->valueList_.empty());
277 EXPECT_TRUE(g_actionCpuIsolate->valueList_.empty());
/base/powermgr/thermal_manager/services/native/include/thermal_action/action/action_soc/
Daction_cpu_big.h37 std::vector<uint32_t> valueList_; variable
Daction_cpu_lit.h37 std::vector<uint32_t> valueList_; variable
Daction_cpu_med.h37 std::vector<uint32_t> valueList_; variable
Daction_gpu.h37 std::vector<uint32_t> valueList_; variable
Daction_cpu_isolate.h38 std::vector<uint32_t> valueList_; variable
/base/powermgr/thermal_manager/services/native/include/thermal_action/action/
Daction_display.h39 std::vector<float> valueList_; variable
Daction_volume.h37 std::vector<float> valueList_; variable
Daction_cpu_isolate.h38 std::vector<uint32_t> valueList_; variable
Daction_popup.h40 std::vector<uint32_t> valueList_; variable
Daction_shutdown.h39 std::vector<uint32_t> valueList_; variable
Daction_charger.h40 std::vector<uint32_t> valueList_; variable

12