Home
last modified time | relevance | path

Searched refs:RESMGR_HILOGE (Results 1 - 25 of 25) sorted by relevance

/base/global/resource_management/frameworks/resmgr/src/
H A Dnative_resource_manager.cpp37 RESMGR_HILOGE(RESMGR_NATIVE_TAG, "%{public}s malloc error", apiName.c_str()); in copyStringArray()
44 RESMGR_HILOGE(RESMGR_NATIVE_TAG, "%{public}s malloc error", apiName.c_str()); in copyStringArray()
49 RESMGR_HILOGE(RESMGR_NATIVE_TAG, "%{public}s strncpy_s error", apiName.c_str()); in copyStringArray()
62 RESMGR_HILOGE(RESMGR_NATIVE_TAG, in copyLocalInfo()
69 RESMGR_HILOGE(RESMGR_NATIVE_TAG, in copyLocalInfo()
85 RESMGR_HILOGE(RESMGR_NATIVE_TAG, "GetConfiguration malloc error"); in copyLocalInfo()
89 RESMGR_HILOGE(RESMGR_NATIVE_TAG, "GetConfiguration locale strncpy_s error"); in copyLocalInfo()
102 RESMGR_HILOGE(RESMGR_NATIVE_TAG, "%{public}s malloc error", apiName.c_str()); in copyString()
106 RESMGR_HILOGE(RESMGR_NATIVE_TAG, "%{public}s strncpy_s error", apiName.c_str()); in copyString()
130 RESMGR_HILOGE(RESMGR_NATIVE_TA in OH_ResourceManager_GetMediaBase64Data()
[all...]
H A Dresource_manager_impl.cpp70 RESMGR_HILOGE(RESMGR_TAG, "new ResConfigImpl failed when ResourceManagerImpl::Init"); in Init()
75 RESMGR_HILOGE(RESMGR_TAG, "new HapManager failed when ResourceManagerImpl::Init"); in Init()
84 RESMGR_HILOGE(RESMGR_TAG, "ResourceManagerImpl::Init, hapManager is nullptr"); in Init()
95 RESMGR_HILOGE(RESMGR_TAG, "GetStringById error id = %{public}d", id); in GetStringById()
109 RESMGR_HILOGE(RESMGR_TAG, "GetStringByName error name = %{public}s", name); in GetStringByName()
208 RESMGR_HILOGE(RESMGR_TAG, "GetStringArrayById error id = %{public}d", id); in GetStringArrayById()
223 RESMGR_HILOGE(RESMGR_TAG, "GetStringArrayByName error name = %{public}s", name); in GetStringArrayByName()
268 RESMGR_HILOGE(RESMGR_TAG, "GetPatternById error id = %{public}d", id); in GetPatternById()
282 RESMGR_HILOGE(RESMGR_TAG, "GetPatternByName error name = %{public}s", name); in GetPatternByName()
297 RESMGR_HILOGE(RESMGR_TA in GetPattern()
[all...]
H A Dresource_manager.cpp38 RESMGR_HILOGE(RESMGR_TAG, "new ResourceManagerImpl failed when CreateResourceManager"); in CreateResourceManager()
58 RESMGR_HILOGE(RESMGR_TAG, "bundleName or hapPath is empty when CreateResourceManagerDef"); in CreateResourceManagerDef()
63 RESMGR_HILOGE(RESMGR_TAG, "CreateResourceManagerDef failed bundleName = %{public}s moduleName = %{public}s", in CreateResourceManagerDef()
84 RESMGR_HILOGE(RESMGR_TAG, "bundleName is empty when CreateResourceManagerExt"); in CreateResourceManagerExt()
90 RESMGR_HILOGE(RESMGR_TAG, "ResourceManagerExt init fail"); in CreateResourceManagerExt()
H A Dhap_resource.cpp111 RESMGR_HILOGE(RESMGR_TAG, "file size is zero"); in LoadFromIndex()
117 RESMGR_HILOGE(RESMGR_TAG, "Error allocating memory"); in LoadFromIndex()
129 RESMGR_HILOGE(RESMGR_TAG, "new ResDesc failed when LoadFromIndex"); in LoadFromIndex()
136 RESMGR_HILOGE(RESMGR_TAG, "ParseResHex failed! retcode:%d", out); in LoadFromIndex()
144 RESMGR_HILOGE(RESMGR_TAG, "new HapResource failed when LoadFromIndex"); in LoadFromIndex()
181 RESMGR_HILOGE(RESMGR_TAG, "failed to get buf data indexFilePath, %{public}s", indexFilePath.c_str()); in GetIndexData()
195 RESMGR_HILOGE(RESMGR_TAG, "read Index from file failed path, %{public}s", path); in LoadFromHap()
200 RESMGR_HILOGE(RESMGR_TAG, "new ResDesc failed when LoadFromHap"); in LoadFromHap()
206 RESMGR_HILOGE(RESMGR_TAG, "ParseResHex failed! retcode:%{public}d", out); in LoadFromHap()
228 RESMGR_HILOGE(RESMGR_TA in LoadOverlays()
[all...]
H A Draw_file_manager.cpp97 RESMGR_HILOGE(RESMGR_RAWFILE_TAG, "jsResMgr is not an object"); in OH_ResourceManager_InitNativeResourceManager()
103 RESMGR_HILOGE(RESMGR_RAWFILE_TAG, "Failed to get native resourcemanager"); in OH_ResourceManager_InitNativeResourceManager()
107 RESMGR_HILOGE(RESMGR_RAWFILE_TAG, "Failed to unwrap, addonPtr is null"); in OH_ResourceManager_InitNativeResourceManager()
194 RESMGR_HILOGE(RESMGR_RAWFILE_TAG, "failed get file buffer"); in LoadRawFileFromHap()
199 RESMGR_HILOGE(RESMGR_RAWFILE_TAG, "failed open file %{public}s", hapPath.c_str()); in LoadRawFileFromHap()
277 RESMGR_HILOGE(RESMGR_RAWFILE_TAG, "failed to copy to buf"); in OH_ResourceManager_ReadRawFile()
360 RESMGR_HILOGE(RESMGR_RAWFILE_TAG, "GetRawFileDescriptorFromHap failed"); in GetRawFileDescriptorFromHap()
385 RESMGR_HILOGE(RESMGR_RAWFILE_TAG, "failed to PathCanonicalizeA the rawFile path"); in OH_ResourceManager_GetRawFileDescriptorData()
389 RESMGR_HILOGE(RESMGR_RAWFILE_TAG, "failed to realpath the rawFile path"); in OH_ResourceManager_GetRawFileDescriptorData()
452 RESMGR_HILOGE(RESMGR_RAWFILE_TA in LoadRawFileFromHap64()
[all...]
H A Dresource_manager_ext_mgr.cpp48 RESMGR_HILOGE(RESMGR_TAG, "open so fail"); in Init()
61 RESMGR_HILOGE(RESMGR_TAG, "CreateResMgrExt fail."); in Init()
H A Dtheme_pack_resource.cpp148 RESMGR_HILOGE(RESMGR_TAG, "fopen failed in ParseJson"); in ParseJson()
156 RESMGR_HILOGE(RESMGR_TAG, "failed malloc in ParseJson"); in ParseJson()
190 RESMGR_HILOGE(RESMGR_TAG, "invalid iconPath = %{public}s in ParseIcon", iconPath.c_str()); in ParseIcon()
230 RESMGR_HILOGE(RESMGR_TAG, "opendir failed strCurrentDir = %{public}s", strCurrentDir.c_str()); in GetFiles()
259 RESMGR_HILOGE(RESMGR_TAG, "invalid rootDir = %{public}s in GetBundleInfo", rootDir.c_str()); in GetBundleInfo()
265 RESMGR_HILOGE(RESMGR_TAG, "invalid path = %{public}s in GetBundleInfo", path.c_str()); in GetBundleInfo()
279 RESMGR_HILOGE(RESMGR_TAG, "Invalid rootDir in LoadThemeResource = %{public}s", rootDir.c_str()); in LoadThemeResource()
288 RESMGR_HILOGE(RESMGR_TAG, "invalid resPath = %{public}s", path.c_str()); in LoadThemeResource()
305 RESMGR_HILOGE(RESMGR_TAG, "invalid themePath = %{public}s", themePath.c_str()); in GetThemeResBundleName()
319 RESMGR_HILOGE(RESMGR_TA in GetIconsBundleName()
[all...]
H A Dhap_manager.cpp118 RESMGR_HILOGE(RESMGR_TAG, "GetPluralRules language is null!"); in GetPluralRulesAndSelect()
137 RESMGR_HILOGE(RESMGR_TAG, "icu::Locale init error : %s", language.c_str()); in GetPluralRulesAndSelect()
143 RESMGR_HILOGE(RESMGR_TAG, "icu::PluralRules::forLocale error : %d", status); in GetPluralRulesAndSelect()
213 RESMGR_HILOGE(RESMGR_TAG, "completeOverrideConfig or resConfig_ or overrideResConfig_ is nullptr"); in getCompleteOverrideConfig()
218 RESMGR_HILOGE(RESMGR_TAG, "getCompleteOverrideConfig copy failed"); in getCompleteOverrideConfig()
224 RESMGR_HILOGE(RESMGR_TAG, "getCompleteOverrideConfig CopyLocaleAndPreferredLocale failed"); in getCompleteOverrideConfig()
317 RESMGR_HILOGE(RESMGR_TAG, "index path format error, %s", indexPath.c_str()); in FindRawFile()
334 RESMGR_HILOGE(RESMGR_TAG, "FindRawFile path to realpath error"); in FindRawFile()
436 RESMGR_HILOGE(RESMGR_TAG, "invalid overlayPath, %{public}s", overlayPath.c_str()); in AddAppOverlay()
451 RESMGR_HILOGE(RESMGR_TA in RemoveAppOverlay()
[all...]
H A Dtheme_pack_manager.cpp126 RESMGR_HILOGE(RESMGR_TAG, "invalid dir = %{public}s in LoadThemeSkinResource", dir.c_str()); in LoadThemeSkinResource()
311 RESMGR_HILOGE(RESMGR_TAG, "invalid dir = %{public}s in LoadThemeIconsResource", dir.c_str()); in LoadThemeIconsResource()
394 RESMGR_HILOGE(RESMGR_TAG, "no found, iconName = %{public}s", iconName.c_str()); in GetOtherIconsInfo()
403 RESMGR_HILOGE(RESMGR_TAG, "save fail, iconName = %{public}s, ret = %{public}d", iconName.c_str(), ret); in GetOtherIconsInfo()
430 RESMGR_HILOGE(RESMGR_TAG, "get icon info fail, ret = %{public}d", ret); in GetThemeIconFromCache()
H A Dsystem_resource_manager.cpp84 RESMGR_HILOGE(RESMGR_TAG, "new ResourceManagerImpl failed when CreateSystemResourceManager"); in CreateSystemResourceManager()
H A Dres_desc.cpp153 RESMGR_HILOGE(RESMGR_TAG, "memcpy_s error : %d", eret); in ConvertToStr()
/base/global/resource_management/interfaces/js/kits/src/
H A Dsendable_resource_manager_napi.cpp61 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get resource object"); in GetResourceProp()
69 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get resource bundleName property"); in GetResourceProp()
77 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get resource moduleName property"); in GetResourceProp()
85 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get resource id property"); in GetResourceProp()
91 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get resource params property"); in GetResourceProp()
97 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get resource type property"); in GetResourceProp()
116 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get resource params property type"); in GetParams()
125 RESMGR_HILOGE(RESMGR_JS_TAG, "Resource params property params is error"); in GetParams()
134 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to create array, status = %{public}d", status); in GetParams()
140 RESMGR_HILOGE(RESMGR_JS_TA in GetParams()
[all...]
H A Dresource_manager_napi.cpp68 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get global"); in GetGlobalAbility()
127 RESMGR_HILOGE(RESMGR_JS_TAG, "init async context failed"); in getResult()
137 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to create async work for getResourceManager %{public}d", status); in getResult()
142 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to queue async work for getResourceManager %{public}d", status); in getResult()
164 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get objContext"); in GetResourceManager()
169 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get context"); in GetResourceManager()
177 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get bundle name length"); in GetResourceManager()
183 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get bundle name"); in GetResourceManager()
280 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to set getResourceManager at init"); in ResMgrInit()
293 RESMGR_HILOGE(RESMGR_JS_TA in ResMgrInit()
[all...]
/base/global/resource_management/interfaces/js/innerkits/core/src/
H A Dresource_manager_napi_utils.cpp95 RESMGR_HILOGE(RESMGR_JS_TAG, "Invalid param, not string"); in GetResNameOrPath()
101 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get resName or rawfile path length"); in GetResNameOrPath()
107 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get resName or raw file path"); in GetResNameOrPath()
122 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get value type"); in GetResId()
126 RESMGR_HILOGE(RESMGR_JS_TAG, "Invalid param, not number"); in GetResId()
132 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get id number"); in GetResId()
321 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get resource name property"); in GetResourceObjectName()
325 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get resource name string"); in GetResourceObjectName()
331 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get resource len"); in GetResourceObjectName()
337 RESMGR_HILOGE(RESMGR_JS_TA in GetResourceObjectName()
[all...]
H A Dresource_manager_napi_sync_impl.cpp125 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get addon in InitPathAddon"); in InitPathAddon()
144 RESMGR_HILOGE(RESMGR_JS_TAG, in GetRawFileListSync()
153 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get rawfile list by %{public}s", dataContext->path_.c_str()); in GetRawFileListSync()
169 RESMGR_HILOGE(RESMGR_JS_TAG, in GetRawFileContentSync()
178 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get rawfile by %{public}s", dataContext->path_.c_str()); in GetRawFileContentSync()
194 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to init para in GetRawFdSync by %{public}s", dataContext->path_.c_str()); in GetRawFdSync()
202 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get rawfd by %{public}s", dataContext->path_.c_str()); in GetRawFdSync()
217 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to init para in CloseRawFdSync by %{public}s", dataContext->path_.c_str()); in CloseRawFdSync()
224 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to close rawfd by %{public}s", dataContext->path_.c_str()); in CloseRawFdSync()
243 RESMGR_HILOGE(RESMGR_JS_TA in InitParamsFromParamArray()
[all...]
H A Dresource_manager_napi_async_impl.cpp137 RESMGR_HILOGE(RESMGR_JS_TAG, "napi_resolve_deferred failed"); in Complete()
142 RESMGR_HILOGE(RESMGR_JS_TAG, "napi_reject_deferred failed"); in Complete()
150 RESMGR_HILOGE(RESMGR_JS_TAG, "napi_get_reference_value failed status=%{public}d", status); in Complete()
156 RESMGR_HILOGE(RESMGR_JS_TAG, "napi_call_function failed status=%{public}d", status); in Complete()
161 RESMGR_HILOGE(RESMGR_JS_TAG, "napi_call_function failed status=%{public}d", status); in Complete()
183 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to create async work for %{public}s", name.c_str()); in GetResult()
187 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to queue async work for %{public}s", name.c_str()); in GetResult()
276 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get native Resource object"); in ProcessResourceParamV9()
353 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get native Resource object"); in ProcessIdNameParam()
358 RESMGR_HILOGE(RESMGR_JS_TA in ProcessIdNameParam()
[all...]
H A Dresource_manager_addon.cpp45 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to init resource manager addon"); in WrapResourceManager()
51 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to WrapResourceManager in Create, g_constructor is null"); in WrapResourceManager()
56 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to get reference value in Create, status = %{public}d", status); in WrapResourceManager()
62 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to new instance in Create, status = %{public}d", status); in WrapResourceManager()
70 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to wrape in Create"); in WrapResourceManager()
195 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to define class at Init"); in Init()
201 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to create reference at init"); in Init()
/base/global/resource_management/dfx/hisysevent_adapter/
H A Dhisysevent_adapter.cpp31 RESMGR_HILOGE(RESMGR_TAG, "HiSysEventWrite failed! ret %{public}d, bundleName %{public}s, errMsg %{public}s", in ReportInitResourceManagerFail()
44 RESMGR_HILOGE(RESMGR_TAG, in ReportGetResourceByIdFail()
58 RESMGR_HILOGE(RESMGR_TAG, in ReportGetResourceByNameFail()
71 RESMGR_HILOGE(RESMGR_TAG, in ReportAddResourcePathFail()
/base/global/resource_management/frameworks/resmgr/src/utils/
H A Dhap_parser.cpp77 RESMGR_HILOGE(RESMGR_TAG, "GetCurrentFileInfo failed"); in GetCurrentFileInfo()
89 RESMGR_HILOGE(RESMGR_TAG, "Error allocating memory for read buffer"); in ReadCurrentFile()
95 RESMGR_HILOGE(RESMGR_TAG, "Error %d in unzOpenCurrentFilePassword.", err); in ReadCurrentFile()
101 RESMGR_HILOGE(RESMGR_TAG, "Error %d in unzReadCurrentFile", err); in ReadCurrentFile()
167 RESMGR_HILOGE(RESMGR_TAG, "read config.json error"); in ParseModuleNameFromHap()
173 RESMGR_HILOGE(RESMGR_TAG, "parse moduleName from config.json error"); in ParseModuleNameFromHap()
204 RESMGR_HILOGE(RESMGR_TAG, "Error open %{public}s in ReadIndexFromFile %{public}d", zipFile, errno); in ReadIndexFromFile()
236 RESMGR_HILOGE(RESMGR_TAG, "failed to get config data from ability"); in ParseModuleName()
242 RESMGR_HILOGE(RESMGR_TAG, "parse moduleName from config.json error"); in ParseModuleName()
288 RESMGR_HILOGE(RESMGR_TA in ReadRawFileFromHap()
[all...]
H A Dutils.cpp58 RESMGR_HILOGE(RESMGR_TAG, "get the tempData error"); in GetMediaBase64Data()
79 RESMGR_HILOGE(RESMGR_TAG, "failed to get the file length"); in LoadResourceFile()
433 RESMGR_HILOGE(RESMGR_TAG, "the path is shorter than tail"); in endWithTail()
461 RESMGR_HILOGE(RESMGR_TAG, "path is null"); in CanonicalizePath()
465 RESMGR_HILOGE(RESMGR_TAG, "the length of path longer than len"); in CanonicalizePath()
470 RESMGR_HILOGE(RESMGR_TAG, "failed to canonicalize the path"); in CanonicalizePath()
475 RESMGR_HILOGE(RESMGR_TAG, "failed to realpath the path, %{public}s, errno:%{public}d", path, errno); in CanonicalizePath()
487 RESMGR_HILOGE(RESMGR_TAG, "invalid path, %{public}s", strCurrentDir.c_str()); in GetFiles()
493 RESMGR_HILOGE(RESMGR_TAG, "opendir failed strCurrentDir = %{public}s", strCurrentDir.c_str()); in GetFiles()
H A Dstring_utils.cpp159 RESMGR_HILOGE(RESMGR_TAG, "index of placeholder is too large"); in parseArgs()
222 RESMGR_HILOGE(RESMGR_TAG, "LocalizeNumber failed, status = %{public}d", status); in LocalizeNumber()
240 RESMGR_HILOGE(RESMGR_TAG, "the type of placeholder and param does not match"); in GetReplaceStr()
249 RESMGR_HILOGE(RESMGR_TAG, "the type of placeholder and param does not match"); in GetReplaceStr()
270 RESMGR_HILOGE(RESMGR_TAG, "index of placeholder is too large"); in MatchPlaceholderIndex()
325 RESMGR_HILOGE(RESMGR_TAG, "index of placeholder out of range"); in ReplacePlaceholderWithParams()
/base/global/resource_management/interfaces/js/innerkits/core/include/
H A Dresource_manager_data_context.h74 RESMGR_HILOGE(RESMGR_JS_TAG, "%{public}s id = %{public}d", msg.c_str(), resId_); in SetErrorMsg()
76 RESMGR_HILOGE(RESMGR_JS_TAG, "%{public}s name = %{public}s", msg.c_str(), resName_.c_str()); in SetErrorMsg()
87 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to unwrap"); in GetResourceManagerAddon()
91 RESMGR_HILOGE(RESMGR_JS_TAG, "Failed to unwrap, addonPtr is null"); in GetResourceManagerAddon()
/base/global/resource_management/frameworks/resmgr/include/
H A Dhilog_wrapper.h36 #define RESMGR_HILOGE(tag, fmt, ...) HILOG_IMPL(LOG_CORE, LOG_ERROR, 0xD001E00, tag, fmt, ##__VA_ARGS__) macro
53 #define RESMGR_HILOGE(tag, fmt, ...)
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dhap_resource_test.cpp269 RESMGR_HILOGE(RESMGR_TAG, "ReadIndexFromFile failed! retcode:%d", out); in LoadFromHap()
278 RESMGR_HILOGE(RESMGR_TAG, "ParseResHex failed! retcode:%d", out); in LoadFromHap()
H A Dresource_manager_performance_test.cpp101 RESMGR_HILOGE(RESMGR_TAG, "AddResource failed. test would fail."); in SetUp()
121 RESMGR_HILOGE(RESMGR_TAG, "new ResDesc failed when LoadFromIndex"); in ParseIndexCost()
128 RESMGR_HILOGE(RESMGR_TAG, "ParseResHex failed! retcode:%d", out); in ParseIndexCost()
134 RESMGR_HILOGE(RESMGR_TAG, "new HapResource failed when LoadFromIndex"); in ParseIndexCost()
167 RESMGR_HILOGE(RESMGR_TAG, "file size is zero"); in TestLoadFromIndex()
173 RESMGR_HILOGE(RESMGR_TAG, "Error allocating memory"); in TestLoadFromIndex()

Completed in 21 milliseconds