Lines Matching refs:optarg

383                 APP_LOGD("'bm copy-ap %{public}s %{public}s'", argv_[optind - OFFSET_REQUIRED_ARGUMENT], optarg);
384 bundleName = optarg;
461 argv_[optind - OFFSET_REQUIRED_ARGUMENT], optarg, argv_[optind + 1]);
463 compileMode = optarg;
472 bundleName = optarg;
589 if (GetBundlePath(optarg, bundlePath) != OHOS::ERR_OK) {
607 if (!OHOS::StrToInt(optarg, userId) || userId < 0) {
608 APP_LOGE("bm install with error userId %{private}s", optarg);
618 APP_LOGD("'bm install %{public}s %{public}s'", argv_[optind - OFFSET_REQUIRED_ARGUMENT], optarg);
619 if (!OHOS::StrToInt(optarg, waittingTime) || waittingTime < MINIMUM_WAITTING_TIME ||
621 APP_LOGE("bm install with error waittingTime %{private}s", optarg);
630 APP_LOGD("'bm install %{public}s %{public}s'", argv_[optind - OFFSET_REQUIRED_ARGUMENT], optarg);
631 if (GetBundlePath(optarg, sharedBundleDirPaths) != OHOS::ERR_OK) {
827 APP_LOGD("'bm uninstall %{public}s %{public}s'", argv_[optind - OFFSET_REQUIRED_ARGUMENT], optarg);
828 bundleName = optarg;
834 APP_LOGD("'bm uninstall %{public}s %{public}s'", argv_[optind - OFFSET_REQUIRED_ARGUMENT], optarg);
835 moduleName = optarg;
842 if (!OHOS::StrToInt(optarg, userId) || userId < 0) {
843 APP_LOGE("bm uninstall with error userId %{private}s", optarg);
865 APP_LOGD("'bm uninstall %{public}s %{public}s'", argv_[optind - OFFSET_REQUIRED_ARGUMENT], optarg);
866 if (!OHOS::StrToInt(optarg, versionCode) || versionCode < 0) {
867 APP_LOGE("bm uninstall with error versionCode %{private}s", optarg);
1010 APP_LOGD("'bm dump %{public}s %{public}s'", argv_[optind - OFFSET_REQUIRED_ARGUMENT], optarg);
1011 bundleName = optarg;
1018 APP_LOGD("'bm dump %{public}s %{public}s'", argv_[optind - OFFSET_REQUIRED_ARGUMENT], optarg);
1031 APP_LOGD("'bm dump %{public}s %{public}s'", argv_[optind - OFFSET_REQUIRED_ARGUMENT], optarg);
1032 deviceId = optarg;
1169 APP_LOGD("'bm clean %{public}s %{public}s'", argv_[optind - OFFSET_REQUIRED_ARGUMENT], optarg);
1170 bundleName = optarg;
1194 if (!OHOS::StrToInt(optarg, appIndex) || (appIndex < 0 || appIndex > INITIAL_SANDBOX_APP_INDEX)) {
1195 APP_LOGE("bm clean with error appIndex %{private}s", optarg);
1332 bundleName = optarg;
1338 abilityName = optarg;
1464 bundleName = optarg;
1470 abilityName = optarg;
1761 bundleName = optarg;
1767 moduleName = optarg;
1773 targetModuleName = optarg;
1888 bundleName = optarg;
1894 moduleName = optarg;
2417 bundleName = optarg;
2423 moduleName = optarg;
2538 bundleName = optarg;