Lines Matching refs:socPerf

80     socPerfServer_->socPerf.PerfRequest(10000, msg);
81 socPerfServer_->socPerf.PerfRequestEx(10000, true, msg);
82 socPerfServer_->socPerf.PerfRequestEx(10000, false, msg);
83 socPerfServer_->socPerf.PerfRequestEx(10028, true, msg);
84 socPerfServer_->socPerf.PerfRequestEx(10028, false, msg);
85 socPerfServer_->socPerf.LimitRequest(ActionType::ACTION_TYPE_POWER, {1001}, {999000}, msg);
86 socPerfServer_->socPerf.LimitRequest(ActionType::ACTION_TYPE_THERMAL, {1001}, {999000}, msg);
87 socPerfServer_->socPerf.LimitRequest(ActionType::ACTION_TYPE_POWER, {1001}, {1325000}, msg);
88 socPerfServer_->socPerf.LimitRequest(ActionType::ACTION_TYPE_THERMAL, {1001}, {1325000}, msg);
89 socPerfServer_->socPerf.PowerLimitBoost(true, msg);
90 socPerfServer_->socPerf.ThermalLimitBoost(true, msg);
98 bool ret = socPerfServer_->socPerf.socPerfConfig_.CheckResourceTag(id.c_str(),
102 …ret = socPerfServer_->socPerf.socPerfConfig_.CheckResourceTag(nullptr, name.c_str(), pair.c_str(),…
150 std::string ret = socPerfServer_->socPerf.RequestCmdIdCount("");
163 ret = socPerfServer_->socPerf.RequestCmdIdCount("");
185 socPerfServer_->socPerf.ClearAllAliveRequest();
186 EXPECT_FALSE(socPerfServer_->socPerf.perfRequestEnable_);
213 auto iter = socPerfServer_->socPerf.recordDeviceMode_.find(msg);
214 EXPECT_TRUE(iter != socPerfServer_->socPerf.recordDeviceMode_.end());
217 auto iter2 = socPerfServer_->socPerf.recordDeviceMode_.find(msg);
218 EXPECT_TRUE(iter2 == socPerfServer_->socPerf.recordDeviceMode_.end());
222 auto iter3 = socPerfServer_->socPerf.recordDeviceMode_.find(msgEmpty);
223 EXPECT_TRUE(iter3 == socPerfServer_->socPerf.recordDeviceMode_.end());
227 auto iter4 = socPerfServer_->socPerf.recordDeviceMode_.find(msgMax);
228 EXPECT_TRUE(iter4 == socPerfServer_->socPerf.recordDeviceMode_.end());
242 auto iter = socPerfServer_->socPerf.recordDeviceMode_.find(modeStr);
243 EXPECT_TRUE(iter != socPerfServer_->socPerf.recordDeviceMode_.end());
244 auto it_actions = socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.find(cmdTest);
245 if (it_actions == socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.end()) {
249 …std::shared_ptr<Actions> actions = socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_[cmdTest…
255 int32_t ret = socPerfServer_->socPerf.MatchDeviceModeCmd(cmdTest, false);
265 auto iter_invaild = socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.find(cmdInvaild);
266 if (iter_invaild != socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.end()) {
274 int32_t retInvaild = socPerfServer_->socPerf.MatchDeviceModeCmd(cmdTest, false);
283 int32_t retModeInvaild = socPerfServer_->socPerf.MatchDeviceModeCmd(cmdTest, false);
299 auto it_actions = socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.find(cmdTest);
300 if (it_actions == socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.end()) {
304 …std::shared_ptr<Actions> actions = socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_[cmdTest…
308 auto it_match = socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.find(cmdMatch);
309 if (it_match == socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.end()) {
315 …std::shared_ptr<Actions> actionsMatch = socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_[cm…
317 int32_t retInvaild = socPerfServer_->socPerf.MatchDeviceModeCmd(cmdTest, true);
332 auto it_actions = socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.find(cmdTest);
333 if (it_actions == socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.end()) {
338 …std::shared_ptr<Actions> actions = socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_[cmdTest…
340 socPerfServer_->socPerf.recordDeviceMode_.clear();
343 int32_t retInvaild = socPerfServer_->socPerf.MatchDeviceModeCmd(cmdTest, true);
364 auto it_actions = socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.find(cmdTest);
365 if (it_actions == socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_.end()) {
370 …std::shared_ptr<Actions> actions = socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_[cmdTest…
371 socPerfServer_->socPerf.socPerfConfig_.ParseModeCmd(modePairInvaild, cfgFile, actions);
374 socPerfServer_->socPerf.socPerfConfig_.ParseModeCmd(modeNumberInvaild, cfgFile, actions);
377 socPerfServer_->socPerf.socPerfConfig_.ParseModeCmd(modeCmdInvaild, cfgFile, actions);
381 socPerfServer_->socPerf.socPerfConfig_.ParseModeCmd(modeSame, cfgFile, actions);
389 socPerfServer_->socPerf.socPerfConfig_.ParseModeCmd(modeNullInvaild, cfgFile, actions);
666 EXPECT_EQ(socPerfServer_->socPerf.thermalLvl_, 3);
679 if (socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_[appColdStartCmdId] == nullptr ||
680 socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_[appWarmStartCmdId] == nullptr) {
685 socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_[appColdStartCmdId];
689 …bool ret = socPerfServer_->socPerf.DoPerfRequestThremalLvl(appColdStartCmdId, item, EVENT_INVALID);
693 … ret = socPerfServer_->socPerf.DoPerfRequestThremalLvl(appColdStartCmdId, item, EVENT_INVALID);
709 if (socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_[appColdStartCmdId] == nullptr ||
710 socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_[appWarmStartCmdId] == nullptr) {
715 socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_[appWarmStartCmdId];
717 socPerfServer_->socPerf.socPerfConfig_.perfActionsInfo_[appColdStartCmdId];
728 …bool ret = socPerfServer_->socPerf.DoPerfRequestThremalLvl(appColdStartCmdId, item, EVENT_INVALID);
732 … ret = socPerfServer_->socPerf.DoPerfRequestThremalLvl(appColdStartCmdId, item, EVENT_INVALID);
736 … ret = socPerfServer_->socPerf.DoPerfRequestThremalLvl(appColdStartCmdId, item, EVENT_INVALID);
751 … std::shared_ptr<SocPerfThreadWrap> socPerfThreadWrap = socPerfServer_->socPerf.socperfThreadWrap_;