Home
last modified time | relevance | path

Searched refs:perfActionsInfo_ (Results 1 - 4 of 4) sorted by relevance

/foundation/resourceschedule/soc_perf/test/unittest/
H A Dsocperf_server_test.cpp244 auto it_actions = socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.find(cmdTest); in HWTEST_F()
245 if (it_actions == socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.end()) { in HWTEST_F()
249 std::shared_ptr<Actions> actions = socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_[cmdTest]; in HWTEST_F()
265 auto iter_invaild = socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.find(cmdInvaild); in HWTEST_F()
266 if (iter_invaild != socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.end()) { in HWTEST_F()
299 auto it_actions = socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.find(cmdTest); in HWTEST_F()
300 if (it_actions == socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.end()) { in HWTEST_F()
304 std::shared_ptr<Actions> actions = socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_[cmdTest]; in HWTEST_F()
308 auto it_match = socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.find(cmdMatch); in HWTEST_F()
309 if (it_match == socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_ in HWTEST_F()
[all...]
/foundation/resourceschedule/soc_perf/services/core/src/
H A Dsocperf.cpp95 if (socPerfConfig_.perfActionsInfo_.find(cmdId) == socPerfConfig_.perfActionsInfo_.end()) { in PerfRequest()
107 DoFreqActions(socPerfConfig_.perfActionsInfo_[matchCmdId], EVENT_INVALID, ACTION_TYPE_PERF); in PerfRequest()
118 if (socPerfConfig_.perfActionsInfo_.find(cmdId) == socPerfConfig_.perfActionsInfo_.end()) { in PerfRequestEx()
135 DoFreqActions(socPerfConfig_.perfActionsInfo_[matchCmdId], onOffTag ? EVENT_ON : EVENT_OFF, ACTION_TYPE_PERF); in PerfRequestEx()
312 if (socPerfConfig_.perfActionsInfo_[action->thermalCmdId_] == nullptr) { in DoPerfRequestThremalLvl()
323 std::shared_ptr<Actions> cmdConfig = socPerfConfig_.perfActionsInfo_[action->thermalCmdId_]; in DoPerfRequestThremalLvl()
423 std::shared_ptr<Actions> actions = socPerfConfig_.perfActionsInfo_[cmdId]; in MatchDeviceModeCmd()
437 if (socPerfConfig_.perfActionsInfo_ in MatchDeviceModeCmd()
[all...]
H A Dsocperf_config.cpp486 auto it = perfActionsInfo_.find(atoi(id)); in LoadCmd()
487 if (it != perfActionsInfo_.end()) { in LoadCmd()
508 perfActionsInfo_.insert(std::pair<int32_t, std::shared_ptr<Actions>>(actions->id, actions)); in LoadCmd()
788 std::unordered_map<int32_t, std::shared_ptr<Actions>> actionsInfo = perfActionsInfo_; in CheckActionResIdAndValueValid()
/foundation/resourceschedule/soc_perf/services/core/include/
H A Dsocperf_config.h40 std::unordered_map<int32_t, std::shared_ptr<Actions>> perfActionsInfo_; member in OHOS::SOCPERF::SocPerfConfig

Completed in 4 milliseconds