Home
last modified time | relevance | path

Searched refs:argList_ (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/base/powermgr/power_manager/utils/shell/src/
H A Dpower_shell_command.cpp183 bool enabled = argList_[0][0] - '0'; in RunAsForceTimeOutCommand()
195 auto parameterCount = argList_.size(); in RunAsTimeOutScreenLockCommand()
202 bool enableLockScreen = argList_[0][0] - '0'; in RunAsTimeOutScreenLockCommand()
203 bool checkScreenOnLock = argList_[1][0] - '0'; in RunAsTimeOutScreenLockCommand()
208 bool sendScreenOffEvent = argList_[2][0] - '0'; in RunAsTimeOutScreenLockCommand()
247 if (argList_.empty()) { in RunAsSetModeCommand()
255 resultReceiver_.append(argList_[0]); in RunAsSetModeCommand()
331 if (!argList_.empty()) { in RunAsHibernateCommand()
332 if (strcmp(argList_[0].c_str(), "false") == 0) { in RunAsHibernateCommand()
334 } else if (strcmp(argList_[0].c_str(), "true") == 0) { in RunAsHibernateCommand()
[all …]
/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/
H A Dability_tool_command.cpp199 if (argList_.empty()) { in RunAsForceStop()
204 std::string bundleName = argList_[0]; in RunAsForceStop()
477 …bool isOption = (argList_[argListIndex - 1] == "-o" || argList_[argListIndex - 1] == "--options") … in GetKeyAndValueByOpt()
480 if (keyIndex >= static_cast<int>(argList_.size()) || keyIndex < 0 || in GetKeyAndValueByOpt()
481 valueIndex >= static_cast<int>(argList_.size()) || valueIndex < 0) { in GetKeyAndValueByOpt()
488 key = argList_[keyIndex]; in GetKeyAndValueByOpt()
489 value = argList_[valueIndex]; in GetKeyAndValueByOpt()
H A Dability_command.cpp301 for (auto it = argList_.begin(); it != argList_.end(); it++) { in RunAsDumpsysCommand()
311 if (it + 1 == argList_.end()) { in RunAsDumpsysCommand()
527 if (argList_.empty()) { in RunAsForceStop()
531 std::string bundleName = argList_[0]; in RunAsForceStop()
1229 if (argList_.empty()) { in RunForceTimeoutForTest()
1235 if (argList_.size() == NUMBER_ONE && argList_[0] == HELP_MSG_FORCE_TIMEOUT_CLEAN) { in RunForceTimeoutForTest()
1237 result = AbilityManagerClient::GetInstance()->ForceTimeoutForTest(argList_[0], ""); in RunForceTimeoutForTest()
1238 } else if (argList_.size() == NUMBER_TWO) { in RunForceTimeoutForTest()
1239 … TAG_LOGI(AAFwkTag::AA_TOOL, "Ability name : %{public}s, state: %{public}s", argList_[0].c_str(), in RunForceTimeoutForTest()
1240 argList_[1].c_str()); in RunForceTimeoutForTest()
[all …]
H A Dshell_command.cpp37 argList_.push_back(argv[i]); in ShellCommand()
/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/src/
H A Dbundle_command.cpp277 if (argList_[index - INDEX_OFFSET] == "-r" || argList_[index - INDEX_OFFSET] == "--replace" || in IsInstallOption()
278argList_[index - INDEX_OFFSET] == "-p" || argList_[index - INDEX_OFFSET] == "--bundle-path" || in IsInstallOption()
279 argList_[index - INDEX_OFFSET] == "-u" || argList_[index - INDEX_OFFSET] == "--user-id" || in IsInstallOption()
280argList_[index - INDEX_OFFSET] == "-w" || argList_[index - INDEX_OFFSET] == "--waitting-time" || in IsInstallOption()
281argList_[index - INDEX_OFFSET] == "-s" || argList_[index - INDEX_OFFSET] == "--shared-bundle-dir-p… in IsInstallOption()
1667 … if (argList_[index - INDEX_OFFSET] == "-q" || argList_[index - INDEX_OFFSET] == "--query" || in RunAsQuickFixCommand()
1668argList_[index - INDEX_OFFSET] == "-b" || argList_[index - INDEX_OFFSET] == "--bundle-name" || in RunAsQuickFixCommand()
1669argList_[index - INDEX_OFFSET] == "-a" || argList_[index - INDEX_OFFSET] == "--apply" || in RunAsQuickFixCommand()
1670argList_[index - INDEX_OFFSET] == "-f" || argList_[index - INDEX_OFFSET] == "--file-path") { in RunAsQuickFixCommand()
1672 …} else if (argList_[index - INDEX_OFFSET] == "-d" || argList_[index - INDEX_OFFSET] == "--debug") { in RunAsQuickFixCommand()
[all …]
H A Dshell_command.cpp37 argList_.push_back(argv[i]); in ShellCommand()
H A Dbundle_test_tool.cpp3081 … if (argList_[index - INDEX_OFFSET] == "-p" || argList_[index - INDEX_OFFSET] == "--patch-path") { in GetQuickFixPath()
3085 std::string innerPath = argList_[index - INDEX_OFFSET]; in GetQuickFixPath()
/ohos5.0/base/notification/common_event_service/tools/cem/include/
H A Dshell_command.h78 std::vector<std::string> argList_; variable
/ohos5.0/base/customization/enterprise_device_management/tools/edm/include/
H A Dshell_command.h48 std::vector<std::string> argList_; variable
/ohos5.0/base/notification/common_event_service/tools/cem/src/
H A Dshell_command.cpp38 argList_.emplace_back(argv[i]); in ShellCommand()
/ohos5.0/foundation/deviceprofile/device_info_manager/old/tools/dp/include/
H A Dshell_command.h53 std::vector<std::string> argList_; variable
/ohos5.0/base/notification/distributed_notification_service/tools/dump/include/
H A Dshell_command.h103 std::vector<std::string> argList_; variable
/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/include/
H A Dshell_command.h56 std::vector<std::string> argList_; variable
/ohos5.0/foundation/ability/ability_runtime/tools/aa/include/
H A Dshell_command.h57 std::vector<std::string> argList_; variable
/ohos5.0/base/security/access_token/tools/accesstoken/include/
H A Datm_command.h61 std::vector<std::string> argList_; variable
/ohos5.0/foundation/deviceprofile/device_info_manager/old/tools/dp/src/
H A Dshell_command.cpp48 argList_.push_back(argv[i]); in ShellCommand()
/ohos5.0/base/notification/distributed_notification_service/tools/dump/src/
H A Dshell_command.cpp35 argList_.push_back(argv[i]); in ShellCommand()
/ohos5.0/base/account/os_account/tools/acm/include/
H A Daccount_command.h153 std::vector<std::string> argList_; variable
/ohos5.0/base/security/access_token/tools/accesstoken/src/
H A Datm_command.cpp131 argList_.push_back(argv[i]); in AtmCommand()
/ohos5.0/base/account/os_account/tools/acm/src/
H A Daccount_command.cpp66 argList_.push_back(argv[i]); in AccountCommand()