Home
last modified time | relevance | path

Searched refs:napi_create_promise (Results 1 – 25 of 88) sorted by relevance

1234

/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_os_account.cpp196 napi_create_promise(env, &queryOAByIdCB->deferred, &result); in QueryOsAccountById()
234 napi_create_promise(env, &removeOACB->deferred, &result); in RemoveOsAccount()
267 napi_create_promise(env, &setOANameCB->deferred, &result); in SetOsAccountName()
305 napi_create_promise(env, &setOAConsCB->deferred, &result); in SetOsAccountConstraints()
343 napi_create_promise(env, &activeOACB->deferred, &result); in ActivateOsAccount()
381 napi_create_promise(env, &createOACB->deferred, &result); in CreateOsAccount()
414 napi_create_promise(env, &createOAForDomainCB->deferred, &result); in CreateOsAccountForDomain()
457 napi_create_promise(env, &getOACount->deferred, &result); in GetCreatedOsAccountsCountInner()
505 napi_create_promise(env, &dbDeviceId->deferred, &result); in GetDistributedVirtualDeviceIdInner()
553 napi_create_promise(env, &getAllConsCB->deferred, &result); in GetOsAccountAllConstraintsInner()
[all …]
/base/account/os_account/interfaces/kits/napi/appaccount/src/
Dnapi_app_account.cpp169 napi_create_promise(env, &asyncContext->deferred, &result); in AddAccount()
210 napi_create_promise(env, &context->deferred, &result); in CreateAccount()
343 napi_create_promise(env, &asyncContext->deferred, &result); in RemoveAccountInternal()
384 napi_create_promise(env, &asyncContext->deferred, &result); in DisableAppAccess()
422 napi_create_promise(env, &asyncContext->deferred, &result); in EnableAppAccess()
465 napi_create_promise(env, &context->deferred, &result); in SetAppAccess()
516 napi_create_promise(env, &asyncContext->deferred, &result); in CheckDataSyncEnabledInternal()
576 napi_create_promise(env, &asyncContext->deferred, &result); in SetCredentialInternal()
621 napi_create_promise(env, &asyncContext->deferred, &result); in SetAccountExtraInfo()
678 napi_create_promise(env, &asyncContext->deferred, &result); in SetDataSyncEnabledInternal()
[all …]
/base/request/request/upload/interfaces/kits/napi/src/
Dasync_call.cpp63 napi_create_promise(env, &context_->defer, &promise); in Call()
87 napi_create_promise(env, &context_->defer, &promise); in SyncCall()
/base/request/request/download/interfaces/kits/js/napi/download_single/src/
Dasync_call.cpp68 napi_create_promise(env, &context_->defer, &promise); in Call()
92 napi_create_promise(env, &context_->defer, &promise); in SyncCall()
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodclient/
Dasync_call.cpp67 napi_create_promise(env, &context_->defer, &promise); in Call()
90 napi_create_promise(env, &context_->defer, &promise); in SyncCall()
/base/sensors/miscdevice/interfaces/plugin/vibrator/src/
Dvibrator_js.cpp76 NAPI_CALL(env, napi_create_promise(env, &deferred, &promise)); in VibrateTime()
100 NAPI_CALL(env, napi_create_promise(env, &deferred, &promise)); in VibrateEffectId()
229 CHKCP((napi_create_promise(env, &deferred, &promise) == napi_ok), "napi_create_promise fail"); in VibrateEffect()
295 CHKCP((napi_create_promise(env, &deferred, &promise) == napi_ok), "napi_create_promise fail"); in Stop()
/base/theme/screenlock_mgr/interfaces/kits/napi/src/
Dasync_call.cpp76 napi_create_promise(env, &context_->defer, &promise); in Call()
100 napi_create_promise(env, &context_->defer, &promise); in SyncCall()
/base/powermgr/battery_statistics/frameworks/js/napi/src/
Dasync_callback_info.cpp51 if (napi_ok != napi_create_promise(env, &deferred_, &promise)) { in CreatePromise()
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_js.cpp58 napi_create_promise(env, &asyncContext->deferred, &promise); in Write()
Dnapi_hiappevent_js_v9.cpp62 napi_create_promise(env, &asyncContext->deferred, &promise); in Write()
/base/powermgr/power_manager/frameworks/napi/utils/
Dasync_callback_info.cpp51 if (napi_ok != napi_create_promise(env, &deferred_, &promise)) { in CreatePromise()
/base/sensors/sensor/interfaces/plugin/src/
Dsensor_js.cpp508 if ((napi_create_promise(env, &asyncCallbackInfo->deferred, &promise)) != napi_ok) { in GetGeomagneticField()
596 status = napi_create_promise(env, &asyncCallbackInfo->deferred, &promise); in TransformCoordinateSystem()
663 status = napi_create_promise(env, &asyncCallbackInfo->deferred, &promise); in GetAngleModify()
721 status = napi_create_promise(env, &asyncCallbackInfo->deferred, &promise); in GetDirection()
779 status = napi_create_promise(env, &asyncCallbackInfo->deferred, &promise); in CreateQuaternion()
839 status = napi_create_promise(env, &asyncCallbackInfo->deferred, &promise); in GetAltitude()
894 status = napi_create_promise(env, &asyncCallbackInfo->deferred, &promise); in GetGeomagneticDip()
954 status = napi_create_promise(env, &asyncCallbackInfo->deferred, &promise); in CreateRotationAndInclination()
1005 status = napi_create_promise(env, &asyncCallbackInfo->deferred, &promise); in GetRotationMatrix()
1080 status = napi_create_promise(env, &asyncCallbackInfo->deferred, &promise); in GetSensorList()
[all …]
/base/security/huks/interfaces/kits/napi/src/v9/
Dhuks_napi_generate_key_item.cpp98 NAPI_CALL(env, napi_create_promise(env, &context->deferred, &promise)); in GenerateKeyAsyncWork()
Dhuks_napi_is_key_item_exist.cpp94 NAPI_CALL(env, napi_create_promise(env, &context->deferred, &promise)); in IsKeyExistAsyncWork()
Dhuks_napi_delete_key_item.cpp94 NAPI_CALL(env, napi_create_promise(env, &context->deferred, &promise)); in DeleteKeyAsyncWork()
Dhuks_napi_abort_session.cpp94 NAPI_CALL(env, napi_create_promise(env, &context->deferred, &promise)); in AbortAsyncWork()
Dhuks_napi_get_key_item_properties.cpp102 NAPI_CALL(env, napi_create_promise(env, &context->deferred, &promise)); in GetKeyPropertiesAsyncWork()
Dhuks_napi_import_wrapped_key_item.cpp124 NAPI_CALL(env, napi_create_promise(env, &context->deferred, &promise)); in ImportWrappedKeyAsyncWork()
Dhuks_napi_import_key_item.cpp107 NAPI_CALL(env, napi_create_promise(env, &context->deferred, &promise)); in ImportKeyAsyncWork()
/base/security/huks/interfaces/kits/napi/src/v8/
Dhuks_napi_delete_key.cpp99 NAPI_CALL(env, napi_create_promise(env, &context->deferred, &promise)); in DeleteKeyAsyncWork()
Dhuks_napi_generate_key.cpp103 NAPI_CALL(env, napi_create_promise(env, &context->deferred, &promise)); in GenerateKeyAsyncWork()
Dhuks_napi_abort.cpp99 NAPI_CALL(env, napi_create_promise(env, &context->deferred, &promise)); in AbortAsyncWork()
Dhuks_napi_get_key_properties.cpp107 NAPI_CALL(env, napi_create_promise(env, &context->deferred, &promise)); in GetKeyPropertiesAsyncWork()
Dhuks_napi_import_key.cpp112 NAPI_CALL(env, napi_create_promise(env, &context->deferred, &promise)); in ImportKeyAsyncWork()
Dhuks_napi_is_key_exist.cpp105 NAPI_CALL(env, napi_create_promise(env, &context->deferred, &promise)); in IsKeyExistAsyncWork()

1234