/ohos5.0/base/powermgr/power_manager/utils/shell/src/ |
H A D | power_shell_command.cpp | 183 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 D | ability_tool_command.cpp | 199 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 D | ability_command.cpp | 301 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 D | shell_command.cpp | 37 argList_.push_back(argv[i]); in ShellCommand()
|
/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/src/ |
H A D | bundle_command.cpp | 277 if (argList_[index - INDEX_OFFSET] == "-r" || argList_[index - INDEX_OFFSET] == "--replace" || in IsInstallOption() 278 … argList_[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() 280 … argList_[index - INDEX_OFFSET] == "-w" || argList_[index - INDEX_OFFSET] == "--waitting-time" || in IsInstallOption() 281 …argList_[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() 1668 … argList_[index - INDEX_OFFSET] == "-b" || argList_[index - INDEX_OFFSET] == "--bundle-name" || in RunAsQuickFixCommand() 1669 … argList_[index - INDEX_OFFSET] == "-a" || argList_[index - INDEX_OFFSET] == "--apply" || in RunAsQuickFixCommand() 1670 … argList_[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 D | shell_command.cpp | 37 argList_.push_back(argv[i]); in ShellCommand()
|
H A D | bundle_test_tool.cpp | 3081 … 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 D | shell_command.h | 78 std::vector<std::string> argList_; variable
|
/ohos5.0/base/customization/enterprise_device_management/tools/edm/include/ |
H A D | shell_command.h | 48 std::vector<std::string> argList_; variable
|
/ohos5.0/base/notification/common_event_service/tools/cem/src/ |
H A D | shell_command.cpp | 38 argList_.emplace_back(argv[i]); in ShellCommand()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/old/tools/dp/include/ |
H A D | shell_command.h | 53 std::vector<std::string> argList_; variable
|
/ohos5.0/base/notification/distributed_notification_service/tools/dump/include/ |
H A D | shell_command.h | 103 std::vector<std::string> argList_; variable
|
/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/include/ |
H A D | shell_command.h | 56 std::vector<std::string> argList_; variable
|
/ohos5.0/foundation/ability/ability_runtime/tools/aa/include/ |
H A D | shell_command.h | 57 std::vector<std::string> argList_; variable
|
/ohos5.0/base/security/access_token/tools/accesstoken/include/ |
H A D | atm_command.h | 61 std::vector<std::string> argList_; variable
|
/ohos5.0/foundation/deviceprofile/device_info_manager/old/tools/dp/src/ |
H A D | shell_command.cpp | 48 argList_.push_back(argv[i]); in ShellCommand()
|
/ohos5.0/base/notification/distributed_notification_service/tools/dump/src/ |
H A D | shell_command.cpp | 35 argList_.push_back(argv[i]); in ShellCommand()
|
/ohos5.0/base/account/os_account/tools/acm/include/ |
H A D | account_command.h | 153 std::vector<std::string> argList_; variable
|
/ohos5.0/base/security/access_token/tools/accesstoken/src/ |
H A D | atm_command.cpp | 131 argList_.push_back(argv[i]); in AtmCommand()
|
/ohos5.0/base/account/os_account/tools/acm/src/ |
H A D | account_command.cpp | 66 argList_.push_back(argv[i]); in AccountCommand()
|