Lines Matching refs:authReqId

911 static int32_t AuthDevice(int32_t osAccountId, int64_t authReqId, const char *authParams,
915 SET_TRACE_ID(authReqId);
916 ADD_PERFORM_DATA(authReqId, false, true, HcGetCurTimeInMillis());
918 LOGI("Begin AuthDevice. [ReqId]: %" PRId64 ", [OsAccountId]: %d", authReqId, osAccountId);
942 int32_t res = BuildClientAuthContext(osAccountId, authReqId, appId, context);
950 res = OpenDevSession(authReqId, appId, &params);
956 return PushStartSessionTask(authReqId);
1155 static int32_t ProcessData(int64_t authReqId, const uint8_t *data, uint32_t dataLen,
1159 SET_TRACE_ID(authReqId);
1160 if (!IsSessionExist(authReqId)) {
1161 ADD_PERFORM_DATA(authReqId, false, false, HcGetCurTimeInMillis());
1163 UPDATE_PERFORM_DATA_BY_SELF_INDEX(authReqId, HcGetCurTimeInMillis());
1165 LOGI("[GA] Begin ProcessData. [DataLen]: %u, [ReqId]: %" PRId64, dataLen, authReqId);
1176 if (!IsSessionExist(authReqId)) {
1177 res = OpenServerAuthSession(authReqId, receivedMsg, gaCallback);
1190 res = PushProcSessionTask(authReqId, receivedMsg);
1277 int64_t authReqId, const char *authParams, const DeviceAuthCallback *callback)
1280 SET_TRACE_ID(authReqId);
1281 LOGI("[DA] Begin ProcessAuthDevice [ReqId]: %" PRId64, authReqId);
1304 if (!IsSessionExist(authReqId)) {
1305 res = OpenServerAuthSessionForP2P(authReqId, receivedMsg, callback);
1311 res = PushProcSessionTask(authReqId, receivedMsg);
1320 int64_t authReqId, const char *authParams, const DeviceAuthCallback *callback)
1323 SET_TRACE_ID(authReqId);
1324 LOGI("StartAuthDevice. [ReqId]:%" PRId64, authReqId);
1350 int32_t res = BuildClientAuthContext(osAccountId, authReqId, DEFAULT_PACKAGE_NAME, context);
1361 res = OpenDevSession(authReqId, DEFAULT_PACKAGE_NAME, &params);
1367 return PushStartSessionTask(authReqId);