Home
last modified time | relevance | path

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

/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_os_account.cpp895 auto idByDomain = std::make_unique<GetIdByDomainAsyncContext>(); in GetOsAccountLocalIdFromDomainInner() local
896 idByDomain->env = env; in GetOsAccountLocalIdFromDomainInner()
897 idByDomain->throwErr = throwErr; in GetOsAccountLocalIdFromDomainInner()
899 if (!ParseParaGetIdByDomain(env, cbInfo, idByDomain.get()) && throwErr) { in GetOsAccountLocalIdFromDomainInner()
904 if (idByDomain->callbackRef == nullptr) { in GetOsAccountLocalIdFromDomainInner()
905 napi_create_promise(env, &idByDomain->deferred, &result); in GetOsAccountLocalIdFromDomainInner()
914 reinterpret_cast<void *>(idByDomain.get()), &idByDomain->work); in GetOsAccountLocalIdFromDomainInner()
916 napi_queue_async_work_with_qos(env, idByDomain->work, napi_qos_default); in GetOsAccountLocalIdFromDomainInner()
917 idByDomain.release(); in GetOsAccountLocalIdFromDomainInner()