/base/powermgr/thermal_manager/services/native/src/thermal_action/action/action_soc/ |
D | action_gpu.cpp | 53 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()
|
D | action_cpu_lit.cpp | 53 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()
|
D | action_cpu_big.cpp | 53 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()
|
D | action_cpu_med.cpp | 53 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()
|
D | action_cpu_isolate.cpp | 53 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/ |
D | action_display.cpp | 59 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()
|
D | action_popup.cpp | 62 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()
|
D | action_shutdown.cpp | 66 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()
|
D | action_charger.cpp | 61 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()
|
D | action_voltage.cpp | 62 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()
|
D | action_volume.cpp | 61 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()
|
D | action_application_process.cpp | 78 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()
|
D | action_thermal_level.cpp | 70 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/ |
D | thermal_action_test.cpp | 171 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/ |
D | action_cpu_big.h | 37 std::vector<uint32_t> valueList_; variable
|
D | action_cpu_lit.h | 37 std::vector<uint32_t> valueList_; variable
|
D | action_cpu_med.h | 37 std::vector<uint32_t> valueList_; variable
|
D | action_gpu.h | 37 std::vector<uint32_t> valueList_; variable
|
D | action_cpu_isolate.h | 38 std::vector<uint32_t> valueList_; variable
|
/base/powermgr/thermal_manager/services/native/include/thermal_action/action/ |
D | action_display.h | 39 std::vector<float> valueList_; variable
|
D | action_volume.h | 37 std::vector<float> valueList_; variable
|
D | action_cpu_isolate.h | 38 std::vector<uint32_t> valueList_; variable
|
D | action_popup.h | 40 std::vector<uint32_t> valueList_; variable
|
D | action_shutdown.h | 39 std::vector<uint32_t> valueList_; variable
|
D | action_charger.h | 40 std::vector<uint32_t> valueList_; variable
|