/foundation/arkui/ace_engine/frameworks/core/common/rosen/ |
H A D | rosen_asset_manager.cpp | 44 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 D | rosen_asset_manager.h | 88 std::string GetAssetPath(const std::string& assetName, bool isAddHapPath) override;
|
/foundation/arkui/ace_engine/test/unittest/core/common/asset/ |
H A D | asset_test.cpp | 68 * @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 D | mock_asset.h | 35 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 D | asset_manager.h | 43 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 D | mock_rosen.h | 34 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 D | rosen_test.cpp | 292 * @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 D | js_backend_asset_manager.cpp | 25 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 D | js_backend_asset_manager.h | 28 std::string GetAssetPath(const std::string& url);
|
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | asset_manager_impl.cpp | 91 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 D | asset_manager_impl.h | 58 std::string GetAssetPath(const std::string& assetName, bool isAddHapPath) override;
|
/foundation/arkui/ace_engine/frameworks/core/components/plugin/ |
H A D | hap_asset_provider_impl.h | 51 std::string GetAssetPath(const std::string& assetName, bool isAddHapPath) override;
|
H A D | hap_asset_provider_impl.cpp | 64 std::string HapAssetProviderImpl::GetAssetPath(const std::string& assetName, bool isAddHapPath) in GetAssetPath() function in OHOS::Ace::Plugin::HapAssetProviderImpl
|
H A D | hap_asset_provider.cpp | 64 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 D | hap_asset_provider_impl.h | 42 std::string GetAssetPath(const std::string& assetName, bool isAddHapPath) override;
|
H A D | file_asset_provider_impl.h | 44 std::string GetAssetPath(const std::string& assetName, bool isAddHapPath) override;
|
H A D | file_asset_provider_impl.cpp | 99 std::string FileAssetProviderImpl::GetAssetPath(const std::string& assetName, bool /* isAddHapPath */) in GetAssetPath() function in OHOS::Ace::FileAssetProviderImpl
|
H A D | hap_asset_provider_impl.cpp | 104 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 D | rs_dir_asset_provider.h | 102 std::string GetAssetPath(const std::string& assetName, bool isAddHapPath) override
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
H A D | frontend_delegate.cpp | 168 ami = assetManager_->GetAssetPath(targetFilePath, true) + targetFilePath; in GetResourceData()
|
H A D | frontend_delegate.h | 251 virtual std::string GetAssetPath(const std::string& url) = 0;
|
/foundation/arkui/ace_engine/frameworks/bridge/plugin_frontend/ |
H A D | plugin_frontend_delegate.h | 180 std::string GetAssetPath(const std::string& url) override;
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/plugin/mock/ |
H A D | mock_plugin_frontend_delegate.cpp | 277 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 D | rosen_media_player.cpp | 306 auto state = assetManager->GetFileInfo(assetManager->GetAssetPath(filePath, false), fileInfo); in RelativePathPlay()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/ |
H A D | frontend_delegate_declarative_ng.h | 180 std::string GetAssetPath(const std::string& url) override;
|