/base/time/time_service/framework/js/napi/common/src/ |
H A D | napi_utils.cpp | 101 napi_value NapiUtils::GetCallbackErrorValue(napi_env env, int32_t errCode, const std::string &message) in GetCallbackErrorValue() function in OHOS::MiscServices::Time::NapiUtils 136 NAPI_CALL_RETURN_VOID(env, napi_reject_deferred(env, deferred, GetCallbackErrorValue(env, errorCode, message))); in SetPromise() 149 results[0] = GetCallbackErrorValue(env, errorCode, message); in SetCallback() 166 return GetCallbackErrorValue(env, ERROR, NapiUtils::GetErrorMessage(JsErrorCode::PARAMETER_ERROR)); in JSParaError()
|
/base/notification/common_event_service/interfaces/kits/napi/common_event/src/ |
H A D | common_event_set_param.cpp | 357 results[PARAM0_EVENT] = GetCallbackErrorValue(env, errorCode); in SetCallback() 374 results[PARAM0_EVENT] = GetCallbackErrorValue(env, NO_ERROR); in SetCallback() 386 napi_reject_deferred(env, deferred, GetCallbackErrorValue(env, errorCode)); in SetPromise()
|
H A D | common_event_parse.cpp | 54 napi_value GetCallbackErrorValue(napi_env env, int8_t errorCode) in GetCallbackErrorValue() function
|
H A D | common_event.cpp | 155 results[PARAM0_EVENT] = GetCallbackErrorValue(commonEventDataWorkerData->env, NO_ERROR); in ThreadSafeCallback()
|
/base/time/time_service/framework/js/napi/common/include/ |
H A D | napi_utils.h | 128 static napi_value GetCallbackErrorValue(napi_env env, int32_t errCode, const std::string &message);
|
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/ |
H A D | common_event_set_param.cpp | 391 results[INDEX_ZERO] = GetCallbackErrorValue(env, errorCode); in SetCallback() 408 results[INDEX_ZERO] = GetCallbackErrorValue(env, NO_ERROR); in SetCallback() 420 napi_reject_deferred(env, deferred, GetCallbackErrorValue(env, errorCode)); in SetPromise()
|
H A D | common_event_parse.cpp | 102 napi_value GetCallbackErrorValue(napi_env env, int32_t errorCode) in GetCallbackErrorValue() function
|
H A D | napi_common_event.cpp | 181 results[INDEX_ZERO] = GetCallbackErrorValue(commonEventDataWorkerData->env, NO_ERROR); in ThreadSafeCallback()
|
/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi_utils.cpp | 104 napi_value NotificationNapi::GetCallbackErrorValue(napi_env env, int32_t errCode) in GetCallbackErrorValue() function in OHOS::Location::NotificationNapi
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/reminder/ |
H A D | reminder_common.h | 192 static napi_value GetCallbackErrorValue(napi_env env, const int32_t errCode, const std::string errMsg);
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common_utils.cpp | 139 napi_value Common::GetCallbackErrorValue(napi_env env, int32_t errCode) in GetCallbackErrorValue() function in OHOS::NotificationNapi::Common
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/ |
H A D | reminder_common.cpp | 1062 results[0] = GetCallbackErrorValue(env, errCode, errMsg); in SetCallback() 1069 napi_value ReminderCommon::GetCallbackErrorValue(napi_env env, const int32_t errCode, const std::string errMsg) in GetCallbackErrorValue() function in OHOS::ReminderAgentNapi::ReminderCommon
|
/base/location/frameworks/js/napi/notification/include/ |
H A D | notification_napi.h | 130 static napi_value GetCallbackErrorValue(napi_env env, int32_t errCode);
|
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/include/ |
H A D | napi_common_event.h | 269 napi_value GetCallbackErrorValue(napi_env env, int32_t errorCode);
|
/base/notification/common_event_service/interfaces/kits/napi/common_event/include/ |
H A D | common_event.h | 248 napi_value GetCallbackErrorValue(napi_env env, int8_t errorCode);
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | common.h | 136 static napi_value GetCallbackErrorValue(napi_env env, int32_t errCode);
|