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.cpp1203 auto getSerialNum = std::make_unique<GetSerialNumForOAInfo>(); in GetSerialNumberByOsAccountLocalIdInner() local
1204 getSerialNum->env = env; in GetSerialNumberByOsAccountLocalIdInner()
1205 getSerialNum->throwErr = throwErr; in GetSerialNumberByOsAccountLocalIdInner()
1207 if (!ParseParaGetSerialNum(env, cbInfo, getSerialNum.get()) && throwErr) { in GetSerialNumberByOsAccountLocalIdInner()
1212 if (getSerialNum->callbackRef == nullptr) { in GetSerialNumberByOsAccountLocalIdInner()
1213 napi_create_promise(env, &getSerialNum->deferred, &result); in GetSerialNumberByOsAccountLocalIdInner()
1226 reinterpret_cast<void *>(getSerialNum.get()), in GetSerialNumberByOsAccountLocalIdInner()
1227 &getSerialNum->work); in GetSerialNumberByOsAccountLocalIdInner()
1229 napi_queue_async_work_with_qos(env, getSerialNum->work, napi_qos_default); in GetSerialNumberByOsAccountLocalIdInner()
1230 getSerialNum.release(); in GetSerialNumberByOsAccountLocalIdInner()