Searched refs:SetErrorMsg (Results 1 - 7 of 7) sorted by relevance
/base/global/resource_management/interfaces/js/innerkits/core/src/ |
H A D | resource_manager_napi_utils.cpp | 166 dataContext.SetErrorMsg("Failed to create array"); in CreateJsArray() 173 dataContext.SetErrorMsg("Failed to create string item"); in CreateJsArray() 178 dataContext.SetErrorMsg("Failed to set array item"); in CreateJsArray() 191 context.SetErrorMsg("Failed to create media array buffer"); in CreateJsUint8Array() 198 context.SetErrorMsg("Failed to create media typed array"); in CreateJsUint8Array() 210 context.SetErrorMsg("Failed to copy media to buffer"); in CreateJsUint8Array() 221 context.SetErrorMsg("Failed to create result"); in CreateJsRawFd() 228 context.SetErrorMsg("Failed to create fd"); in CreateJsRawFd() 233 context.SetErrorMsg("Failed to set fd"); in CreateJsRawFd() 240 context.SetErrorMsg("Faile in CreateJsRawFd() [all...] |
H A D | resource_manager_napi_sync_impl.cpp | 326 dataContext->SetErrorMsg("GetStringSync failed state", true); in ProcessStrResource() 341 dataContext->SetErrorMsg("Failed to init para in GetStringSync", true); in GetStringSync() 348 dataContext->SetErrorMsg("Failed to process string in GetStringSync", true); in GetStringSync() 369 dataContext->SetErrorMsg("GetSymbol failed state", true); in ProcessSymbolResource() 383 dataContext->SetErrorMsg("Failed to init para in GetSymbol", true); in GetSymbol() 390 dataContext->SetErrorMsg("Failed to process symbol in GetSymbol", true); in GetSymbol() 411 dataContext->SetErrorMsg("GetColor failed state", true); in ProcessColorResource() 426 dataContext->SetErrorMsg("Failed to init para in GetColorSync", true); in GetColorSync() 433 dataContext->SetErrorMsg("Failed to process string in GetColorSync", true); in GetColorSync() 468 dataContext->SetErrorMsg("Faile in GetNumber() [all...] |
H A D | resource_manager_napi_async_impl.cpp | 414 dataContext->SetErrorMsg("Failed to get string, invalid bundleName or moduleName", 420 dataContext->SetErrorMsg("GetStringById failed state", true, state); 449 dataContext->SetErrorMsg("GetStringByName failed state", false, state); 475 dataContext->SetErrorMsg("Failed to get string array, invalid bundleName or moduleName", 481 dataContext->SetErrorMsg("GetStringArrayById failed state", true, state); 488 dataContext->SetErrorMsg("GetStringArrayByName failed state", false, state); 529 dataContext->SetErrorMsg("Failed to get media data, invalid bundleName or moduleName", 536 dataContext->SetErrorMsg("Failed to get media data in getMediaFunc", true, state); 573 dataContext->SetErrorMsg("Failed to get media data, invalid bundleName or moduleName", 579 dataContext->SetErrorMsg("Faile [all...] |
/base/powermgr/battery_manager/frameworks/napi/include/ |
H A D | system_battery.h | 38 void SetErrorMsg(int32_t code, const std::string& msg);
|
/base/global/resource_management/interfaces/js/innerkits/core/include/ |
H A D | resource_manager_data_context.h | 68 void SetErrorMsg(const std::string &msg, bool withResId = false, int32_t errCode = 0) in SetErrorMsg() function
|
/base/powermgr/battery_manager/frameworks/napi/src/ |
H A D | system_battery.cpp | 48 error_.SetErrorMsg(COMMON_ERROR_COED, GET_BATTERY_ERROR_MSG);
in GetBatteryStats() 189 void SystemBattery::Error::SetErrorMsg(int32_t code, const std::string& msg)
in SetErrorMsg() function in SystemBattery::Error
|
/base/global/resource_management/interfaces/js/kits/src/ |
H A D | resource_manager_napi.cpp | 55 context.SetErrorMsg("Failed to get ResourceManagerAddon"); in ExecuteGetResMgr()
|
Completed in 6 milliseconds