Home
last modified time | relevance | path

Searched refs:resTypeName (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dresource_manager_test_hap.cpp1095 const std::string resTypeName = "app.string.entry_MainAbility"; variable
1097 RState state = rm->GetResId(resTypeName, id);
1111 const std::string resTypeName = "app.media.icon"; variable
1113 RState state = rm->GetResId(resTypeName, id);
1129 RState state = rm->GetResId(resTypeName, id);
1143 const std::string resTypeName = "app.string.xxx"; variable
1145 RState state = rm->GetResId(resTypeName, id);
1159 const std::string resTypeName = "xxx.string.entry_MainAbility"; variable
1161 RState state = rm->GetResId(resTypeName, id);
1175 const std::string resTypeName = "app.xxx.entry_MainAbility"; variable
[all …]
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dresource_adapter_impl.cpp418 const std::string& resTypeName, Global::Resource::ResourceType& resType) const in ConvertToGlobalResourceType() argument
420 if (resTypeName == "color") { in ConvertToGlobalResourceType()
424 if (resTypeName == "float") { in ConvertToGlobalResourceType()
428 if (resTypeName == "string") { in ConvertToGlobalResourceType()
432 if (resTypeName == "media") { in ConvertToGlobalResourceType()
436 LOGE("unsupported resource type(=%{public}s)", resTypeName.c_str()); in ConvertToGlobalResourceType()
H A Dresource_adapter_impl.h54 …bool ConvertToGlobalResourceType(const std::string& resTypeName, Global::Resource::ResourceType& r…
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dhap_manager.cpp1042 std::tuple<std::string, std::string> GetResTypeAndResName(const std::string &resTypeName) in GetResTypeAndResName() argument
1045 auto pos1 = resTypeName.find('.'); in GetResTypeAndResName()
1046 auto pos2 = resTypeName.rfind('.'); in GetResTypeAndResName()
1053 const std::string resType = resTypeName.substr(pos1 + 1, pos2 - pos1 - 1); in GetResTypeAndResName()
1057 const std::string resName = resTypeName.substr(pos2 + 1); in GetResTypeAndResName()
1065 RState HapManager::GetResId(const std::string &resTypeName, uint32_t &resId) in GetResId() argument
1067 auto typeNameTuple = GetResTypeAndResName(resTypeName); in GetResId()
1071 RESMGR_HILOGE(RESMGR_TAG, "invalid resTypeName = %{public}s", resTypeName.c_str()); in GetResId()
1074 bool isSystem = IsPrefix("sys", resTypeName); in GetResId()
1075 bool isApp = IsPrefix("app", resTypeName); in GetResId()
[all …]
H A Dresource_manager_impl.cpp1641 RState ResourceManagerImpl::GetResId(const std::string &resTypeName, uint32_t &resId) in GetResId() argument
1643 return hapManager_->GetResId(resTypeName, resId); in GetResId()
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/
H A Dhap_manager.h350 RState GetResId(const std::string &resTypeName, uint32_t &resId);
H A Dresource_manager_impl.h604 virtual RState GetResId(const std::string &resTypeName, uint32_t &resId);
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/include/
H A Dmock_resource_manager_impl.h539 virtual RState GetResId(const std::string &resTypeName, uint32_t &resId);
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/
H A Dmock_resource_manager.cpp323 RState GetResId(const std::string &resTypeName, uint32_t &resId) in GetResId() argument
/ohos5.0/base/global/resource_management/interfaces/inner_api/include/
H A Dresource_manager.h197 virtual RState GetResId(const std::string &resTypeName, uint32_t &resId) = 0;