Lines Matching refs:string
26 const std::string TOOL_NAME = "bm";
28 const std::string HELP_MSG = "usage: bm <command> <options>\n"
43 const std::string ENABLE_DISABLE_HELP_MSG = " enable enable the bundle\n"
46 const std::string CLEAN_HELP_MSG = " clean clean the bundle data\n";
48 const std::string HELP_MSG_COMPILE =
56 const std::string HELP_MSG_COPY_AP =
63 const std::string HELP_MSG_INSTALL =
78 const std::string HELP_MSG_UNINSTALL =
88 const std::string HELP_MSG_UNINSTALL_SHARE =
95 const std::string HELP_MSG_DUMP =
104 const std::string HELP_MSG_CLEAN =
113 const std::string HELP_MSG_ENABLE =
120 const std::string HELP_MSG_DISABLE =
127 const std::string HELP_MSG_GET =
133 const std::string HELP_MSG_QUICK_FIX =
147 const std::string HELP_MSG_OVERLAY =
155 const std::string HELP_MSG_OVERLAY_TARGET =
162 const std::string HELP_MSG_DUMP_SHARED =
170 const std::string HELP_MSG_DUMP_SHARED_DEPENDENCIES =
178 const std::string STRING_INCORRECT_OPTION = "error: incorrect option";
179 const std::string HELP_MSG_NO_BUNDLE_PATH_OPTION =
182 const std::string HELP_MSG_NO_BUNDLE_NAME_OPTION =
185 const std::string STRING_INSTALL_BUNDLE_OK = "install bundle successfully.";
186 const std::string STRING_INSTALL_BUNDLE_NG = "error: failed to install bundle.";
188 const std::string STRING_UNINSTALL_BUNDLE_OK = "uninstall bundle successfully.";
189 const std::string STRING_UNINSTALL_BUNDLE_NG = "error: failed to uninstall bundle.";
191 const std::string HELP_MSG_NO_DATA_OR_CACHE_OPTION =
193 const std::string STRING_CLEAN_CACHE_BUNDLE_OK = "clean bundle cache files successfully.";
194 const std::string STRING_CLEAN_CACHE_BUNDLE_NG = "error: failed to clean bundle cache files.";
196 const std::string STRING_CLEAN_DATA_BUNDLE_OK = "clean bundle data files successfully.";
197 const std::string STRING_CLEAN_DATA_BUNDLE_NG = "error: failed to clean bundle data files.";
199 const std::string STRING_ENABLE_BUNDLE_OK = "enable bundle successfully.";
200 const std::string STRING_ENABLE_BUNDLE_NG = "error: failed to enable bundle.";
202 const std::string STRING_DISABLE_BUNDLE_OK = "disable bundle successfully.";
203 const std::string STRING_DISABLE_BUNDLE_NG = "error: failed to disable bundle.";
205 const std::string STRING_GET_UDID_OK = "udid of current device is :";
206 const std::string STRING_GET_UDID_NG = "error: failed to get udid";
208 const std::string HELP_MSG_NO_REMOVABLE_OPTION =
212 const std::string HELP_MSG_DUMP_FAILED = "error: failed to get information and the parameters may b…
213 const std::string HELP_MSG_COMPILE_FAILED = "error: failed to get information and the parameters ma…
214 const std::string STRING_REQUIRE_CORRECT_VALUE = "error: option requires a correct value.\n";
216 const std::string STRING_DUMP_OVERLAY_OK = "overlay info is:";
217 const std::string STRING_DUMP_OVERLAY_NG = "error: failed to get overlay info";
219 const std::string STRING_DUMP_TARGET_OVERLAY_OK = "target overlay info is:";
220 const std::string STRING_DUMP_TARGET_OVERLAY_NG = "error: failed to get target overlay info";
221 const std::string MSG_ERR_BUNDLEMANAGER_OVERLAY_FEATURE_IS_NOT_SUPPORTED = "feature is not supporte…
222 const std::string COMPILE_SUCCESS_OK = "compile AOT success.\n";
223 const std::string COMPILE_RESET = "reset AOT success.\n";
224 const std::string WARNING_USER =
255 std::string CopyAp(const std::string &bundleName, bool isAllBundle) const;
257 std::string CompileProcessAot(
258 const std::string &bundleName, const std::string &compileMode, bool isAllBundle) const;
259 std::string CompileReset(const std::string &bundleName, bool isAllBundle) const;
261 std::string DumpBundleList(int32_t userId) const;
262 std::string DumpBundleInfo(const std::string &bundleName, int32_t userId) const;
263 std::string DumpShortcutInfos(const std::string &bundleName, int32_t userId) const;
264 … std::string DumpDistributedBundleInfo(const std::string &deviceId, const std::string &bundleName);
265 …std::string DumpDependentModuleNames(const std::string &bundleName, const std::string &moduleName)…
266 …std::string DumpSharedDependencies(const std::string &bundleName, const std::string &moduleName) c…
267 std::string DumpShared(const std::string &bundleName) const;
268 std::string DumpSharedAll() const;
270 … int32_t InstallOperation(const std::vector<std::string> &bundlePaths, InstallParam &installParam,
271 int32_t waittingTime, std::string &resultMsg) const;
272 int32_t UninstallOperation(const std::string &bundleName, const std::string &moduleName,
275 std::string GetUdid() const;
277 … void GetAbsPaths(const std::vector<std::string> &paths, std::vector<std::string> &absPaths) const;
279 ErrCode GetBundlePath(const std::string& param, std::vector<std::string>& bundlePaths) const;
281 …bool CleanBundleCacheFilesOperation(const std::string &bundleName, int32_t userId, int32_t appInde…
282 …bool CleanBundleDataFilesOperation(const std::string &bundleName, int32_t userId, int32_t appIndex…
285 std::string DumpOverlayInfo(const std::string &bundleName, const std::string &moduleName,
286 const std::string &targetModuleName, int32_t userId);
287 …std::string DumpTargetOverlayInfo(const std::string &bundleName, const std::string &moduleName, in…
288 …ErrCode ParseSharedDependenciesCommand(int32_t option, std::string &bundleName, std::string &modul…
289 ErrCode ParseSharedCommand(int32_t option, std::string &bundleName, bool &dumpSharedAll);
290 ErrCode ParseCopyApCommand(int32_t option, std::string &bundleName, bool &isAllBundle);
291 ErrCode DeployQuickFixDisable(const std::vector<std::string> &quickFixFiles,
292 … std::shared_ptr<QuickFixResult> &quickFixRes, bool isDebug, const std::string &targetPath) const;
293 …ErrCode DeleteQuickFix(const std::string &bundleName, std::shared_ptr<QuickFixResult> &quickFixRes…
294 std::string GetWaringString(int32_t currentUserId, int32_t specifedUserId) const;