/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | image_src_path_tdd_test.cpp | 48 char *resourcePath = JsAppContext::GetInstance()->GetResourcePath(""); in HWTEST_F() local 52 EXPECT_EQ(resourcePath, nullptr); in HWTEST_F() 65 char *resourcePath = JsAppContext::GetInstance()->GetResourcePath("abc.png"); in HWTEST_F() local 69 printf("resourcePath: %s\n", resourcePath); in HWTEST_F() 70 EXPECT_STREQ(resourcePath, "app/run/abc.png"); in HWTEST_F() 83 char *resourcePath = JsAppContext::GetInstance()->GetResourcePath("internal://app/abc.png"); in HWTEST_F() local 87 EXPECT_STREQ(resourcePath, "com.example.test/abc.png"); in HWTEST_F() 100 char *resourcePath = JsAppContext::GetInstance()->GetResourcePath("internal://app/testa/testb/testc/abc.png"); in HWTEST_F() local 104 EXPECT_STREQ(resourcePath, "co in HWTEST_F() 120 char *resourcePath = JsAppContext::GetInstance()->GetResourcePath(filePath); HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/ |
H A D | bundle_mgr_client_impl.cpp | 130 std::string resourcePath = isCompressed ? hapModuleInfo.hapPath : hapModuleInfo.resourcePath; in GetResConfigFile() local 131 if (!GetResProfileByMetadata(hapModuleInfo.metadata, metadataName, resourcePath, isCompressed, profileInfos)) { in GetResConfigFile() 147 std::string resourcePath = isCompressed ? extensionInfo.hapPath : extensionInfo.resourcePath; in GetResConfigFile() local 148 if (!GetResProfileByMetadata(extensionInfo.metadata, metadataName, resourcePath, isCompressed, profileInfos)) { in GetResConfigFile() 164 std::string resourcePath = isCompressed ? abilityInfo.hapPath : abilityInfo.resourcePath; in GetResConfigFile() local 165 if (!GetResProfileByMetadata(abilityInfo.metadata, metadataName, resourcePath, isCompressed, profileInfos)) { in GetResConfigFile() 181 std::string resPath = isCompressed ? extensionInfo.hapPath : extensionInfo.resourcePath; in GetProfileFromExtension() 253 GetResProfileByMetadata(const std::vector<Metadata> &metadata, const std::string &metadataName, const std ::string &resourcePath, bool isCompressed, std::vector<std::string> &profileInfos) const GetResProfileByMetadata() argument [all...] |
/foundation/bundlemanager/bundle_framework/test/benchmarktest/hap_module_info_test/ |
H A D | hap_module_info_test.cpp | 40 info.resourcePath = "/data/app/el1/budle/public/com.ohos.contactsdataability"\ in BenchmarkTestForReadFromParcel() 65 info.resourcePath = "/data/app/el1/budle/public/com.ohos.contactsdataability"\ in BenchmarkTestForMarshalling() 89 info.resourcePath = "/data/app/el1/budle/public/com.ohos.contactsdataability"\ in BenchmarkTestForUnmarshalling()
|
/foundation/bundlemanager/bundle_framework/test/benchmarktest/ability_info_test/ |
H A D | ability_info_test.cpp | 49 info.resourcePath = "/data/app/el1/budle/public/com.ohos.contactsdataability"\ in BenchmarkTestForReadFromParcel() 87 info.resourcePath = "/data/app/el1/budle/public/com.ohos.contactsdataability"\ in BenchmarkTestForMarshalling() 124 info.resourcePath = "/data/app/el1/budle/public/com.ohos.contactsdataability"\ in BenchmarkTestForUnmarshalling()
|
/foundation/bundlemanager/bundle_framework/test/benchmarktest/extension_ability_info_test/ |
H A D | extension_ability_info_test.cpp | 41 info.resourcePath = "/data/app/el1/budle/public/com.ohos.contactsdataability"\ in BenchmarkTestForReadFromParcel() 79 info.resourcePath = "/data/app/el1/budle/public/com.ohos.contactsdataability"\ in BenchmarkTestForMarshalling() 116 info.resourcePath = "/data/app/el1/budle/public/com.ohos.contactsdataability"\ in BenchmarkTestForUnmarshalling()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | bundle_mgr_proxy.cpp | 185 extensionInfo.resourcePath = std::move(item.resourcePath); in ConvertExtensionAbility() 189 item.metadata, extensionInfo.resourcePath, extensionInfo.hapPath, DATA_SHARE_EXTENSION_META); in ConvertExtensionAbility() 210 hapModuleInfo.resourcePath = std::move(item.resourcePath); in ConvertHapModuleInfo() 221 std::vector<AppExecFwk::Metadata>{proxyData.metadata}, hapModuleInfo.resourcePath, in ConvertHapModuleInfo()
|
H A D | bundle_mgr_proxy.h | 41 std::string resourcePath; member 52 std::string resourcePath; member
|
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_client_system_test/ |
H A D | bundle_mgr_client_system_test.cpp | 281 * 1. extensionAbilityInfo is invalid, resourcePath is empty 293 info.resourcePath = ""; in HWTEST_F() 306 * 1. extensionAbilityInfo is invalid, resourcePath is not existed 318 info.resourcePath = "resourcePath"; in HWTEST_F() 343 info.resourcePath = RESOURCE_PATH; in HWTEST_F() 365 info.resourcePath = RESOURCE_PATH; in HWTEST_F() 392 info.resourcePath = RESOURCE_PATH; in HWTEST_F() 583 info.resourcePath = RESOURCE_PATH; in HWTEST_F() 611 info.resourcePath in HWTEST_F() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/ |
H A D | data_share_profile_config.cpp | 119 std::string resourcePath = !hapPath.empty() ? hapPath : resPath; in GetDataProperties() local 120 std::string info = GetProfileInfoByMetadata(metadata, resourcePath, hapPath, name); in GetDataProperties() 131 const std::string &resourcePath, const std::string &hapPath, const std::string &name) in GetProfileInfoByMetadata() 134 if (metadata.empty() || resourcePath.empty()) { in GetProfileInfoByMetadata() 141 std::shared_ptr<ResourceManager> resMgr = InitResMgr(resourcePath); in GetProfileInfoByMetadata() 151 std::shared_ptr<ResourceManager> DataShareProfileConfig::InitResMgr(const std::string &resourcePath) in InitResMgr() argument 163 resMgr->AddResource(resourcePath.c_str()); in InitResMgr() 130 GetProfileInfoByMetadata(const std::vector<AppExecFwk::Metadata> &metadata, const std::string &resourcePath, const std::string &hapPath, const std::string &name) GetProfileInfoByMetadata() argument
|
H A D | data_share_profile_config.h | 83 static std::shared_ptr<ResourceManager> InitResMgr(const std::string &resourcePath); 85 const std::string &resourcePath, const std::string &hapPath, const std::string &name);
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ |
H A D | context_deal_test.cpp | 175 std::string resourcePath = "ResourcePath"; in HWTEST_F() local 176 info->resourcePath = resourcePath; in HWTEST_F() 179 EXPECT_STREQ(context_->GetBundleResourcePath().c_str(), resourcePath.c_str()); in HWTEST_F() 190 std::string resourcePath = "/data/app/el1/bundle/public"; in HWTEST_F() local 191 info->resourcePath = resourcePath; in HWTEST_F()
|
H A D | context_container_test.cpp | 194 std::string resourcePath = "ResourcePath"; in HWTEST_F() local 195 info->resourcePath = resourcePath; in HWTEST_F() 199 EXPECT_STREQ(context_->GetBundleResourcePath().c_str(), resourcePath.c_str()); in HWTEST_F() 377 std::string resourcePath = "ResourcePath"; in HWTEST_F() local 378 info->resourcePath = resourcePath; in HWTEST_F() 382 EXPECT_STREQ(context_->GetAbilityInfo()->resourcePath.c_str(), resourcePath.c_str()); in HWTEST_F() 534 info.resourcePath in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/utils/server/startup/src/ |
H A D | startup_util.cpp | 89 abilityInfo.resourcePath = extensionInfo.resourcePath; in InitAbilityInfoFromExtension()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_mgr_client_impl.h | 75 const std ::string &resourcePath, bool isCompressed, std::vector<std::string> &profileInfos) const; 77 std::shared_ptr<Global::Resource::ResourceManager> InitResMgr(const std::string &resourcePath) const;
|
/foundation/ability/ability_runtime/frameworks/simulator/common/include/ |
H A D | extension_ability_info.h | 105 std::string resourcePath; member
|
H A D | hap_module_info.h | 110 std::string resourcePath; member
|
H A D | options.h | 74 std::string resourcePath; member
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | ability_context_test.cpp | 289 std::string resourcePath = "hello"; in HWTEST_F() local 290 abilityInfo->resourcePath = resourcePath; in HWTEST_F() 296 EXPECT_STREQ(resourcePath.c_str(), context_->GetBundleResourcePath().c_str()); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | extension_ability_info.cpp | 50 const char* RESOURCE_PATH = "resourcePath"; 225 resourcePath = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel() 321 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(resourcePath)); in Marshalling() 372 {RESOURCE_PATH, extensionInfo.resourcePath}, in to_json() 523 extensionInfo.resourcePath, in from_json()
|
/foundation/ability/ability_runtime/test/moduletest/ability_record_test/ |
H A D | ability_record_module_test.cpp | 57 a.resourcePath == b.resourcePath && a.libPath == b.libPath; in operator ==() 134 testAbilityRequest_.abilityInfo.resourcePath = "/test"; in SetUpTestCase()
|
/foundation/ability/ability_runtime/test/unittest/appkit/main_fourth_test/ |
H A D | main_fourth_test.cpp | 385 info.resourcePath = "/data/app/el1/budle/public/com.ohos.contactsdataability"\ in HWTEST_F() 410 info.resourcePath = ""; in HWTEST_F() 441 info.resourcePath = "/data/app/el1/budle/public/com.ohos.contactsdataability"\ in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components/plugin/ |
H A D | plugin_element.cpp | 408 info.moduleResPath = abilityInfo.resourcePath; in GetPackagePathByBms() 413 info.moduleResPath = bundleInfo.hapModuleInfos[0].resourcePath; in GetPackagePathByBms() 421 info.moduleResPath = result->resourcePath; in GetPackagePathByBms()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/ |
H A D | isolated_pattern.cpp | 28 constexpr char RESOURCE_PATH[] = "resourcePath"; 92 auto resourcePath = want.GetStringParam(RESOURCE_PATH); in InitializeIsolatedComponent() local 96 if (resourcePath.empty() || abcPath.empty() || entryPoint.empty() || runtime == nullptr) { in InitializeIsolatedComponent() 103 curIsolatedInfo_.reourcePath = resourcePath; in InitializeIsolatedComponent()
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/ |
H A D | extension_ability_info.cpp | 47 const std::string RESOURCE_PATH = "resourcePath"; 75 {RESOURCE_PATH, extensionInfo.resourcePath}, in to_json() 236 extensionInfo.resourcePath, in from_json()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/ui_extension/ |
H A D | isolated_pattern_test_ng.cpp | 38 constexpr char RESOURCE_PATH[] = "resourcePath";
135 auto resourcePath = want.GetStringParam(RESOURCE_PATH);
in HWTEST_F() local 140 isolatedPattern->curIsolatedInfo_.reourcePath = resourcePath;
in HWTEST_F()
|