Home
last modified time | relevance | path

Searched refs:RESULT_ERROR (Results 1 - 22 of 22) sorted by relevance

/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/src/
H A Dnapi_async_work.cpp143 NAPI_CALL_RETURN_VOID(napiAsyncTask->env, napi_get_undefined(napiAsyncTask->env, &result[RESULT_ERROR])); in GenerateOutput()
154 napi_create_error(napiAsyncTask->env, nullptr, message, &result[RESULT_ERROR])); in GenerateOutput()
157 napi_set_named_property(napiAsyncTask->env, result[RESULT_ERROR], "code", code)); in GenerateOutput()
169 napi_reject_deferred(napiAsyncTask->env, napiAsyncTask->deferred, result[RESULT_ERROR])); in GenerateOutput()
/foundation/multimedia/audio_framework/frameworks/js/napi/common/
H A Dnapi_async_work.cpp139 napi_get_undefined(ctxt->env, &result[RESULT_ERROR]); in CommonCallbackRoutine()
148 napi_create_error(ctxt->env, nullptr, message, &result[RESULT_ERROR]); in CommonCallbackRoutine()
150 napi_set_named_property(ctxt->env, result[RESULT_ERROR], "code", code); in CommonCallbackRoutine()
159 napi_reject_deferred(ctxt->env, ctxt->deferred, result[RESULT_ERROR]); in CommonCallbackRoutine()
H A Dnapi_async_work.h131 RESULT_ERROR = 0, enumerator
/foundation/multimedia/drm_framework/frameworks/js/drm_napi/
H A Dnapi_async_work.cpp129 napi_get_undefined(ctxt->env, &result[RESULT_ERROR]); in CommonCallbackRoutine()
138 napi_create_error(ctxt->env, nullptr, message, &result[RESULT_ERROR]); in CommonCallbackRoutine()
140 napi_set_named_property(ctxt->env, result[RESULT_ERROR], "code", code); in CommonCallbackRoutine()
149 napi_reject_deferred(ctxt->env, ctxt->deferred, result[RESULT_ERROR]); in CommonCallbackRoutine()
/foundation/multimedia/av_session/frameworks/js/napi/session/src/
H A Dnapi_async_work.cpp131 napi_get_undefined(ctxt->env, &result[RESULT_ERROR]); in GenerateOutput()
140 napi_create_error(ctxt->env, nullptr, message, &result[RESULT_ERROR]); in GenerateOutput()
142 napi_set_named_property(ctxt->env, result[RESULT_ERROR], "code", code); in GenerateOutput()
151 napi_reject_deferred(ctxt->env, ctxt->deferred, result[RESULT_ERROR]); in GenerateOutput()
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/
H A Dnapi_queue.cpp130 napi_get_undefined(ctx.env, &result[RESULT_ERROR]); in GenerateOutput()
138 napi_create_error(ctx.env, nullptr, message, &result[RESULT_ERROR]); in GenerateOutput()
147 napi_reject_deferred(ctx.env, ctx.deferred, result[RESULT_ERROR]); in GenerateOutput()
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/common/
H A Dnapi_queue.cpp139 napi_get_undefined(ctxt->env, &result[RESULT_ERROR]); in GenerateOutput()
147 result[RESULT_ERROR] = businessError; in GenerateOutput()
156 napi_reject_deferred(ctxt->env, ctxt->deferred, result[RESULT_ERROR]); in GenerateOutput()
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/
H A Dnapi_queue.cpp130 napi_get_undefined(ctx.env, &result[RESULT_ERROR]); in GenerateOutput()
146 napi_create_error(ctx.env, errorCode, message, &result[RESULT_ERROR]); in GenerateOutput()
155 napi_reject_deferred(ctx.env, ctx.deferred, result[RESULT_ERROR]); in GenerateOutput()
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/src/
H A Dnapi_queue.cpp138 napi_get_undefined(ctx.env, &result[RESULT_ERROR]); in GenerateOutput()
154 napi_create_error(ctx.env, errorCode, message, &result[RESULT_ERROR]); in GenerateOutput()
163 napi_reject_deferred(ctx.env, ctx.deferred, result[RESULT_ERROR]); in GenerateOutput()
/foundation/distributeddatamgr/udmf/framework/jskitsimpl/common/
H A Dnapi_queue.cpp106 napi_get_undefined(ctxt->env, &result[RESULT_ERROR]); in GenerateOutput()
122 napi_create_error(ctxt->env, code, message, &result[RESULT_ERROR]); in GenerateOutput()
132 napi_reject_deferred(ctxt->env, ctxt->deferred, result[RESULT_ERROR]); in GenerateOutput()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/
H A Dnapi_async_work.cpp145 stat = napi_get_undefined(contextBase->env, &result[RESULT_ERROR]); in GenerateOutput()
157 stat = napi_create_error(contextBase->env, nullptr, message, &result[RESULT_ERROR]); in GenerateOutput()
161 stat = napi_set_named_property(contextBase->env, result[RESULT_ERROR], "code", code); in GenerateOutput()
172 stat = napi_reject_deferred(contextBase->env, contextBase->deferred, result[RESULT_ERROR]); in GenerateOutput()
H A Dnapi_async_work.h98 RESULT_ERROR = 0, enumerator
/foundation/filemanagement/user_file_service/interfaces/kits/picker/
H A Dpicker.js51 RESULT_ERROR: 13900042,
58 [ErrCode.RESULT_ERROR, 'Unknown error'],
211 selectResult.error = getErr(ErrCode.RESULT_ERROR);
322 selectResult.error = getErr(ErrCode.RESULT_ERROR);
423 selectResult.error = getErr(ErrCode.RESULT_ERROR);
453 saveResult.error = getErr(ErrCode.RESULT_ERROR);
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/include/
H A Dnapi_async_work.h70 RESULT_ERROR = 0, enumerator
/foundation/multimedia/av_session/frameworks/js/napi/session/include/
H A Dnapi_async_work.h71 RESULT_ERROR = 0, enumerator
/foundation/multimedia/drm_framework/services/utils/include/
H A Dnapi_async_work.h128 RESULT_ERROR = 0, enumerator
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/include/common/
H A Dnapi_queue.h97 RESULT_ERROR = 0, enumerator
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/include/
H A Dnapi_queue.h115 RESULT_ERROR = 0, enumerator
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/include/
H A Dnapi_queue.h111 RESULT_ERROR = 0, enumerator
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/include/
H A Dnapi_queue.h122 RESULT_ERROR = 0, enumerator
/foundation/distributeddatamgr/udmf/interfaces/jskits/common/
H A Dnapi_queue.h177 RESULT_ERROR = 0, enumerator
/foundation/multimedia/media_library/frameworks/js/src/
H A Dphotoaccesshelperinf.js606 RESULT_ERROR: 13900042,
618 [ErrCode.RESULT_ERROR, 'Unknown error'],
700 selectResult.error = getErr(ErrCode.RESULT_ERROR);

Completed in 9 milliseconds