/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/ |
H A D | constants.h | 22 constexpr const char* ABS_CODE_PATH = "/data/app/el1/bundle/public"; member
|
/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_module_reader.h | 31 static constexpr char ABS_CODE_PATH[] = "/data/storage/el1/"; member in OHOS::AbilityRuntime::final
|
H A D | js_module_reader.cpp | 117 realHapPath = std::string(ABS_CODE_PATH) + inputPath + suffix; in GetCommonAppHspPath()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | context_deal.cpp | 87 dir = std::regex_replace(applicationInfo_->codePath, std::regex(ABS_CODE_PATH), LOCAL_BUNDLES); in GetBundleCodePath() 201 dir = std::regex_replace(abilityInfo_->resourcePath, std::regex(ABS_CODE_PATH), LOCAL_BUNDLES); in GetBundleResourcePath() 203 std::regex pattern(std::string(ABS_CODE_PATH) + std::string(FILE_SEPARATOR) + abilityInfo_->bundleName); in GetBundleResourcePath()
|
H A D | child_main_thread.cpp | 437 GetHapSoPath(hapInfo, appLibPaths, hapInfo.hapPath.find(ABS_CODE_PATH)); in GetNativeLibPath() 443 GetHspNativeLibPath(hspInfo, appLibPaths, hspInfo.hapPath.find(ABS_CODE_PATH) != 0u); in GetNativeLibPath()
|
H A D | main_thread.cpp | 201 GetHapSoPath(hapInfo, appLibPaths, hapInfo.hapPath.find(ABS_CODE_PATH)); in GetNativeLibPath() 207 GetHspNativeLibPath(hspInfo, appLibPaths, hspInfo.hapPath.find(ABS_CODE_PATH) != 0u); in GetNativeLibPath() 1046 std::regex pattern(std::string(ABS_CODE_PATH) + std::string(FILE_SEPARATOR) + bundleName); in OnStartAbility() 1083 it.hapPath = std::regex_replace(it.hapPath, std::regex(std::string(ABS_CODE_PATH) + in GetOverlayPaths() 1086 it.hapPath = std::regex_replace(it.hapPath, std::regex(ABS_CODE_PATH), LOCAL_BUNDLES); in GetOverlayPaths() 1682 std::regex inner_pattern(std::string(ABS_CODE_PATH) + std::string(FILE_SEPARATOR) + bundleInfo.name); in HandleLaunchApplication() 1862 std::regex pattern(std::string(ABS_CODE_PATH) + std::string(FILE_SEPARATOR) + bundleName in ChangeToLocalPath() 1876 std::regex pattern(std::string(ABS_CODE_PATH) + std::string(FILE_SEPARATOR) + bundleName); in ChangeToLocalPath() 1890 localPath = std::regex_replace(localPath, std::regex(ABS_CODE_PATH), LOCAL_BUNDLES); in ChangeToLocalPath()
|
H A D | context_container.cpp | 335 std::regex pattern(AbilityBase::Constants::ABS_CODE_PATH); in LoadResources()
|
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/ |
H A D | extractor.cpp | 253 if (StringStartWith(hapPath, Constants::ABS_CODE_PATH, std::string(Constants::ABS_CODE_PATH).length())) { in GetLoadFilePath()
|
H A D | file_path_utils.cpp | 444 std::regex hapPattern(std::string(Constants::ABS_CODE_PATH) + std::string(Constants::FILE_SEPARATOR)); in GetLoadPath()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/ |
H A D | context_impl.cpp | 117 dir = std::regex_replace(appInfo->codePath, std::regex(ABS_CODE_PATH), LOCAL_BUNDLES); in GetBundleCodeDir() 860 std::regex inner_pattern(std::string(ABS_CODE_PATH) + std::string(FILE_SEPARATOR) in InitResourceManagerInner() 862 std::regex outer_pattern(ABS_CODE_PATH); in InitResourceManagerInner() 863 std::regex hsp_pattern(std::string(ABS_CODE_PATH) + FILE_SEPARATOR + bundleInfo.name + PATTERN_VERSION); in InitResourceManagerInner() 903 std::regex pattern(std::string(ABS_CODE_PATH) + std::string(FILE_SEPARATOR) in AddPatchResource() 933 it.hapPath = std::regex_replace(it.hapPath, std::regex(std::string(ABS_CODE_PATH) + in GetOverlayPath() 936 it.hapPath = std::regex_replace(it.hapPath, std::regex(ABS_CODE_PATH), LOCAL_BUNDLES); in GetOverlayPath() 1421 std::regex pattern(std::string(ABS_CODE_PATH) + std::string(FILE_SEPARATOR) + bundleName); in ChangeToLocalPath() 1435 localPath = std::regex_replace(localPath, std::regex(ABS_CODE_PATH), LOCAL_BUNDLES); in ChangeToLocalPath()
|
/foundation/ability/form_fwk/interfaces/inner_api/include/ |
H A D | form_constants.h | 64 constexpr const char* ABS_CODE_PATH = "/data/app/el1/bundle/public"; member
|
/foundation/ability/form_fwk/services/src/ |
H A D | form_event_util.cpp | 47 if (hapPath.find(Constants::ABS_CODE_PATH) != std::string::npos) { in UpdateRecordByBundleInfo() 48 hapPath = std::regex_replace(hapPath, std::regex(Constants::ABS_CODE_PATH), Constants::LOCAL_BUNDLES); in UpdateRecordByBundleInfo()
|
H A D | form_mgr_adapter.cpp | 1926 if (hapPath.find(Constants::ABS_CODE_PATH) != std::string::npos) { in SetFormItemModuleInfo() 1927 hapPath = std::regex_replace(hapPath, std::regex(Constants::ABS_CODE_PATH), Constants::LOCAL_BUNDLES); in SetFormItemModuleInfo()
|
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/ |
H A D | fms_form_mgr_adapter_test2.cpp | 782 info1.hapPath = std::string(Constants::ABS_CODE_PATH) + "/res";
in HWTEST_F() 786 info2.hapPath = std::string(Constants::ABS_CODE_PATH) + "/img";
in HWTEST_F()
|
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_add_form_test/ |
H A D | fms_form_mgr_add_form_test.cpp | 191 abilityInfo.hapPath = Constants::ABS_CODE_PATH; in FillBundleInfo()
|