Home
last modified time | relevance | path

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

12

/ohos5.0/foundation/multimedia/image_effect/frameworks/native/render_environment/base/cache/
H A Drender_fifo_cache.h36 valueList_.push_front(PAIR_TYPE(key, value)); in Put()
38 while ((currentSize_ > capacity_) && (valueList_.size() > 1)) { in Put()
39 auto &last = valueList_.back(); in Put()
41 valueList_.pop_back(); in Put()
48 …std::find_if(valueList_.begin(), valueList_.end(), [key](const PAIR_TYPE &v) { return v.first == k… in Take()
49 if (it != valueList_.end()) { in Take()
51 valueList_.erase(it); in Take()
66 auto &last = valueList_.back();
71 valueList_.pop_back();
78 std::list<PAIR_TYPE> valueList_;
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_action/action/action_soc/
H A Daction_cpu_boost.cpp53 valueList_.push_back(static_cast<uint32_t>(atoi(value.c_str()))); in AddActionValue()
73 valueList_.clear(); in Execute()
79 if (!valueList_.empty()) { in GetActionValue()
81 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
83 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
H A Daction_cpu_isolate.cpp52 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
67 valueList_.clear(); in Execute()
73 if (!valueList_.empty()) { in GetActionValue()
75 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
77 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
H A Daction_cpu_lit.cpp52 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
67 valueList_.clear(); in Execute()
73 if (!valueList_.empty()) { in GetActionValue()
75 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
77 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
H A Daction_cpu_med.cpp52 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
67 valueList_.clear(); in Execute()
73 if (!valueList_.empty()) { in GetActionValue()
75 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
77 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
H A Daction_gpu.cpp52 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
67 valueList_.clear(); in Execute()
73 if (!valueList_.empty()) { in GetActionValue()
75 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
77 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
H A Daction_cpu_big.cpp54 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
74 valueList_.clear(); in Execute()
80 if (!valueList_.empty()) { in GetActionValue()
82 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
84 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
H A Daction_display.cpp62 valueList_.push_back(static_cast<float>(strtof(value.c_str(), nullptr))); in AddActionValue()
81 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()
H A Daction_node.cpp64 valueList_.push_back(atoi(value.c_str())); in AddActionValue()
70 if (!valueList_.empty()) { in Execute()
72 value = *min_element(valueList_.begin(), valueList_.end()); in Execute()
74 value = *max_element(valueList_.begin(), valueList_.end()); in Execute()
87 valueList_.clear(); in Execute()
H A Daction_popup.cpp61 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
76 valueList_.clear(); in Execute()
82 if (!valueList_.empty()) { in GetActionValue()
84 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
86 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
H A Daction_shutdown.cpp65 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
84 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()
H A Daction_voltage.cpp61 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
77 valueList_.clear(); in Execute()
83 if (!valueList_.empty()) { in GetActionValue()
85 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
87 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
H A Daction_charger.cpp60 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
76 valueList_.clear(); in Execute()
82 if (!valueList_.empty()) { in GetActionValue()
84 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
86 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
H A Daction_volume.cpp64 valueList_.push_back(static_cast<float>(strtof(value.c_str(), nullptr))); in AddActionValue()
83 valueList_.clear(); in Execute()
89 if (!valueList_.empty()) { in GetActionValue()
91 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
93 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
H A Daction_application_process.cpp71 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
89 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()
H A Daction_thermal_level.cpp68 valueList_.push_back(static_cast<uint32_t>(strtol(value.c_str(), nullptr, STRTOL_FORMART_DEC))); in AddActionValue()
83 valueList_.clear(); in Execute()
89 if (!valueList_.empty()) { in GetActionValue()
91 value = *min_element(valueList_.begin(), valueList_.end()); in GetActionValue()
93 value = *max_element(valueList_.begin(), valueList_.end()); in GetActionValue()
/ohos5.0/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_action_test.cpp204 EXPECT_FALSE(g_actionDisplay->valueList_.empty());
249 EXPECT_TRUE(g_actionApplicationProcess->valueList_.empty());
265 EXPECT_TRUE(g_actionCpuBig->valueList_.empty());
281 EXPECT_TRUE(g_actionCpuMed->valueList_.empty());
297 EXPECT_TRUE(g_actionCpuLit->valueList_.empty());
313 EXPECT_TRUE(g_actionGpu->valueList_.empty());
331 EXPECT_FALSE(g_actionCpuIsolate->valueList_.empty());
398 EXPECT_TRUE(g_actionPopup->valueList_.empty());
/ohos5.0/base/powermgr/thermal_manager/services/native/include/thermal_action/action/
H A Daction_display.h39 std::vector<float> valueList_; variable
H A Daction_node.h40 std::vector<int32_t> valueList_; variable
/ohos5.0/base/powermgr/thermal_manager/services/native/include/thermal_action/action/action_soc/
H A Daction_cpu_lit.h37 std::vector<uint32_t> valueList_; variable
H A Daction_cpu_med.h37 std::vector<uint32_t> valueList_; variable
H A Daction_gpu.h37 std::vector<uint32_t> valueList_; variable
H A Daction_cpu_big.h37 std::vector<uint32_t> valueList_; variable
H A Daction_cpu_boost.h39 std::vector<uint32_t> valueList_; variable
H A Daction_cpu_isolate.h37 std::vector<uint32_t> valueList_; variable

12