Searched refs:ecode (Results 1 - 2 of 2) sorted by relevance
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/ |
H A D | js_napi_common.cpp | 340 auto ecode = dir == nullptr ? static_cast<int32_t>(NAPI_ERR_ABILITY_CALL_INVALID) : *value; in JsGetFilesDir() 341 task.Reject(env, CreateJsError(env, ecode, obj->ConvertErrorCode(ecode))); in JsGetFilesDir() 388 auto ecode = info == nullptr ? static_cast<int32_t>(NAPI_ERR_ABILITY_CALL_INVALID) : *value; in JsIsUpdatingConfigurations() 389 task.Reject(env, CreateJsError(env, ecode, obj->ConvertErrorCode(ecode))); in JsIsUpdatingConfigurations() 437 auto ecode = draw == nullptr ? static_cast<int32_t>(NAPI_ERR_ABILITY_CALL_INVALID) : *value; in JsPrintDrawnCompleted() 438 task.Reject(env, CreateJsError(env, ecode, obj->ConvertErrorCode(ecode))); in JsPrintDrawnCompleted() 487 auto ecode in JsGetCacheDir() [all...] |
H A D | napi_context.cpp | 3284 auto ecode = name == nullptr ? static_cast<int32_t>(NAPI_ERR_ABILITY_CALL_INVALID) : *value; in OnGetBundleName() 3285 task.Reject(env, CreateJsError(env, ecode, obj->ConvertErrorCode(ecode))); in OnGetBundleName() 3378 auto ecode = info == nullptr ? static_cast<int32_t>(NAPI_ERR_ABILITY_CALL_INVALID) : *value; in OnGetApplicationInfo() 3379 task.Reject(env, CreateJsError(env, ecode, obj->ConvertErrorCode(ecode))); in OnGetApplicationInfo() 3424 auto ecode = info == nullptr ? (NAPI_ERR_ABILITY_CALL_INVALID) : *value; in OnGetProcessInfo() 3425 task.Reject(env, CreateJsError(env, ecode, obj->ConvertErrorCode(ecode))); in OnGetProcessInfo() 3473 auto ecode in OnGetElementName() [all...] |
Completed in 8 milliseconds