Home
last modified time | relevance | path

Searched refs:AddResource (Results 1 – 25 of 64) sorted by relevance

123

/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dresource_manager_test.cpp775 AddResource("en", nullptr, "US");
791 AddResource("zh", nullptr, "CN");
807 AddResource("pl", nullptr, "PL");
829 AddResource("ar", nullptr, "SA");
852 AddResource("ar", nullptr, "SA");
867 AddResource("en", nullptr, "US");
883 AddResource("ar", nullptr, "SA");
898 AddResource("zh", nullptr, "CN");
914 AddResource("ar", nullptr, "SA");
929 AddResource("zh", nullptr, "CN");
[all …]
/ohos5.0/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dresource_manager_test.cpp132 rmc->AddResource("zh", nullptr, nullptr);
298 rmc->AddResource("en", nullptr, "US");
516 rmc->AddResource("zh", nullptr, "CN");
528 rmc->AddResource("zh", nullptr, "CN");
543 rmc->AddResource("zh", nullptr, "CN");
555 rmc->AddResource("zh", nullptr, "CN");
570 rmc->AddResource("zh", nullptr, "CN");
582 rmc->AddResource("zh", nullptr, "CN");
597 rmc->AddResource("zh", nullptr, "CN");
609 rmc->AddResource("zh", nullptr, "CN");
[all …]
H A Dresource_manager_test_string.cpp73 rmc->AddResource("en", nullptr, nullptr);
91 rmc->AddResource("zh", nullptr, nullptr);
109 rmc->AddResource("zh", nullptr, nullptr);
123 rmc->AddResource("en", nullptr, nullptr);
139 rmc->AddResource("zh", nullptr, nullptr);
155 rmc->AddResource("en", nullptr, nullptr);
173 rmc->AddResource("zh", nullptr, nullptr);
191 rmc->AddResource("zh", nullptr, nullptr);
1036 rmc->AddResource("en", nullptr, "US");
1052 rmc->AddResource("zh", nullptr, "CN");
[all …]
H A Dresource_manager_test_media.cpp73 rmc->AddResource("zh", nullptr, "CN");
87 rmc->AddResource("zh", nullptr, "CN");
102 rmc->AddResource("en", nullptr, "US");
116 rmc->AddResource("en", nullptr, "US");
152 rmc->AddResource("en", nullptr, "US");
188 rmc->AddResource("en", nullptr, "US");
224 rmc->AddResource("en", nullptr, "US");
260 rmc->AddResource("en", nullptr, "US");
296 rmc->AddResource("en", nullptr, "US");
322 rmc->AddResource("en", nullptr, "US");
[all …]
H A Dresource_manager_test_hap.cpp78 bool ret = rm->AddResource("/data/test/do_not_exist.hap");
806 bool ret = rm->AddResource(FormatFullPath(g_hapPath).c_str());
831 bool ret = rm->AddResource(FormatFullPath(g_hapPath).c_str());
860 rm->AddResource(FormatFullPath(g_resFilePath).c_str());
877 rm->AddResource(FormatFullPath(g_resFilePath).c_str());
916 rmc->AddResource("en", nullptr, nullptr);
945 rmc->AddResource("en", nullptr, nullptr);
969 rmc->AddResource("zh", nullptr, nullptr);
1026 bool ret = rm->AddResource(FormatFullPath(g_hapPath).c_str());
1057 rmc->AddResource("zh", nullptr, nullptr);
[all …]
H A Dtheme_manager_test.cpp81 bool ret = rm->AddResource(FormatFullPath(g_hapPath).c_str());
103 bool ret = rm->AddResource(FormatFullPath(g_hapPath).c_str());
126 bool ret = rm->AddResource(FormatFullPath(g_hapPath).c_str());
150 bool ret = rm->AddResource(FormatFullPath(g_hapPath).c_str());
171 bool ret = rm->AddResource(FormatFullPath(g_hapPath).c_str());
194 bool ret = rm->AddResource(FormatFullPath(g_hapPath).c_str());
H A Dresource_manager_test_common.cpp86 void ResourceManagerTestCommon::AddResource(const char *language, const char *script, const char *r… in AddResource() function in ResourceManagerTestCommon
98 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); in AddResource()
114 bool ret = rm->AddResource(FormatFullPath(g_hapPath).c_str()); in AddHapResource()
132 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); in AddColorModeResource()
391 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); in TestGetStringFormatById()
403 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); in TestGetStringFormatByIdWithVaArgs()
419 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); in TestGetStringFormatByName()
429 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); in TestGetStringFormatByNameWithVaArgs()
H A Dresource_manager_test_common.h67 void AddResource(const char *language, const char *script, const char *region);
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dsystem_resource_manager.cpp115 return impl->AddResource(sysPkgNamePath.c_str(), overlayPaths); in LoadSystemResource()
117 return impl->AddResource(sysPkgNamePath.c_str()); in LoadSystemResource()
125 result = impl->AddResource(sysHapNamePath.c_str(), overlayPaths); in LoadSystemResource()
127 result = impl->AddResource(sysHapNamePath.c_str()); in LoadSystemResource()
130 result = impl->AddResource(sysHapExtNamePath.c_str()); in LoadSystemResource()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/
H A Dbundle_resource_configuration.cpp58 if (!hapPath.empty() && !resourceManager->AddResource(hapPath.c_str(), in InitResourceGlobalConfig()
97 if (!resourceManager->AddResource(hapPath.c_str(), selectType)) { in InitResourceGlobalConfig()
101 if (!resourceManager->AddResource(hapPath, overlayHaps)) { in InitResourceGlobalConfig()
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dglobal.cpp167 bool ret = hapManager.AddResource(path); in GLOBAL_GetValueById()
200 bool ret = hapManager.AddResource(path); in GLOBAL_GetValueByName()
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/
H A Dhap_manager.h79 bool AddResource(const char *path, const uint32_t &selectedTypes);
87 bool AddResource(const std::string &path, const std::vector<std::string> &overlayPaths);
H A Dresource_manager_impl.h63 virtual bool AddResource(const char *path, const uint32_t &selectedTypes = SELECT_ALL);
71 virtual bool AddResource(const std::string &path, const std::vector<std::string> &overlayPaths);
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/include/
H A Dhap_manager.h60 bool AddResource(const char *path);
H A Dresource_manager.h31 virtual bool AddResource(const char *path) = 0;
H A Dresource_manager_impl.h40 virtual bool AddResource(const char *path);
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Dresource_manager_addon.cpp126 DECLARE_NAPI_FUNCTION("addResource", AddResource), in Init()
338 napi_value ResourceManagerAddon::AddResource(napi_env env, napi_callback_info info) in AddResource() function in OHOS::Global::Resource::ResourceManagerAddon
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/include/
H A Dmock_resource_manager_impl.h40 virtual bool AddResource(const char *path);
48 virtual bool AddResource(const std::string &path, const std::vector<std::string> &overlayPaths);
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/
H A Dmock_resource_manager.cpp33 bool ResourceManagerImpl::AddResource(const char *path) in AddResource() function in OHOS::Global::Resource::ResourceManagerImpl
38 bool ResourceManagerImpl::AddResource(const std::string &path, const std::vector<std::string> &over… in AddResource() function in OHOS::Global::Resource::ResourceManagerImpl
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dresource_adapter_impl_standard.cpp140 auto appResRet = newResMgr->AddResource(appResIndexPath.c_str()); in Init()
142 auto sysResRet = newResMgr->AddResource(sysResIndexPath.c_str()); in Init()
146 newResMgr->AddResource(hmsResIndexPath.c_str()); in Init()
/ohos5.0/base/global/resource_management/interfaces/cj/src/
H A Dresource_manager_interface.h59 virtual int32_t AddResource(const char *path) = 0;
/ohos5.0/base/global/resource_management/interfaces/inner_api/include/
H A Dresource_manager.h78 virtual bool AddResource(const char *path, const uint32_t &selectedTypes = SELECT_ALL) = 0;
179 …virtual bool AddResource(const std::string &path, const std::vector<std::string> &overlayPaths) = …
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_resourceManager_interface1.h33 virtual bool AddResource(const char* path) = 0;
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_native_test/include/
H A Dmock_resourceManager_interface1.h33 virtual bool AddResource(const char* path) = 0;
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/
H A Dresource_manager_addon.h130 static napi_value AddResource(napi_env env, napi_callback_info info);

123