Home
last modified time | relevance | path

Searched refs:GetAssetPath (Results 1 - 25 of 37) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/common/rosen/
H A Drosen_asset_manager.cpp44 std::string RSAssetManager::GetAssetPath(const std::string& assetName, bool isAddHapPath) in GetAssetPath() function in OHOS::Ace::RSAssetManager
47 std::string path = provider->GetAssetPath(assetName, isAddHapPath); in GetAssetPath()
H A Drosen_asset_manager.h88 std::string GetAssetPath(const std::string& assetName, bool isAddHapPath) override;
/foundation/arkui/ace_engine/test/unittest/core/common/asset/
H A Dasset_test.cpp68 * @tc.steps: step4. call GetAssetPath with ASSET_TEST. in HWTEST_F()
71 std::string result = assetManager->GetAssetPath(ASSET_TEST, true); in HWTEST_F()
87 * @tc.steps: step2. Call GetAssetPath of asset manager. in HWTEST_F()
90 std::string asset_path = assetManager->GetAssetPath(ASSET_TEST, true); in HWTEST_F()
94 * @tc.steps: step3. Call GetAssetPath with the asset provider. in HWTEST_F()
100 EXPECT_CALL(*assetProvider, GetAssetPath(ASSET_TEST, true)).Times(1).WillOnce(Return(ASSET_TEST)); in HWTEST_F()
104 * @tc.steps: step4. Call GetAssetPath with the asset provider. in HWTEST_F()
107 std::string path_Result = assetManager->GetAssetPath(ASSET_TEST, true); in HWTEST_F()
H A Dmock_asset.h35 MOCK_METHOD(std::string, GetAssetPath, (const std::string& /* assetName */, bool /* isAddHapPath */),
52 MOCK_METHOD(std::string, GetAssetPath, (const std::string& /* assetName */, bool /* isAddHapPath */),
/foundation/arkui/ace_engine/frameworks/base/resource/
H A Dasset_manager.h43 virtual std::string GetAssetPath(const std::string& assetName, bool isAddHapPath) = 0;
71 virtual std::string GetAssetPath(const std::string& assetName, bool isAddHapPath) = 0;
/foundation/arkui/ace_engine/test/unittest/core/common/rosen/
H A Dmock_rosen.h34 MOCK_METHOD(std::string, GetAssetPath, (const std::string& /* assetName */, bool /* isAddHapPath */),
51 MOCK_METHOD(std::string, GetAssetPath, (const std::string& /* assetName */, bool /* isAddHapPath */),
H A Drosen_test.cpp292 * @tc.steps: step2. callback GetAssetPath input provider is null. in HWTEST_F()
303 std::string result = object.GetAssetPath(assetName, true); in HWTEST_F()
316 * @tc.steps: step2. callback GetAssetPath input provider is null. in HWTEST_F()
321 std::string ret = object.GetAssetPath(assetName, true); in HWTEST_F()
325 * @tc.steps: step3. callback GetAssetPath input provider is not null. in HWTEST_F()
331 EXPECT_CALL(*assetProvider, GetAssetPath(hapPath, true)).Times(1).WillOnce(Return("test")); in HWTEST_F()
333 std::string result = object.GetAssetPath(hapPath, true); in HWTEST_F()
/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/common/
H A Djs_backend_asset_manager.cpp25 std::string JsBackendAssetManager::GetAssetPath(const std::string& url) in GetAssetPath() function in OHOS::Ace::JsBackendAssetManager
116 ami = assetManager_->GetAssetPath(targetFilePath, true) + targetFilePath; in GetResourceData()
H A Djs_backend_asset_manager.h28 std::string GetAssetPath(const std::string& url);
/foundation/arkui/ace_engine/frameworks/core/common/
H A Dasset_manager_impl.cpp91 std::string AssetManagerImpl::GetAssetPath(const std::string& assetName, bool isAddHapPath) in GetAssetPath() function in OHOS::Ace::AssetManagerImpl
94 std::string assetPath = assetProvider->GetAssetPath(assetName, isAddHapPath); in GetAssetPath()
H A Dasset_manager_impl.h58 std::string GetAssetPath(const std::string& assetName, bool isAddHapPath) override;
/foundation/arkui/ace_engine/frameworks/core/components/plugin/
H A Dhap_asset_provider_impl.h51 std::string GetAssetPath(const std::string& assetName, bool isAddHapPath) override;
H A Dhap_asset_provider_impl.cpp64 std::string HapAssetProviderImpl::GetAssetPath(const std::string& assetName, bool isAddHapPath) in GetAssetPath() function in OHOS::Ace::Plugin::HapAssetProviderImpl
H A Dhap_asset_provider.cpp64 std::string HapAssetProvider::GetAssetPath(const std::string& assetName, bool isAddHapPath) in GetAssetPath() function in OHOS::Ace::Plugin::HapAssetProvider
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dhap_asset_provider_impl.h42 std::string GetAssetPath(const std::string& assetName, bool isAddHapPath) override;
H A Dfile_asset_provider_impl.h44 std::string GetAssetPath(const std::string& assetName, bool isAddHapPath) override;
H A Dfile_asset_provider_impl.cpp99 std::string FileAssetProviderImpl::GetAssetPath(const std::string& assetName, bool /* isAddHapPath */) in GetAssetPath() function in OHOS::Ace::FileAssetProviderImpl
H A Dhap_asset_provider_impl.cpp104 std::string HapAssetProviderImpl::GetAssetPath(const std::string& assetName, bool isAddHapPath) in GetAssetPath() function in OHOS::Ace::HapAssetProviderImpl
/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Drs_dir_asset_provider.h102 std::string GetAssetPath(const std::string& assetName, bool isAddHapPath) override
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/
H A Dfrontend_delegate.cpp168 ami = assetManager_->GetAssetPath(targetFilePath, true) + targetFilePath; in GetResourceData()
H A Dfrontend_delegate.h251 virtual std::string GetAssetPath(const std::string& url) = 0;
/foundation/arkui/ace_engine/frameworks/bridge/plugin_frontend/
H A Dplugin_frontend_delegate.h180 std::string GetAssetPath(const std::string& url) override;
/foundation/arkui/ace_engine/test/unittest/core/pattern/plugin/mock/
H A Dmock_plugin_frontend_delegate.cpp277 std::string PluginFrontendDelegate::GetAssetPath(const std::string& url) in GetAssetPath() function in OHOS::Ace::Framework::PluginFrontendDelegate
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_media_player.cpp306 auto state = assetManager->GetFileInfo(assetManager->GetAssetPath(filePath, false), fileInfo); in RelativePathPlay()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Dfrontend_delegate_declarative_ng.h180 std::string GetAssetPath(const std::string& url) override;

Completed in 13 milliseconds

12