Lines Matching refs:info
38 void ReportHiEventInfoSync(const DslmDeviceInfo *info) in ReportHiEventInfoSync() argument
40 if (info == NULL) { in ReportHiEventInfoSync()
47 if (info->lastResponseTime >= info->lastRequestTime) { in ReportHiEventInfoSync()
48 event.costTime = (int32_t)(info->lastResponseTime - info->lastRequestTime); in ReportHiEventInfoSync()
51 event.retCode = (int32_t)info->result; in ReportHiEventInfoSync()
52 event.secLevel = (int32_t)info->credInfo.credLevel; in ReportHiEventInfoSync()
54 event.targetVersion = info->version; in ReportHiEventInfoSync()
55 …if (memcpy_s(event.targetModel, MODEL_MAX_LEN, info->credInfo.model, CRED_INFO_MODEL_LEN) != EOK) { in ReportHiEventInfoSync()
59 event.credType = info->credInfo.credType; in ReportHiEventInfoSync()
63 void ReportHiEventAppInvoke(const DslmDeviceInfo *info) in ReportHiEventAppInvoke() argument
65 if (info == NULL) { in ReportHiEventAppInvoke()
72 if (info->lastResponseTime >= info->lastRequestTime) { in ReportHiEventAppInvoke()
73 event.costTime = (int32_t)(info->lastResponseTime - info->lastRequestTime); in ReportHiEventAppInvoke()
76 event.retCode = (int32_t)info->result; in ReportHiEventAppInvoke()
77 event.secLevel = (int32_t)info->credInfo.credLevel; in ReportHiEventAppInvoke()
78 event.retMode = (info->result == ERR_NEED_COMPATIBLE) ? 1 : 0; in ReportHiEventAppInvoke()
80 …if (memcpy_s(event.targetModel, MODEL_MAX_LEN, info->credInfo.model, CRED_INFO_MODEL_LEN) != EOK) { in ReportHiEventAppInvoke()