Home
last modified time | relevance | path

Searched refs:packagePath (Results 1 - 25 of 27) sorted by relevance

12

/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dfile_asset_provider_impl.cpp25 bool FileAssetProviderImpl::Initialize(const std::string& packagePath, const std::vector<std::string>& assetBasePaths) in Initialize() argument
33 if (!packagePath.empty() && packagePath.back() != '/') { in Initialize()
34 packagePath_ = packagePath + "/"; in Initialize()
36 packagePath_ = packagePath; in Initialize()
H A Dutils.cpp113 const std::string& packagePath, const std::vector<std::string>& assetBasePaths, bool useCache) in CreateAssetProviderImpl()
115 if (std::regex_match(packagePath, std::regex(".*\\.hap"))) { in CreateAssetProviderImpl()
117 if (assetProviderImpl->Initialize(packagePath, assetBasePaths, useCache)) { in CreateAssetProviderImpl()
122 if (assetProviderImpl->Initialize(packagePath, assetBasePaths)) { in CreateAssetProviderImpl()
112 CreateAssetProviderImpl( const std::string& packagePath, const std::vector<std::string>& assetBasePaths, bool useCache) CreateAssetProviderImpl() argument
H A Dfile_asset_provider_impl.h37 bool Initialize(const std::string& packagePath, const std::vector<std::string>& assetBasePaths);
H A Dutils.h37 const std::string& packagePath, const std::vector<std::string>& assetBasePaths, bool useCache = true);
H A Dpa_container.cpp230 void PaContainer::AddAssetPath(int32_t instanceId, const std::string& packagePath, const std::string& hapPath, in AddAssetPath() argument
251 if (!packagePath.empty()) { in AddAssetPath()
253 if (assetProvider->Initialize(packagePath, paths)) { in AddAssetPath()
H A Dace_ability.cpp76 FrontendType GetFrontendTypeFromManifest(const std::string& packagePath, const std::string& srcPath, bool isHap) in GetFrontendTypeFromManifest() argument
82 std::string jsonStr = isHap ? GetStringFromHap(packagePath, manifest) : GetStringFromFile(packagePath, manifest); in GetFrontendTypeFromManifest()
318 std::string& packagePath = isHap ? moduleInfo->hapPath : packagePathStr; in OnStart() local
319 FrontendType frontendType = GetFrontendTypeFromManifest(packagePath, srcPath, isHap); in OnStart()
H A Dpa_container.h154 static void AddAssetPath(int32_t instanceId, const std::string& packagePath, const std::string& hapPath,
H A Dace_container.h262 void SetPackagePathStr(const std::string& packagePath) in SetPackagePathStr() argument
264 resourceInfo_.SetPackagePath(packagePath); in SetPackagePathStr()
448 static void AddAssetPath(int32_t instanceId, const std::string& packagePath, const std::string& hapPath,
/foundation/ability/idl_tool/idl_tool_2/util/
H A Doptions.cpp274 bool Options::AddPackagePath(const std::string &packagePath) in AddPackagePath() argument
276 size_t index = packagePath.find(":"); in AddPackagePath()
277 if (index == std::string::npos || index == packagePath.size() - 1) { in AddPackagePath()
278 Logger::E(TAG, "invalid option parameters '%s'.", packagePath.c_str()); in AddPackagePath()
282 std::string package = packagePath.substr(0, index); in AddPackagePath()
283 std::string path = File::AdapterRealPath(packagePath.substr(index + 1)); in AddPackagePath()
285 Logger::E(TAG, "invalid path '%s'.", packagePath.substr(index + 1).c_str()); in AddPackagePath()
742 * packagePath:./drivers/interface/foo/v1_0
773 * packagePath:./drivers/interface/foo/v1_0/MyTypes.idl
H A Doptions.h242 bool AddPackagePath(const std::string &packagePath);
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dresource_configuration.h200 void SetPackagePath(const std::string& packagePath) in SetPackagePath() argument
202 packagePath_ = packagePath; in SetPackagePath()
H A Ddevice_config.h49 std::string packagePath; member
/foundation/arkui/ace_engine/frameworks/core/common/rosen/
H A Drosen_asset_manager.h90 void SetLibPath(const std::string& appLibPathKey, const std::vector<std::string>& packagePath) override
93 packagePath_ = packagePath;
/foundation/arkui/ace_engine/frameworks/core/common/
H A Dasset_manager_impl.cpp103 void AssetManagerImpl::SetLibPath(const std::string& appLibPathKey, const std::vector<std::string>& packagePath) in SetLibPath() argument
106 libPath_ = packagePath; in SetLibPath()
H A Dasset_manager_impl.h59 void SetLibPath(const std::string& appLibPathKey, const std::vector<std::string>& packagePath) override;
/foundation/arkui/ace_engine/frameworks/base/resource/
H A Dasset_manager.h73 virtual void SetLibPath(const std::string& appLibPathKey, const std::vector<std::string>& packagePath) = 0;
/foundation/arkui/ace_engine/test/unittest/core/common/asset/
H A Dmock_asset.h54 MOCK_METHOD(void, SetLibPath, (const std::string& appLibPathKey, const std::vector<std::string>& packagePath),
/foundation/arkui/ace_engine/test/unittest/core/common/rosen/
H A Dmock_rosen.h53 MOCK_METHOD(void, SetLibPath, (const std::string& appLibPathKey, const std::vector<std::string>& packagePath),
/foundation/ability/ability_runtime/frameworks/simulator/common/include/
H A Doptions.h63 std::string packagePath; member
/foundation/filemanagement/app_file_service/test/unittest/remote_file_share/
H A Dremote_file_share_test.cpp718 string packagePath = "/data/filetest"; in HWTEST_F() local
720 EXPECT_EQ(true, DeleteShareDir(packagePath, sharePath)); in HWTEST_F()
/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dace_container.h64 static void AddAssetPath(int32_t instanceId, const std::string& packagePath, const std::vector<std::string>& paths);
H A Dace_container.cpp688 int32_t instanceId, const std::string& packagePath, const std::vector<std::string>& paths) in AddAssetPath()
707 int32_t instanceId, const std::string& packagePath, const std::vector<std::string>& paths) in AddAssetPath()
687 AddAssetPath( int32_t instanceId, const std::string& packagePath, const std::vector<std::string>& paths) AddAssetPath() argument
706 AddAssetPath( int32_t instanceId, const std::string& packagePath, const std::vector<std::string>& paths) AddAssetPath() argument
/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/jsi/
H A Djsi_pa_engine.cpp419 std::vector<std::string> packagePath = jsBackendAssetManager_->GetLibPath(); in InitializeInner() local
421 if (!packagePath.empty()) { in InitializeInner()
423 arkNativeEngine->SetPackagePath(appLibPathKey, packagePath); in InitializeInner()
/foundation/arkui/napi/native_engine/impl/ark/
H A Dark_native_engine.h194 NAPI_EXPORT void SetPackagePath(const std::string appLinPathKey, const std::vector<std::string>& packagePath);
H A Dark_native_engine.cpp1475 void ArkNativeEngine::SetPackagePath(const std::string appLibPathKey, const std::vector<std::string>& packagePath) in SetPackagePath() argument
1478 if (moduleManager && !packagePath.empty()) { in SetPackagePath()
1479 moduleManager->SetAppLibPath(appLibPathKey, packagePath); in SetPackagePath()

Completed in 22 milliseconds

12