Home
last modified time | relevance | path

Searched refs:resName (Results 1 – 13 of 13) sorted by relevance

/base/global/resource_management/interfaces/native/resource/include/
Dohresmgr.h88 const char *resName, char **resultValue, uint64_t *resultLen, uint32_t density = 0);
133 …_ErrorCode OH_ResourceManager_GetMediaByName(const NativeResourceManager *mgr, const char *resName,
178 …const char *resName, ArkUI_DrawableDescriptor **drawableDescriptor, uint32_t density = 0, uint32_t…
/base/global/resource_management/dfx/hisysevent_adapter/
Dhisysevent_adapter.cpp49 void ReportGetResourceByNameFail(const std::string& resName, const std::string& result, const std::… in ReportGetResourceByNameFail() argument
53 "NAME", resName, in ReportGetResourceByNameFail()
58 ret, resName.c_str(), result.c_str(), errMsg.c_str()); in ReportGetResourceByNameFail()
Dhisysevent_adapter.h28 void ReportGetResourceByNameFail(const std::string& resName, const std::string& result, const std::…
/base/global/resource_management/frameworks/resmgr/src/
Dnative_resource_manager.cpp65 const char *resName, char **resultValue, uint64_t *resultLen, uint32_t density) in OH_ResourceManager_GetMediaBase64ByName() argument
72 RState state = mgr->resManager->GetMediaBase64DataByName(resName, tempResultValue, density); in OH_ResourceManager_GetMediaBase64ByName()
75 …or(LABEL, "failed get media base64 name = %{public}s, errorCode = %{public}d", resName, errorCode); in OH_ResourceManager_GetMediaBase64ByName()
119 …_ErrorCode OH_ResourceManager_GetMediaByName(const NativeResourceManager *mgr, const char *resName, in OH_ResourceManager_GetMediaByName() argument
128 RState state = mgr->resManager->GetMediaDataByName(resName, len, tempResultValue, density); in OH_ResourceManager_GetMediaByName()
131 …(LABEL, "failed get media resource name = %{public}s, errorCode = %{public}d", resName, errorCode); in OH_ResourceManager_GetMediaByName()
177 …const char *resName, ArkUI_DrawableDescriptor **drawableDescriptor, uint32_t density, uint32_t typ… in OH_ResourceManager_GetDrawableDescriptorByName() argument
199 state = mgr->resManager->GetDynamicIcon(resName, iconInfo, density); in OH_ResourceManager_GetDrawableDescriptorByName()
208 …auto descriptor = DrawableDescriptorFactory::Create(resName, mgr->resManager, state, drawableType,… in OH_ResourceManager_GetDrawableDescriptorByName()
Dtheme_pack_manager.cpp213 std::string resName = idItems[i]->GetItemResName(); in FindThemeResource() local
221 result = GetThemeResource(tempInfo, resType, resName, resConfig); in FindThemeResource()
223 result = GetThemeResource(bundleInfo, resType, resName, resConfig); in FindThemeResource()
233 const ResType &resType, const std::string &resName, const ResConfigImpl &resConfig) in GetThemeResource() argument
235 auto themeQualifierValue = GetThemeQualifierValue(bundInfo, resType, resName, resConfig); in GetThemeResource()
244 … std::pair<std::string, std::string> &bundInfo, const ResType &resType, const std::string &resName) in GetThemeResourceList() argument
257 result = pThemeResource->GetThemeValues(bundInfo, resType, resName); in GetThemeResourceList()
264 const std::string &resName, const ResConfigImpl &resConfig) in GetThemeQualifierValue() argument
266 auto candidates = this->GetThemeResourceList(bundInfo, resType, resName); in GetThemeQualifierValue()
Dtheme_pack_resource.cpp215 std::string resName = std::get<SECOND_ELEMENT>(themeValue); in GetThemeValues() local
216 if (type == resType && resName == name) { in GetThemeValues()
367 if (iconName == iconValues_[i].first.resName) { in GetThemeAppIcon()
Dhap_manager.cpp1041 const std::string resName = resTypeName.substr(pos2 + 1); in GetResTypeAndResName() local
1042 if (resName.empty()) { in GetResTypeAndResName()
1045 typeNameTuple = std::make_tuple(resType, resName); in GetResTypeAndResName()
1053 const std::string resName = std::get<1>(typeNameTuple); in GetResId() local
1054 if (resType.empty() || resName.empty()) { in GetResId()
1080 if (data.first != resName) { in GetResId()
1087 … HILOG_ERROR("GetResId name = %{public}s, resType = %{public}s", resName.c_str(), resType.c_str()); in GetResId()
Dresource_manager_impl.cpp1550 RState ResourceManagerImpl::GetDynamicIcon(const std::string &resName, in GetDynamicIcon() argument
1553 return GetThemeIconInfo(resName, iconInfo.second, iconInfo.first); in GetDynamicIcon()
/base/global/resource_management/frameworks/resmgr/include/
Dtheme_pack_resource.h36 std::string resName; member
39 moduleName(module), resType(type), resName(name) {}; in ThemeKey()
43 && resType == theme.resType && resName == theme.resName;
53 std::size_t h4 = std::hash<std::string>()(theme.resName); in operator()
Dtheme_pack_manager.h85 const ResType &resType, const std::string &resName, const ResConfigImpl &resConfig);
127 …std::pair<std::string, std::string> &bundInfo, const ResType &resType, const std::string &resName);
131 const std::string &resName, const ResConfigImpl &resConfig);
Dresource_manager_impl.h665 …virtual RState GetDynamicIcon(const std::string &resName, std::pair<std::unique_ptr<uint8_t[]>, si…
/base/powermgr/display_manager/state_manager/frameworks/napi/
Dbrightness_module.cpp42 static napi_value SyncWork(napi_env env, const std::string resName, const std::string valName, in SyncWork() argument
57 NAPI_CALL(env, napi_create_string_utf8(env, resName.c_str(), NAPI_AUTO_LENGTH, &resource)); in SyncWork()
/base/global/resource_management/interfaces/inner_api/include/
Dresource_manager.h227 …virtual RState GetDynamicIcon(const std::string &resName, std::pair<std::unique_ptr<uint8_t[]>, si…