Home
last modified time | relevance | path

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

/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_os_account.cpp1217 auto getSerialNum = std::make_unique<GetSerialNumForOAInfo>(); in GetSerialNumberByOsAccountLocalIdInner() local
1218 getSerialNum->env = env; in GetSerialNumberByOsAccountLocalIdInner()
1219 getSerialNum->throwErr = throwErr; in GetSerialNumberByOsAccountLocalIdInner()
1221 if (!ParseParaGetSerialNum(env, cbInfo, getSerialNum.get()) && throwErr) { in GetSerialNumberByOsAccountLocalIdInner()
1226 if (getSerialNum->callbackRef == nullptr) { in GetSerialNumberByOsAccountLocalIdInner()
1227 napi_create_promise(env, &getSerialNum->deferred, &result); in GetSerialNumberByOsAccountLocalIdInner()
1240 reinterpret_cast<void *>(getSerialNum.get()), in GetSerialNumberByOsAccountLocalIdInner()
1241 &getSerialNum->work); in GetSerialNumberByOsAccountLocalIdInner()
1243 napi_queue_async_work_with_qos(env, getSerialNum->work, napi_qos_default); in GetSerialNumberByOsAccountLocalIdInner()
1244 getSerialNum.release(); in GetSerialNumberByOsAccountLocalIdInner()