Home
last modified time | relevance | path

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

/base/account/os_account/interfaces/kits/napi/osaccount/src/
H A Dnapi_os_account.cpp392 auto createOACB = std::make_unique<CreateOAAsyncContext>(); in CreateOsAccount() local
393 createOACB->env = env; in CreateOsAccount()
394 createOACB->throwErr = true; in CreateOsAccount()
396 if (!ParseParaCreateOA(env, cbInfo, createOACB.get())) { in CreateOsAccount()
401 if (createOACB->callbackRef == nullptr) { in CreateOsAccount()
402 napi_create_promise(env, &createOACB->deferred, &result); in CreateOsAccount()
411 reinterpret_cast<void *>(createOACB.get()), &createOACB->work); in CreateOsAccount()
413 napi_queue_async_work_with_qos(env, createOACB->work, napi_qos_user_initiated); in CreateOsAccount()
414 createOACB in CreateOsAccount()
[all...]

Completed in 3 milliseconds