Home
last modified time | relevance | path

Searched refs:argsInStr (Results 1 - 25 of 45) sorted by relevance

12

/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulerstartwork_fuzzer/
H A Dworkschedulerstartwork_fuzzer.cpp70 std::vector<std::string> argsInStr; in OnStorageChange() local
73 argsInStr.clear(); in OnStorageChange()
75 argsInStr.push_back("-d"); in OnStorageChange()
76 argsInStr.push_back("storage"); in OnStorageChange()
77 argsInStr.push_back("invalid"); in OnStorageChange()
78 workSchedulerService_->DumpProcessForEngMode(argsInStr, result); in OnStorageChange()
80 argsInStr.clear(); in OnStorageChange()
82 argsInStr.push_back("-d"); in OnStorageChange()
83 argsInStr.push_back("storage"); in OnStorageChange()
84 argsInStr in OnStorageChange()
97 std::vector<std::string> argsInStr; OnNetworkChange() local
124 std::vector<std::string> argsInStr; OnChargingChange() local
158 std::vector<std::string> argsInStr; OnBatteryStatusChange() local
178 std::vector<std::string> argsInStr; OnTimerChange() local
311 std::vector<std::string> argsInStr; TriggerWork() local
[all...]
/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulerstopandclearworks_fuzzer/
H A Dworkschedulerstopandclearworks_fuzzer.cpp37 std::vector<std::string> argsInStr; in TirggerBatteryStatusListener() local
45 argsInStr.clear(); in TirggerBatteryStatusListener()
47 argsInStr.push_back("-d"); in TirggerBatteryStatusListener()
48 argsInStr.push_back("batteryStatus"); in TirggerBatteryStatusListener()
49 argsInStr.push_back("ok"); in TirggerBatteryStatusListener()
50 workSchedulerService_->DumpProcessForEngMode(argsInStr, result); in TirggerBatteryStatusListener()
55 std::vector<std::string> argsInStr; in TirggerStorageLevelListener() local
63 argsInStr.clear(); in TirggerStorageLevelListener()
65 argsInStr.push_back("-d"); in TirggerStorageLevelListener()
66 argsInStr in TirggerStorageLevelListener()
73 std::vector<std::string> argsInStr; TirggerChargerListener() local
91 std::vector<std::string> argsInStr; TirggerNetworkListener() local
109 std::vector<std::string> argsInStr; ShowTaskStatusInfo() local
[all...]
/foundation/resourceschedule/work_scheduler/services/test/src/
H A Dworkschedulerservice_test.cpp300 std::vector<std::string> argsInStr; in HWTEST_F() local
301 argsInStr.push_back("-k"); in HWTEST_F()
302 argsInStr.push_back("settings.power.suspend_sources"); in HWTEST_F()
304 workSchedulerService_->DumpProcessForEngMode(argsInStr, result); in HWTEST_F()
349 std::vector<std::string> argsInStr; in HWTEST_F() local
351 workSchedulerService_->DumpProcessForEngMode(argsInStr, result); in HWTEST_F()
354 argsInStr.clear(); in HWTEST_F()
356 argsInStr.push_back("-h"); in HWTEST_F()
357 workSchedulerService_->DumpProcessForEngMode(argsInStr, result); in HWTEST_F()
361 argsInStr in HWTEST_F()
392 std::vector<std::string> argsInStr; HWTEST_F() local
419 std::vector<std::string> argsInStr; HWTEST_F() local
453 std::vector<std::string> argsInStr; HWTEST_F() local
483 std::vector<std::string> argsInStr; HWTEST_F() local
502 std::vector<std::string> argsInStr; HWTEST_F() local
548 std::vector<std::string> argsInStr; HWTEST_F() local
594 std::vector<std::string> argsInStr; HWTEST_F() local
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched_executor/services/resschedexeservice/src/
H A Dres_sched_exe_service.cpp77 std::vector<std::string> argsInStr; in Dump() local
78 std::transform(args.begin(), args.end(), std::back_inserter(argsInStr), in Dump()
85 if (argsInStr.size() == 0) { in Dump()
88 } else if (argsInStr.size() == DUMP_OPTION + 1) { in Dump()
90 if (argsInStr[DUMP_OPTION] == "-h") { in Dump()
92 } else if (argsInStr[DUMP_OPTION] == "-a") { in Dump()
94 } else if (argsInStr[DUMP_OPTION] == "-p") { in Dump()
99 } else if (argsInStr.size() >= DUMP_PARAM_INDEX + 1) { in Dump()
100 if (argsInStr[DUMP_OPTION] == "-p") { in Dump()
102 argsInStrToPlugin.assign(argsInStr in Dump()
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedservice/src/
H A Dres_sched_service.cpp149 std::vector<std::string> argsInStr; in Dump() local
150 std::transform(args.begin(), args.end(), std::back_inserter(argsInStr), in Dump()
157 if (argsInStr.size() == 0) { in Dump()
160 } else if (argsInStr.size() == DUMP_OPTION + 1) { in Dump()
162 DumpExt(argsInStr, result); in Dump()
163 } else if (argsInStr.size() >= DUMP_PARAM_INDEX + 1) { in Dump()
164 if (argsInStr[DUMP_OPTION] == "-p") { in Dump()
166 argsInStrToPlugin.assign(argsInStr.begin() + DUMP_PARAM_INDEX + 1, argsInStr.end()); in Dump()
167 PluginMgr::GetInstance().DumpOnePlugin(result, argsInStr[DUMP_PARAM_INDE in Dump()
180 DumpExt(const std::vector<std::string>& argsInStr, std::string &result) DumpExt() argument
[all...]
/foundation/resourceschedule/device_standby/plugins/test/unittest/
H A Dstandby_plugin_unit_test.cpp810 std::vector<std::string> argsInStr {}; in HWTEST_F()
813 argsInStr.insert(argsInStr.begin() + dumpFirstParam, "0"); in HWTEST_F()
814 standbyStateManager_->ShellDump(argsInStr, result); in HWTEST_F()
815 argsInStr.insert(argsInStr.begin() + dumpFirstParam, "-D"); in HWTEST_F()
816 standbyStateManager_->ShellDump(argsInStr, result); in HWTEST_F()
817 argsInStr.insert(argsInStr.begin() + dumpFirstParam, "-E"); in HWTEST_F()
818 standbyStateManager_->ShellDump(argsInStr, resul in HWTEST_F()
[all...]
/foundation/resourceschedule/device_standby/services/core/src/
H A Dstandby_service_impl.cpp1020 void StandbyServiceImpl::DumpOnPowerOverused(const std::vector<std::string> &argsInStr, std::string &result) in DumpOnPowerOverused() argument
1023 if (argsInStr.size() != DUMP_THREE_PARAM) { in DumpOnPowerOverused()
1028 const std::string &module = argsInStr[DUMP_SECOND_PARAM]; in DumpOnPowerOverused()
1029 uint32_t level = static_cast<uint32_t>(std::atoi(argsInStr[DUMP_THIRD_PARAM].c_str())); in DumpOnPowerOverused()
1204 void StandbyServiceImpl::ShellDump(const std::vector<std::string>& argsInStr, in ShellDump() argument
1211 handler_->PostSyncTask([this, &argsInStr, &result]() { in ShellDump()
1212 this->ShellDumpInner(argsInStr, result); in ShellDump()
1216 void StandbyServiceImpl::ShellDumpInner(const std::vector<std::string>& argsInStr, in ShellDumpInner() argument
1219 auto argc = argsInStr.size(); in ShellDumpInner()
1220 if (argc == NO_DUMP_PARAM_NUMS || argsInStr[DUMP_FIRST_PARA in ShellDumpInner()
1246 OnPluginShellDump(const std::vector<std::string>& argsInStr, std::string& result) OnPluginShellDump() argument
1290 DumpShowDetailInfo(const std::vector<std::string>& argsInStr, std::string& result) DumpShowDetailInfo() argument
1342 DumpEnterSpecifiedState(const std::vector<std::string>& argsInStr, std::string& result) DumpEnterSpecifiedState() argument
1353 DumpModifyAllowList(const std::vector<std::string>& argsInStr, std::string& result) DumpModifyAllowList() argument
1395 DumpTurnOnOffSwitch(const std::vector<std::string>& argsInStr, std::string& result) DumpTurnOnOffSwitch() argument
1423 DumpChangeConfigParam(const std::vector<std::string>& argsInStr, std::string& result) DumpChangeConfigParam() argument
1437 DumpPushStrategyChange(const std::vector<std::string>& argsInStr, std::string& result) DumpPushStrategyChange() argument
1441 std::atoi(argsInStr[DUMP_THIRD_PARAM].c_str()), argsInStr[DUMP_FOURTH_PARAM], DumpPushStrategyChange() local
1442 std::atoi(argsInStr[DUMP_FIFTH_PARAM].c_str()), argsInStr[DUMP_SIXTH_PARAM] == "true"); DumpPushStrategyChange() local
1447 DumpSubScriberObserver(const std::vector<std::string>& argsInStr, std::string& result) DumpSubScriberObserver() argument
[all...]
/foundation/resourceschedule/device_standby/plugins/standby_state/src/
H A Dstate_manager_adapter.cpp342 void StateManagerAdapter::ShellDump(const std::vector<std::string>& argsInStr, std::string& result) in ShellDump() argument
344 if (argsInStr[DUMP_FIRST_PARAM] == DUMP_DETAIL_INFO) { in ShellDump()
345 DumpShowDetailInfo(argsInStr, result); in ShellDump()
346 if (argsInStr[DUMP_SECOND_PARAM] == DUMP_RESET_STATE) { in ShellDump()
347 DumpResetState(argsInStr, result); in ShellDump()
349 } else if (argsInStr[DUMP_FIRST_PARAM] == DUMP_ENTER_STATE) { in ShellDump()
350 DumpEnterSpecifiedState(argsInStr, result); in ShellDump()
351 } else if (argsInStr[DUMP_FIRST_PARAM] == DUMP_SIMULATE_SENSOR) { in ShellDump()
352 DumpActivateMotion(argsInStr, result); in ShellDump()
354 curStatePtr_->ShellDump(argsInStr, resul in ShellDump()
357 DumpShowDetailInfo(const std::vector<std::string>& argsInStr, std::string& result) DumpShowDetailInfo() argument
377 DumpResetState(const std::vector<std::string>& argsInStr, std::string& result) DumpResetState() argument
384 DumpEnterSpecifiedState(const std::vector<std::string>& argsInStr, std::string& result) DumpEnterSpecifiedState() argument
399 DumpActivateMotion(const std::vector<std::string>& argsInStr, std::string& result) DumpActivateMotion() argument
[all...]
H A Dsleep_state.cpp190 void SleepState::ShellDump(const std::vector<std::string>& argsInStr, std::string& result) in ShellDump() argument
192 if (argsInStr[DUMP_FIRST_PARAM] == DUMP_SIMULATE_SENSOR) { in ShellDump()
193 if (argsInStr[DUMP_SECOND_PARAM] == "--repeat") { in ShellDump()
/foundation/resourceschedule/device_standby/services/core/include/
H A Dstandby_service_impl.h131 void ShellDump(const std::vector<std::string>& argsInStr, std::string& result);
132 void ShellDumpInner(const std::vector<std::string>& argsInStr, std::string& result);
168 void DumpShowDetailInfo(const std::vector<std::string>& argsInStr, std::string& result);
171 void DumpChangeModeSwitch(const std::vector<std::string>& argsInStr, std::string& result);
172 void DumpEnterSpecifiedState(const std::vector<std::string>& argsInStr, std::string& result);
173 void DumpModifyAllowList(const std::vector<std::string>& argsInStr, std::string& result);
174 void DumpSubScriberObserver(const std::vector<std::string>& argsInStr, std::string& result);
176 void DumpTurnOnOffSwitch(const std::vector<std::string>& argsInStr, std::string& result);
177 void DumpChangeConfigParam(const std::vector<std::string>& argsInStr, std::string& result);
178 void DumpPushStrategyChange(const std::vector<std::string>& argsInStr, st
[all...]
/foundation/resourceschedule/device_standby/plugins/standby_state/include/
H A Dstate_manager_adapter.h43 void ShellDump(const std::vector<std::string>& argsInStr, std::string& result) override;
56 void DumpShowDetailInfo(const std::vector<std::string>& argsInStr, std::string& result);
57 void DumpEnterSpecifiedState(const std::vector<std::string>& argsInStr, std::string& result);
58 void DumpActivateMotion(const std::vector<std::string>& argsInStr, std::string& result);
59 void DumpResetState(const std::vector<std::string>& argsInStr, std::string& result);
/foundation/resourceschedule/background_task_mgr/services/core/src/
H A Dbackground_task_mgr_service.cpp299 std::vector<std::string> argsInStr; in Dump() local
300 std::transform(args.begin(), args.end(), std::back_inserter(argsInStr), in Dump()
308 if (argsInStr.size() == NO_DUMP_PARAM_NUMS) { in Dump()
312 if (argsInStr[0] == "-h") { in Dump()
314 } else if (argsInStr[0] == "-T") { in Dump()
315 ret = DelayedSingleton<BgTransientTaskMgr>::GetInstance()->ShellDump(argsInStr, infos); in Dump()
316 } else if (argsInStr[0] == "-C") { in Dump()
317 ret = BgContinuousTaskMgr::GetInstance()->ShellDump(argsInStr, infos); in Dump()
318 } else if (argsInStr[0] == "-E") { in Dump()
319 ret = DelayedSingleton<BgEfficiencyResourcesMgr>::GetInstance()->ShellDump(argsInStr, info in Dump()
[all...]
/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_scheduler_service.cpp818 void WorkSchedulerService::DumpProcessForEngMode(std::vector<std::string> &argsInStr, std::string &result) in DumpProcessForEngMode() argument
820 switch (argsInStr.size()) { in DumpProcessForEngMode()
827 if (argsInStr[DUMP_OPTION] == "-h") { in DumpProcessForEngMode()
829 } else if (argsInStr[DUMP_OPTION] == "-a") { in DumpProcessForEngMode()
836 if (argsInStr[DUMP_OPTION] == "-k") { in DumpProcessForEngMode()
837 string key = argsInStr[DUMP_PARAM_INDEX]; in DumpProcessForEngMode()
843 DumpParamSet(argsInStr[DUMP_OPTION], argsInStr[DUMP_PARAM_INDEX], result); in DumpProcessForEngMode()
846 if (argsInStr[DUMP_OPTION] == "-d") { in DumpProcessForEngMode()
848 eventPublisher.Dump(result, argsInStr[DUMP_PARAM_INDE in DumpProcessForEngMode()
879 std::vector<std::string> argsInStr; Dump() local
899 DumpProcessForUserMode(std::vector<std::string> &argsInStr, std::string &result) DumpProcessForUserMode() argument
[all...]
/foundation/resourceschedule/device_standby/plugins/strategy/src/
H A Dnetwork_strategy.cpp123 void NetworkStrategy::ShellDump(const std::vector<std::string>& argsInStr, std::string& result) in ShellDump() argument
125 if (argsInStr[DUMP_FIRST_PARAM] == DUMP_DETAIL_INFO && in ShellDump()
126 argsInStr[DUMP_SECOND_PARAM] == DUMP_STRATGY_DETAIL) { in ShellDump()
128 BaseNetworkStrategy::ShellDump(argsInStr, result); in ShellDump()
H A Dstrategy_manager_adapter.cpp89 void StrategyManagerAdapter::ShellDump(const std::vector<std::string>& argsInStr, std::string& result) in ShellDump() argument
92 strategy->ShellDump(argsInStr, result); in ShellDump()
H A Dtimer_strategy.cpp37 void TimerStrategy::ShellDump(const std::vector<std::string>& argsInStr, std::string& result) in ShellDump() argument
/foundation/resourceschedule/device_standby/plugins/strategy/include/
H A Dtimer_strategy.h27 void ShellDump(const std::vector<std::string>& argsInStr, std::string& result) override;
H A Drunning_lock_strategy.h59 void ShellDump(const std::vector<std::string>& argsInStr, std::string& result) override;
107 void DumpShowDetailInfo(const std::vector<std::string>& argsInStr, std::string& result);
H A Dnetwork_strategy.h27 void ShellDump(const std::vector<std::string>& argsInStr, std::string& result) override;
H A Dstrategy_manager_adapter.h32 void ShellDump(const std::vector<std::string>& argsInStr, std::string& result) override;
/foundation/resourceschedule/soc_perf/services/server/src/
H A Dsocperf_server.cpp74 std::vector<std::string> argsInStr; in Dump() local
75 std::transform(args.begin(), args.end(), std::back_inserter(argsInStr), in Dump()
/foundation/resourceschedule/device_standby/plugins/ext/include/
H A Dilistener_manager_adapter.h36 virtual void ShellDump(const std::vector<std::string>& argsInStr, std::string& result) = 0;
H A Distrategy_manager_adapter.h34 virtual void ShellDump(const std::vector<std::string>& argsInStr, std::string& result) = 0;
/foundation/resourceschedule/device_standby/plugins/message_listener/include/
H A Dlistener_manager_adapter.h32 void ShellDump(const std::vector<std::string>& argsInStr, std::string& result) override;
/foundation/resourceschedule/device_standby/plugins/extend_constraints/include/
H A Dconstraint_manager_adapter.h37 void ShellDump(const std::vector<std::string>& argsInStr, std::string& result) override;

Completed in 13 milliseconds

12