Home
last modified time | relevance | path

Searched refs:multiEn (Results 1 – 1 of 1) sorted by relevance

/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_os_account.cpp1103 auto multiEn = std::make_unique<IsMultiEnAsyncContext>(); in InnerIsMultiOsAccountEnable() local
1104 multiEn->env = env; in InnerIsMultiOsAccountEnable()
1105 multiEn->throwErr = throwErr; in InnerIsMultiOsAccountEnable()
1107 if (!ParseParaIsMultiEn(env, cbInfo, multiEn.get()) && throwErr) { in InnerIsMultiOsAccountEnable()
1112 if (multiEn->callbackRef == nullptr) { in InnerIsMultiOsAccountEnable()
1113 napi_create_promise(env, &multiEn->deferred, &result); in InnerIsMultiOsAccountEnable()
1122 reinterpret_cast<void *>(multiEn.get()), &multiEn->work); in InnerIsMultiOsAccountEnable()
1124 napi_queue_async_work_with_qos(env, multiEn->work, napi_qos_default); in InnerIsMultiOsAccountEnable()
1125 multiEn.release(); in InnerIsMultiOsAccountEnable()