/base/global/resource_management/interfaces/native/resource/include/ |
D | ohresmgr.h | 88 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/ |
D | hisysevent_adapter.cpp | 49 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()
|
D | hisysevent_adapter.h | 28 void ReportGetResourceByNameFail(const std::string& resName, const std::string& result, const std::…
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | native_resource_manager.cpp | 65 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()
|
D | theme_pack_manager.cpp | 213 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()
|
D | theme_pack_resource.cpp | 215 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()
|
D | hap_manager.cpp | 1041 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()
|
D | resource_manager_impl.cpp | 1550 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/ |
D | theme_pack_resource.h | 36 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()
|
D | theme_pack_manager.h | 85 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);
|
D | resource_manager_impl.h | 665 …virtual RState GetDynamicIcon(const std::string &resName, std::pair<std::unique_ptr<uint8_t[]>, si…
|
/base/powermgr/display_manager/state_manager/frameworks/napi/ |
D | brightness_module.cpp | 42 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/ |
D | resource_manager.h | 227 …virtual RState GetDynamicIcon(const std::string &resName, std::pair<std::unique_ptr<uint8_t[]>, si…
|