Home
last modified time | relevance | path

Searched refs:SetErrorMsg (Results 1 – 7 of 7) sorted by relevance

/base/global/resource_management/interfaces/js/innerkits/core/src/
Dresource_manager_napi_utils.cpp165 dataContext.SetErrorMsg("Failed to create array"); in CreateJsArray()
172 dataContext.SetErrorMsg("Failed to create string item"); in CreateJsArray()
177 dataContext.SetErrorMsg("Failed to set array item"); in CreateJsArray()
193 context.SetErrorMsg("Failed to create media external array buffer"); in CreateJsUint8Array()
200 context.SetErrorMsg("Failed to create media typed array"); in CreateJsUint8Array()
212 context.SetErrorMsg("Failed to create result"); in CreateJsRawFd()
219 context.SetErrorMsg("Failed to create fd"); in CreateJsRawFd()
224 context.SetErrorMsg("Failed to set fd"); in CreateJsRawFd()
231 context.SetErrorMsg("Failed to create offset"); in CreateJsRawFd()
236 context.SetErrorMsg("Failed to set offset"); in CreateJsRawFd()
[all …]
Dresource_manager_napi_sync_impl.cpp286 dataContext->SetErrorMsg("GetStringSync failed state", true); in ProcessStrResource()
301 dataContext->SetErrorMsg("Failed to init para in GetStringSync", true); in GetStringSync()
308 dataContext->SetErrorMsg("Failed to process string in GetStringSync", true); in GetStringSync()
329 dataContext->SetErrorMsg("GetSymbol failed state", true); in ProcessSymbolResource()
343 dataContext->SetErrorMsg("Failed to init para in GetSymbol", true); in GetSymbol()
350 dataContext->SetErrorMsg("Failed to process symbol in GetSymbol", true); in GetSymbol()
371 dataContext->SetErrorMsg("GetColor failed state", true); in ProcessColorResource()
386 dataContext->SetErrorMsg("Failed to init para in GetColorSync", true); in GetColorSync()
393 dataContext->SetErrorMsg("Failed to process string in GetColorSync", true); in GetColorSync()
428 dataContext->SetErrorMsg("Failed to init para in GetNumber", true); in GetNumber()
[all …]
Dresource_manager_napi_async_impl.cpp383 dataContext->SetErrorMsg("GetStringById failed state", true, state); in __anon4a63c4c30102()
412 dataContext->SetErrorMsg("GetStringByName failed state", false, state); in __anon4a63c4c30202()
442 dataContext->SetErrorMsg("GetStringArrayById failed state", true, state); in __anon4a63c4c30302()
449 dataContext->SetErrorMsg("GetStringArrayByName failed state", false, state); in __anon4a63c4c30302()
495 dataContext->SetErrorMsg("Failed to get media data in getMediaFunc", true, state); in __anon4a63c4c30402()
536 dataContext->SetErrorMsg("Failed to get media data in getMediaBase64Func", true, state); in __anon4a63c4c30502()
544 … dataContext->SetErrorMsg("Failed to get media data in getMediaBase64Func", false, state); in __anon4a63c4c30502()
599 dataContext->SetErrorMsg("GetPluralString failed", true, state); in __anon4a63c4c30602()
606 dataContext->SetErrorMsg("GetPluralString failed", false, state); in __anon4a63c4c30602()
641 dataContext->SetErrorMsg("GetRawFileContent failed", false, state); in __anon4a63c4c30702()
[all …]
/base/powermgr/battery_manager/frameworks/napi/
Dsystem_battery.h38 void SetErrorMsg(int32_t code, const std::string& msg);
Dsystem_battery.cpp48 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/innerkits/core/include/
Dresource_manager_data_context.h69 void SetErrorMsg(const std::string &msg, bool withResId = false, int32_t errCode = 0)
/base/global/resource_management/interfaces/js/kits/src/
Dresource_manager_napi.cpp55 context.SetErrorMsg("Failed to get ResourceManagerAddon"); in ExecuteGetResMgr()