Home
last modified time | relevance | path

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

12

/base/powermgr/power_manager/frameworks/cj/runninglock/src/
H A Dcj_running_lock_impl.cpp27 PowerErrors error = PowerMgrClient::GetInstance().GetError(); in CJRunningLock()
37 PowerErrors CJRunningLock::GetError() in GetError() function in OHOS::PowerMgr::CJRunningLock
H A Dcj_running_lock_ffi.cpp73 *ret = static_cast<int32_t>(FFI::FFIData::GetData<CJRunningLock>(id)->GetError()); in FfiOHOSRunningLockCreate()
/base/powermgr/power_manager/frameworks/napi/runninglock/
H A Drunninglock_napi.cpp145 return asyncInfo->GetError().ThrowError(env, PowerErrors::ERR_PARAM_INVALID); in CreateAsyncCallback()
157 asyncInfo->GetError().Error(error); in CreateAsyncCallback()
177 return asyncInfo->GetError().ThrowError(env, PowerErrors::ERR_PARAM_INVALID); in CreatePromise()
192 asyncInfo->GetError().Error(error); in CreatePromise()
197 if (asyncInfo->GetError().IsError()) { in CreatePromise()
198 napi_reject_deferred(env, asyncInfo->GetDeferred(), asyncInfo->GetError().GetNapiError(env)); in CreatePromise()
/base/powermgr/battery_statistics/frameworks/napi/src/
H A Dbattery_stats.cpp42 asCallbackInfo->GetError().Error(asCallbackInfo->GetData().GetBatteryStatsInfo()); in StatsAsyncCallBack()
73 asCallbackInfo->GetError().Error(asCallbackInfo->GetData().GetBatteryStatsInfo()); in StatsPromise()
78 if (asCallbackInfo->GetError().IsError()) { in StatsPromise()
79 napi_reject_deferred(env, asCallbackInfo->GetDeferred(), asCallbackInfo->GetError().GetNapiError(env)); in StatsPromise()
/base/powermgr/power_manager/frameworks/cj/runninglock/include/
H A Dcj_running_lock_impl.h32 PowerErrors GetError();
/base/powermgr/display_manager/state_manager/frameworks/napi/
H A Dbrightness.h59 void GetError(napi_env env, napi_value* error, size_t& size) const;
60 napi_value GetError(napi_env& env);
H A Dbrightness.cpp229 void Brightness::Result::GetError(napi_env env, napi_value* error, size_t& size) const in GetError() function in OHOS::DisplayPowerMgr::Brightness::Result
244 napi_value Brightness::Result::GetError(napi_env& env) in GetError() function in OHOS::DisplayPowerMgr::Brightness::Result
274 napi_value error = GetError(env); in ThrowError()
336 return DisplayPowerMgrClient::GetInstance().GetError(); in GetServiceError()
353 result_.GetError(env_, argv, argc); in ExecuteCallback()
/base/powermgr/battery_statistics/frameworks/napi/include/
H A Dasync_callback_info.h45 inline NapiError& GetError() in GetError() function in OHOS::PowerMgr::AsyncCallbackInfo
/base/powermgr/power_manager/frameworks/napi/power/
H A Dpower_napi.cpp234 return asyncInfo->GetError().ThrowError(env, PowerErrors::ERR_PARAM_INVALID); in SetPowerModeCallback()
246 asyncInfo->GetError().Error(error); in SetPowerModeCallback()
264 return asyncInfo->GetError().ThrowError(env, PowerErrors::ERR_PARAM_INVALID); in SetPowerModePromise()
277 asyncInfo->GetError().Error(error); in SetPowerModePromise()
282 if (asyncInfo->GetError().IsError()) { in SetPowerModePromise()
283 napi_reject_deferred(env, asyncInfo->GetDeferred(), asyncInfo->GetError().GetNapiError(env)); in SetPowerModePromise()
/base/powermgr/power_manager/frameworks/napi/utils/
H A Dasync_callback_info.h44 inline NapiErrors& GetError() in GetError() function in OHOS::PowerMgr::AsyncCallbackInfo
H A Dasync_callback_info.cpp83 return PowerMgrClient::GetInstance().GetError(); in CreateRunningLock()
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/
H A Dark_web_accessibility_node_info_impl.cpp32 ArkWebString ArkWebAccessibilityNodeInfoImpl::GetError() in GetError() function in OHOS::ArkWeb::ArkWebAccessibilityNodeInfoImpl
34 return ArkWebStringClassToStruct(nweb_accessibility_node_info_->GetError()); in GetError()
H A Dark_web_accessibility_node_info_impl.h35 ArkWebString GetError() override;
/base/powermgr/display_manager/state_manager/interfaces/inner_api/native/include/
H A Didisplay_power_mgr.h56 virtual DisplayErrors GetError() = 0;
H A Ddisplay_power_mgr_client.h60 DisplayErrors GetError();
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/include/
H A Dark_web_accessibility_node_info.h32 virtual ArkWebString GetError() = 0;
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/
H A Dark_web_accessibility_node_info_wrapper.cpp36 std::string ArkWebAccessibilityNodeInfoWrapper::GetError() in GetError() function in OHOS::ArkWeb::ArkWebAccessibilityNodeInfoWrapper
38 ArkWebString stError = ark_web_accessibility_node_info_->GetError(); in GetError()
H A Dark_web_accessibility_node_info_wrapper.h32 std::string GetError() override;
/base/powermgr/display_manager/state_manager/service/zidl/include/
H A Ddisplay_power_mgr_proxy.h64 virtual DisplayErrors GetError() override;
/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb_accessibility_node_info.h31 virtual std::string GetError() = 0;
/base/powermgr/display_manager/state_manager/service/zidl/src/
H A Ddisplay_power_mgr_stub.cpp224 int32_t error = static_cast<int32_t>(GetError()); in SetBrightnessStub()
474 int32_t error = static_cast<int32_t>(GetError()); in SetMaxBrightnessStub()
492 int32_t error = static_cast<int32_t>(GetError()); in SetMaxBrightnessNitStub()
/base/powermgr/display_manager/state_manager/frameworks/native/
H A Ddisplay_power_mgr_client.cpp252 DisplayErrors DisplayPowerMgrClient::GetError() in GetError() function in OHOS::DisplayPowerMgr::DisplayPowerMgrClient
261 return proxy->GetError(); in GetError()
/base/powermgr/power_manager/interfaces/inner_api/native/include/
H A Dpower_mgr_client.h193 PowerErrors GetError();
/base/powermgr/display_manager/state_manager/service/native/include/
H A Ddisplay_power_mgr_service.h72 virtual DisplayErrors GetError() override;
/base/update/updater/services/script/script_interpreter/
H A Dscript_interpreter.cpp94 return result.GetError(); in Execute()

Completed in 10 milliseconds

12