Home
last modified time | relevance | path

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

/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_os_account.cpp1165 auto serialNumId = std::make_unique<GetSerialNumIdCBInfo>(); in GetOsAccountLocalIdBySerialNumberInner() local
1166 serialNumId->env = env; in GetOsAccountLocalIdBySerialNumberInner()
1167 serialNumId->throwErr = throwErr; in GetOsAccountLocalIdBySerialNumberInner()
1169 if (!ParseParaSerialNumId(env, cbInfo, serialNumId.get()) && throwErr) { in GetOsAccountLocalIdBySerialNumberInner()
1174 if (serialNumId->callbackRef == nullptr) { in GetOsAccountLocalIdBySerialNumberInner()
1175 napi_create_promise(env, &serialNumId->deferred, &result); in GetOsAccountLocalIdBySerialNumberInner()
1184 reinterpret_cast<void *>(serialNumId.get()), &serialNumId->work); in GetOsAccountLocalIdBySerialNumberInner()
1186 napi_queue_async_work_with_qos(env, serialNumId->work, napi_qos_default); in GetOsAccountLocalIdBySerialNumberInner()
1187 serialNumId.release(); in GetOsAccountLocalIdBySerialNumberInner()