Home
last modified time | relevance | path

Searched refs:ServiceConstants (Results 1 - 25 of 84) sorted by relevance

1234

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dpatch_profile.cpp174 if (name.find(ServiceConstants::RELATIVE_PATH) != std::string::npos) { in CheckNameIsValid()
209 if (patchExtractor.IsDirExist(std::string(ServiceConstants::LIBS) + ServiceConstants::ARM64_V8A)) { in DefaultNativeSo()
210 appqfInfo.cpuAbi = ServiceConstants::ARM64_V8A; in DefaultNativeSo()
211 auto iter = ServiceConstants::ABI_MAP.find(ServiceConstants::ARM64_V8A); in DefaultNativeSo()
212 if (iter != ServiceConstants::ABI_MAP.end()) { in DefaultNativeSo()
213 appqfInfo.nativeLibraryPath = ServiceConstants::LIBS + iter->second; in DefaultNativeSo()
223 if (patchExtractor.IsDirExist(std::string(ServiceConstants::LIBS) + ServiceConstants in DefaultNativeSo()
[all...]
H A Dquick_fix_boot_scanner.cpp158 size_t firstPos = fileStr.rfind(ServiceConstants::PATH_SEPARATOR); in ProcessQuickFixDir()
164 size_t secondPos = fileStr.rfind(ServiceConstants::PATH_SEPARATOR, firstPos - 1); in ProcessQuickFixDir()
189 std::string destinationDir = ServiceConstants::HAP_COPY_PATH; in ReprocessQuickFix()
190 destinationDir += std::string(ServiceConstants::PATH_SEPARATOR) + ServiceConstants::SECURITY_QUICK_FIX_PATH + in ReprocessQuickFix()
191 ServiceConstants::PATH_SEPARATOR + bundleName + ServiceConstants::PATH_SEPARATOR; in ReprocessQuickFix()
280 std::string hapcopypathstring = std::string(ServiceConstants::HAP_COPY_PATH); in RemoveInvalidDir()
281 std::string tempInstallDir = hapcopypathstring + ServiceConstants::PATH_SEPARATOR in RemoveInvalidDir()
282 + ServiceConstants in RemoveInvalidDir()
[all...]
H A Dquick_fix_manager_host_impl.cpp47 !BundlePermissionMgr::VerifyCallingPermissionForAll(ServiceConstants::PERMISSION_INSTALL_QUICK_FIX_BUNDLE)) { in DeployQuickFix()
77 !BundlePermissionMgr::VerifyCallingPermissionForAll(ServiceConstants::PERMISSION_INSTALL_QUICK_FIX_BUNDLE)) { in SwitchQuickFix()
102 !BundlePermissionMgr::VerifyCallingPermissionForAll(ServiceConstants::PERMISSION_UNINSTALL_QUICK_FIX_BUNDLE)) { in DeleteQuickFix()
122 !BundlePermissionMgr::VerifyCallingPermissionForAll(ServiceConstants::PERMISSION_INSTALL_QUICK_FIX_BUNDLE)) { in CreateFd()
126 if (!BundleUtil::CheckFileType(fileName, ServiceConstants::QUICK_FIX_FILE_SUFFIX)) { in CreateFd()
171 std::string prefixStr = std::string(ServiceConstants::HAP_COPY_PATH) + ServiceConstants::PATH_SEPARATOR in CopyHqfToSecurityDir()
172 + ServiceConstants::QUICK_FIX_PATH; in CopyHqfToSecurityDir()
174 if (path.find(ServiceConstants::RELATIVE_PATH) != std::string::npos) { in CopyHqfToSecurityDir()
182 std::string securityPathPrefix = std::string(ServiceConstants in CopyHqfToSecurityDir()
[all...]
H A Dquick_fix_deployer.cpp60 std::string tempPath = path.substr(0, path.rfind(ServiceConstants::PATH_SEPARATOR)); in DeployQuickFix()
86 std::string oldPath = std::string(Constants::BUNDLE_CODE_DIR) + ServiceConstants::PATH_SEPARATOR + in DeployQuickFix()
87 appQuick.bundleName + ServiceConstants::PATH_SEPARATOR; in DeployQuickFix()
89 oldPath += ServiceConstants::HOT_RELOAD_PATH + std::to_string(appQuick.deployingAppqfInfo.versionCode); in DeployQuickFix()
91 oldPath += ServiceConstants::PATCH_PATH + std::to_string(appQuick.deployingAppqfInfo.versionCode); in DeployQuickFix()
319 std::string soPath = patchPath + ServiceConstants::PATH_SEPARATOR + libraryPath; in ProcessNativeLibraryPath()
328 nativeLibraryPath = PATCH_DIR + targetPath_ + ServiceConstants::PATH_SEPARATOR + libraryPath; in ProcessNativeLibraryPath()
331 ServiceConstants::PATCH_PATH + std::to_string(appQuickFix.deployingAppqfInfo.versionCode) + in ProcessNativeLibraryPath()
332 ServiceConstants::PATH_SEPARATOR + libraryPath; in ProcessNativeLibraryPath()
344 patchPath = std::string(Constants::BUNDLE_CODE_DIR) + ServiceConstants in ProcessPatchDeployEnd()
[all...]
H A Dquick_fix_deleter.cpp119 std::string patchPath = std::string(Constants::BUNDLE_CODE_DIR) + ServiceConstants::PATH_SEPARATOR + in InnerDeletePatchDir()
120 bundleName + ServiceConstants::PATH_SEPARATOR; in InnerDeletePatchDir()
123 appqfInfo.nativeLibraryPath.find(ServiceConstants::PATH_SEPARATOR)) == PATCH_DIR) { in InnerDeletePatchDir()
126 patchPath += ServiceConstants::PATCH_PATH + std::to_string(appqfInfo.versionCode); in InnerDeletePatchDir()
130 patchPath += ServiceConstants::HOT_RELOAD_PATH + std::to_string(appqfInfo.versionCode); in InnerDeletePatchDir()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_stream_installer_host_impl.cpp100 !BundlePermissionMgr::VerifyCallingPermissionForAll(ServiceConstants::PERMISSION_INSTALL_ENTERPRISE_BUNDLE) && in CreateStream()
102 ServiceConstants::PERMISSION_INSTALL_ENTERPRISE_NORMAL_BUNDLE) && in CreateStream()
104 ServiceConstants::PERMISSION_INSTALL_ENTERPRISE_MDM_BUNDLE) && in CreateStream()
106 ServiceConstants::PERMISSION_INSTALL_INTERNALTESTING_BUNDLE) && in CreateStream()
107 !BundlePermissionMgr::VerifyCallingPermissionForAll(ServiceConstants::PERMISSION_INSTALL_SELF_BUNDLE) && in CreateStream()
108 !BundlePermissionMgr::VerifyCallingPermissionForAll(ServiceConstants::PERMISSION_INSTALL_SANDBOX_BUNDLE) && in CreateStream()
109 !BundlePermissionMgr::VerifyCallingPermissionForAll(ServiceConstants::PERMISSION_INSTALL_QUICK_FIX_BUNDLE)) { in CreateStream()
120 if (!BundleUtil::CheckFileType(fileName, ServiceConstants::INSTALL_FILE_SUFFIX) && in CreateStream()
121 !BundleUtil::CheckFileType(fileName, ServiceConstants::HSP_FILE_SUFFIX)) { in CreateStream()
152 !BundlePermissionMgr::VerifyCallingPermissionForAll(ServiceConstants in CreateSignatureFileStream()
[all...]
H A Duser_unlocked_event_subscriber.cpp95 if (fileStat.gid != ServiceConstants::DATABASE_DIR_GID) { in CheckPathAttribute()
97 path.c_str(), static_cast<int32_t>(fileStat.gid), ServiceConstants::DATABASE_DIR_GID); in CheckPathAttribute()
110 std::string baseBundleDataDir = ServiceConstants::BUNDLE_APP_DATA_BASE_DIR + elDir + in CreateBundleDataDir()
111 ServiceConstants::PATH_SEPARATOR + std::to_string(userId) + ServiceConstants::DATABASE + bundleInfo.name; in CreateBundleDataDir()
128 if (elDir != ServiceConstants::BUNDLE_EL[0]) { in CreateBundleDataDir()
131 if (elDir == ServiceConstants::DIR_EL5) { in CreateBundleDataDir()
170 std::string parentDir = std::string(ServiceConstants::REAL_DATA_PATH) + ServiceConstants::PATH_SEPARATOR in CreateDataGroupDir()
177 std::string dir = parentDir + ServiceConstants in CreateDataGroupDir()
[all...]
H A Del5_filekey_callback.cpp63 std::string parentDir = std::string(ServiceConstants::SCREEN_LOCK_FILE_DATA_PATH) + in CheckEl5Dir()
64 ServiceConstants::PATH_SEPARATOR + std::to_string(info.userId) + ServiceConstants::BASE; in CheckEl5Dir()
87 std::string databaseDir = std::string(ServiceConstants::SCREEN_LOCK_FILE_DATA_PATH) + in CheckEl5Dir()
88 ServiceConstants::PATH_SEPARATOR + std::to_string(info.userId) + ServiceConstants::DATABASE + info.bundleName; in CheckEl5Dir()
90 int32_t gid = ServiceConstants::DATABASE_DIR_GID; in CheckEl5Dir()
H A Dbundle_installer_host.cpp158 if (size > ServiceConstants::MAX_HAP_NUMBER) { in HandleInstallMultipleHapsMessage()
354 !BundlePermissionMgr::VerifyCallingBundleSdkVersion(ServiceConstants::API_VERSION_NINE)) { in Install()
361 !BundlePermissionMgr::VerifyCallingPermissionForAll(ServiceConstants::PERMISSION_INSTALL_ENTERPRISE_BUNDLE) && in Install()
363 ServiceConstants::PERMISSION_INSTALL_ENTERPRISE_NORMAL_BUNDLE) && in Install()
365 ServiceConstants::PERMISSION_INSTALL_ENTERPRISE_MDM_BUNDLE) && in Install()
367 ServiceConstants::PERMISSION_INSTALL_INTERNALTESTING_BUNDLE)) { in Install()
385 !BundlePermissionMgr::VerifyCallingBundleSdkVersion(ServiceConstants::API_VERSION_NINE)) { in Install()
392 !BundlePermissionMgr::VerifyCallingPermissionForAll(ServiceConstants::PERMISSION_INSTALL_ENTERPRISE_BUNDLE) && in Install()
394 ServiceConstants::PERMISSION_INSTALL_ENTERPRISE_NORMAL_BUNDLE) && in Install()
396 ServiceConstants in Install()
[all...]
H A Dbundle_util.cpp77 if (!CheckFileType(bundlePath, ServiceConstants::INSTALL_FILE_SUFFIX) && in CheckFilePath()
78 !CheckFileType(bundlePath, ServiceConstants::HSP_FILE_SUFFIX) && in CheckFilePath()
79 !CheckFileType(bundlePath, ServiceConstants::QUICK_FIX_FILE_SUFFIX) && in CheckFilePath()
80 !CheckFileType(bundlePath, ServiceConstants::CODE_SIGNATURE_FILE_SUFFIX)) { in CheckFilePath()
169 if (fileName.size() > ServiceConstants::PATH_MAX_SIZE) { in CheckFileName()
247 if (bundlePath.back() != ServiceConstants::FILE_SEPARATOR_CHAR) { in GetHapFilesFromBundlePath()
248 bundlePath.append(ServiceConstants::PATH_SEPARATOR); in GetHapFilesFromBundlePath()
265 if (!hapFileList.empty() && (hapFileList.size() > ServiceConstants::MAX_HAP_NUMBER)) { in GetHapFilesFromBundlePath()
348 std::string bundleDir = configPath + ServiceConstants::PATH_SEPARATOR + bundleName; in MakeFsConfig()
363 realBundleDir += (std::string(ServiceConstants in MakeFsConfig()
[all...]
H A Dmodule_profile.cpp1573 if (moduleName.find(ServiceConstants::RELATIVE_PATH) != std::string::npos) { in CheckModuleNameIsValid()
1576 if (moduleName.find(ServiceConstants::MODULE_NAME_SEPARATOR) != std::string::npos) { in CheckModuleNameIsValid()
1598 innerBundleInfo.SetModuleNativeLibraryPath(ServiceConstants::LIBS + cpuAbi); in UpdateNativeSoAttrs()
1599 innerBundleInfo.SetSharedModuleNativeLibraryPath(ServiceConstants::LIBS + cpuAbi); in UpdateNativeSoAttrs()
1610 innerBundleInfo.GetCurModuleName() + ServiceConstants::PATH_SEPARATOR + soRelativePath); in UpdateNativeSoAttrs()
1612 innerBundleInfo.GetCurModuleName() + ServiceConstants::PATH_SEPARATOR + soRelativePath); in UpdateNativeSoAttrs()
1623 SplitStr(abis, ServiceConstants::ABI_SEPARATOR, abiList, false, false); in ParserNativeSo()
1630 std::find(abiList.begin(), abiList.end(), ServiceConstants::ABI_DEFAULT) != abiList.end(); in ParserNativeSo()
1631 bool isSystemLib64Exist = BundleUtil::IsExistDir(ServiceConstants::SYSTEM_LIB64); in ParserNativeSo()
1635 bool soExist = bundleExtractor.IsDirExist(ServiceConstants in ParserNativeSo()
[all...]
H A Dbundle_exception_handler.cpp37 ServiceConstants::PATH_SEPARATOR + info.GetBundleName(); in HandleInvalidBundle()
56 if (bundleOrMoudleDir.find(ServiceConstants::HAPS) != std::string::npos) { in RemoveBundleAndDataDir()
117 ServiceConstants::PATH_SEPARATOR + info.GetBundleName(); in InnerHandleInvalidBundle()
118 auto moduleDir = appCodePath + ServiceConstants::PATH_SEPARATOR + mark.packageName; in InnerHandleInvalidBundle()
119 auto moduleDataDir = info.GetBundleName() + ServiceConstants::HAPS + mark.packageName; in InnerHandleInvalidBundle()
128 if (InstalldClient::GetInstance()->RemoveDir(moduleDir + ServiceConstants::TMP_SUFFIX) == ERR_OK) { in InnerHandleInvalidBundle()
153 if (InstalldClient::GetInstance()->RenameModuleDir(moduleDir + ServiceConstants::TMP_SUFFIX, moduleDir) != in InnerHandleInvalidBundle()
H A Dbase_bundle_installer.cpp122 std::string fileSuffix = ServiceConstants::INSTALL_FILE_SUFFIX; in GetHapPath()
126 fileSuffix = ServiceConstants::HSP_FILE_SUFFIX; in GetHapPath()
129 return info.GetAppCodePath() + ServiceConstants::PATH_SEPARATOR + moduleName + fileSuffix; in GetHapPath()
139 auto position = nativeLibraryPath.find(ServiceConstants::PATH_SEPARATOR); in BuildTempNativeLibraryPath()
146 return prefixPath + ServiceConstants::TMP_SUFFIX + suffixPath; in BuildTempNativeLibraryPath()
440 std::string uninstallDir = std::string(Constants::BUNDLE_CODE_DIR) + ServiceConstants::PATH_SEPARATOR + bundleName; in UninstallBundleByUninstallParam()
445 uninstallDir += std::string(ServiceConstants::PATH_SEPARATOR) + in UninstallBundleByUninstallParam()
1366 std::string bundleDataDir = ServiceConstants::BUNDLE_APP_DATA_BASE_DIR + ServiceConstants::BUNDLE_EL[1] in RollBack()
1367 + ServiceConstants in RollBack()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/verify/
H A Dverify_manager_host_impl.cpp58 rootDir.append(Constants::BUNDLE_CODE_DIR).append(ServiceConstants::PATH_SEPARATOR) in GetRootDir()
59 .append(bundleName).append(ServiceConstants::PATH_SEPARATOR) in GetRootDir()
60 .append(ABCS_DIR).append(ServiceConstants::PATH_SEPARATOR); in GetRootDir()
67 tempRootDir.append(Constants::BUNDLE_CODE_DIR).append(ServiceConstants::PATH_SEPARATOR) in GetTempRootDir()
68 .append(bundleName).append(ServiceConstants::PATH_SEPARATOR).append(ABCS_DIR) in GetTempRootDir()
69 .append(ServiceConstants::PATH_SEPARATOR).append(ABCS_TEMP_DIR); in GetTempRootDir()
77 el = ServiceConstants::DIR_EL1; in GetDataDir()
78 baseType = ServiceConstants::BASE; in GetDataDir()
84 el = ServiceConstants::DIR_EL1; in GetDataDir()
85 baseType = ServiceConstants in GetDataDir()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_operator.cpp102 return dir + ServiceConstants::PATH_SEPARATOR + subName; in HandleScanResult()
170 if (entry.path().extension() == ServiceConstants::AP_SUFFIX) { in IsExistApFile()
277 if (entryName.back() == ServiceConstants::PATH_SEPARATOR[0]) { in ExtractFiles()
323 if (entryName.back() == ServiceConstants::PATH_SEPARATOR[0]) { in ExtractFiles()
341 + ServiceConstants::PATH_SEPARATOR + targetName; in ExtractFiles()
398 std::string prefix = ServiceConstants::LIBS + cpuAbi + ServiceConstants::PATH_SEPARATOR; in IsNativeSo()
415 std::string prefix = ServiceConstants::LIBS + cpuAbi + ServiceConstants::PATH_SEPARATOR; in IsDiffFiles()
513 if (path.back() != ServiceConstants in ExtractTargetFile()
[all...]
H A Dinstalld_host_impl.cpp318 bundleBackupDir, S_IRWXU | S_IRWXG | S_ISGID, uid, ServiceConstants::BACKU_HOME_GID)) { in CreateBackupExtHomeDir()
341 bundleBackupDir, S_IRWXU | S_IRWXG | S_ISGID, uid, ServiceConstants::BACKU_HOME_GID)) { in CreateNewBackupExtHomeDir()
399 std::vector<std::string> elPath(ServiceConstants::BUNDLE_EL); in AddUserDirDeleteDfx()
400 elPath.push_back(ServiceConstants::DIR_EL5); in AddUserDirDeleteDfx()
402 std::string bundleDataDir = GetBundleDataDir(el, userId) + ServiceConstants::BASE; in AddUserDirDeleteDfx()
409 std::string databaseParentDir = GetBundleDataDir(el, userId) + ServiceConstants::DATABASE; in AddUserDirDeleteDfx()
436 for (const auto &el : ServiceConstants::BUNDLE_EL) { in CreateBundleDataDir()
438 (el == ServiceConstants::BUNDLE_EL[0])) { in CreateBundleDataDir()
442 std::string bundleDataDir = GetBundleDataDir(el, createDirParam.userId) + ServiceConstants::BASE; in CreateBundleDataDir()
465 if (el == ServiceConstants in CreateBundleDataDir()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/driver/
H A Ddriver_installer.cpp76 realSoDir.append(Constants::BUNDLE_CODE_DIR).append(ServiceConstants::PATH_SEPARATOR) in CopyDriverSoFile()
77 .append(info.GetBundleName()).append(ServiceConstants::PATH_SEPARATOR) in CopyDriverSoFile()
96 if (originalDir.find(ServiceConstants::RELATIVE_PATH) != std::string::npos || in FilterDriverSoFile()
97 destinedDir.find(ServiceConstants::RELATIVE_PATH) != std::string::npos) { in FilterDriverSoFile()
105 SplitStr(originalDir, ServiceConstants::PATH_SEPARATOR, originalDirVec, false, false); in FilterDriverSoFile()
155 SplitStr(meta.resource, ServiceConstants::PATH_SEPARATOR, originalDirVec, false, false); in RemoveDriverSoFile()
165 std::string systemServiceDir = ServiceConstants::SYSTEM_SERVICE_DIR; in RemoveDriverSoFile()
182 if (resStr.back() != ServiceConstants::PATH_SEPARATOR[0]) { in CreateDriverSoDestinedDir()
183 resStr += ServiceConstants::PATH_SEPARATOR; in CreateDriverSoDestinedDir()
211 SplitStr(meta.resource, ServiceConstants in RenameDriverFile()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/
H A Dinner_shared_bundle_installer.cpp328 std::string bundleDir = std::string(Constants::BUNDLE_CODE_DIR) + ServiceConstants::PATH_SEPARATOR + bundleName_; in ExtractSharedBundles()
334 std::string versionDir = bundleDir + ServiceConstants::PATH_SEPARATOR + HSP_VERSION_PREFIX in ExtractSharedBundles()
340 std::string moduleDir = versionDir + ServiceConstants::PATH_SEPARATOR + moduleName; in ExtractSharedBundles()
352 std::string realHspPath = moduleDir + ServiceConstants::PATH_SEPARATOR + moduleName + in ExtractSharedBundles()
353 ServiceConstants::HSP_FILE_SUFFIX; in ExtractSharedBundles()
373 std::string moduleDir = std::string(Constants::BUNDLE_CODE_DIR) + ServiceConstants::PATH_SEPARATOR + bundleName_ + in UpdateInnerModuleInfo()
374 ServiceConstants::PATH_SEPARATOR + HSP_VERSION_PREFIX + std::to_string(innerModuleInfo.versionCode) + in UpdateInnerModuleInfo()
375 ServiceConstants::PATH_SEPARATOR + innerModuleInfo.moduleName; in UpdateInnerModuleInfo()
555 if (!BundleUtil::EndWith(inBundlePaths[0], ServiceConstants::HSP_FILE_SUFFIX)) { in ObtainHspFileAndSignatureFilePath()
565 if ((path.find(ServiceConstants in ObtainHspFileAndSignatureFilePath()
[all...]
/foundation/bundlemanager/bundle_framework/services/test/moduletest/common/bms/bundle_parser_test/
H A Dbms_bundle_parser_module_test.cpp79 pathStream_ << RESOURCE_ROOT_PATH << "bmsThirdBundle2" << ServiceConstants::INSTALL_FILE_SUFFIX; in HWTEST_F()
90 pathStream_ << RESOURCE_ROOT_PATH << "bmsThirdBundle1" << ServiceConstants::INSTALL_FILE_SUFFIX; in HWTEST_F()
102 pathStream_ << RESOURCE_ROOT_PATH << "bmsThirdBundle14" << ServiceConstants::INSTALL_FILE_SUFFIX; in HWTEST_F()
117 pathStream_ << RESOURCE_ROOT_PATH << "bmsThirdBundle1" << ServiceConstants::INSTALL_FILE_SUFFIX; in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aot/
H A Daot_sign_data_cache_mgr.cpp121 std::string anFileName = ServiceConstants::ARK_CACHE_PATH + bundleName + ServiceConstants::PATH_SEPARATOR in ExecutePendSign()
122 + ServiceConstants::ARM64 + ServiceConstants::PATH_SEPARATOR + moduleName + ServiceConstants::AN_SUFFIX; in ExecutePendSign()
H A Daot_handler.cpp107 SplitStr(abis, ServiceConstants::ABI_SEPARATOR, abiList, false, false); in IsSupportARM64()
112 return std::find(abiList.begin(), abiList.end(), ServiceConstants::ARM64_V8A) != abiList.end(); in IsSupportARM64()
128 path.append(ServiceConstants::ARK_PROFILE_PATH).append(std::to_string(userId)) in GetArkProfilePath()
129 .append(ServiceConstants::PATH_SEPARATOR).append(bundleName) in GetArkProfilePath()
130 .append(ServiceConstants::PATH_SEPARATOR).append(moduleName).append(ServiceConstants::AP_SUFFIX); in GetArkProfilePath()
147 if (compileMode == ServiceConstants::COMPILE_PARTIAL) { in BuildAOTArgs()
157 aotArgs.outputPath = ServiceConstants::ARK_CACHE_PATH + aotArgs.bundleName + ServiceConstants::PATH_SEPARATOR in BuildAOTArgs()
158 + ServiceConstants in BuildAOTArgs()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/sandbox_app/
H A Dbundle_sandbox_exception_handler.cpp130 for (const auto &el : ServiceConstants::BUNDLE_EL) { in KeepSandboxDirs()
131 std::string baseDir = ServiceConstants::BUNDLE_APP_DATA_BASE_DIR + el + ServiceConstants::PATH_SEPARATOR + in KeepSandboxDirs()
132 std::to_string(userId) + ServiceConstants::BASE + innerBundleName; in KeepSandboxDirs()
133 std::string databaseDir = ServiceConstants::BUNDLE_APP_DATA_BASE_DIR + el + ServiceConstants::PATH_SEPARATOR + in KeepSandboxDirs()
134 std::to_string(userId) + ServiceConstants::DATABASE + innerBundleName; in KeepSandboxDirs()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/
H A Dbundle_resource_host_impl.cpp39 if (!BundlePermissionMgr::VerifyCallingPermissionForAll(ServiceConstants::PERMISSION_GET_BUNDLE_RESOURCES)) { in GetBundleResourceInfo()
43 if ((appIndex < 0) || (appIndex > ServiceConstants::CLONE_APP_INDEX_MAX)) { in GetBundleResourceInfo()
68 if (!BundlePermissionMgr::VerifyCallingPermissionForAll(ServiceConstants::PERMISSION_GET_BUNDLE_RESOURCES)) { in GetLauncherAbilityResourceInfo()
72 if ((appIndex < 0) || (appIndex > ServiceConstants::CLONE_APP_INDEX_MAX)) { in GetLauncherAbilityResourceInfo()
97 if (!BundlePermissionMgr::VerifyCallingPermissionForAll(ServiceConstants::PERMISSION_GET_BUNDLE_RESOURCES)) { in GetAllBundleResourceInfo()
142 if (!BundlePermissionMgr::VerifyCallingPermissionForAll(ServiceConstants::PERMISSION_GET_BUNDLE_RESOURCES)) { in GetAllLauncherAbilityResourceInfo()
200 if (!BundlePermissionMgr::VerifyCallingPermissionForAll(ServiceConstants::PERMISSION_GET_BUNDLE_RESOURCES)) { in AddResourceInfoByBundleName()
247 if (!BundlePermissionMgr::VerifyCallingPermissionForAll(ServiceConstants::PERMISSION_GET_BUNDLE_RESOURCES)) { in AddResourceInfoByAbility()
275 if (!BundlePermissionMgr::VerifyCallingPermissionForAll(ServiceConstants::PERMISSION_GET_BUNDLE_RESOURCES)) { in DeleteResourceInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/rdb/
H A Dbms_rdb_config.h28 std::string dbPath { ServiceConstants::BUNDLE_MANAGER_SERVICE_PATH };
33 int32_t version { ServiceConstants::BUNDLE_RDB_VERSION };
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/
H A Dapp_service_fwk_installer.cpp45 tempSoPath = moduleName + AppExecFwk::ServiceConstants::TMP_SUFFIX in ObtainTempSoPath()
46 + AppExecFwk::ServiceConstants::PATH_SEPARATOR + tempSoPath; in ObtainTempSoPath()
48 std::string innerTempStr = moduleName + AppExecFwk::ServiceConstants::TMP_SUFFIX; in ObtainTempSoPath()
51 return tempSoPath + AppExecFwk::ServiceConstants::PATH_SEPARATOR; in ObtainTempSoPath()
135 AppExecFwk::ServiceConstants::PATH_SEPARATOR + bundleName; in UnInstall()
246 AppExecFwk::ServiceConstants::PATH_SEPARATOR + bundleName + in RemoveModuleDataDir()
247 AppExecFwk::ServiceConstants::PATH_SEPARATOR + HSP_VERSION_PREFIX + std::to_string(oldInfo.GetVersionCode()) + in RemoveModuleDataDir()
248 AppExecFwk::ServiceConstants::PATH_SEPARATOR + moduleName; in RemoveModuleDataDir()
475 if (!BundleUtil::CheckFileType(bundlePath, ServiceConstants::HSP_FILE_SUFFIX)) { in CheckFileType()
567 AppExecFwk::ServiceConstants in ExtractModule()
[all...]

Completed in 26 milliseconds

1234