Searched refs:notifyNode (Results 1 – 3 of 3) sorted by relevance
/base/security/device_security_level/services/dslm/ |
D | dslm_core_process.c | 171 DslmNotifyListNode notifyNode; in OnRequestDeviceSecLevelInfo() local 172 (void)memset_s(¬ifyNode, sizeof(notifyNode), 0, sizeof(notifyNode)); in OnRequestDeviceSecLevelInfo() 173 notifyNode.owner = owner; in OnRequestDeviceSecLevelInfo() 174 notifyNode.cookie = cookie; in OnRequestDeviceSecLevelInfo() 175 notifyNode.requestCallback = callback; in OnRequestDeviceSecLevelInfo() 176 notifyNode.start = GetMillisecondSinceBoot(); in OnRequestDeviceSecLevelInfo() 177 notifyNode.keep = option->timeout * 1000; // 1000 ms per second in OnRequestDeviceSecLevelInfo() 178 ScheduleDslmStateMachine(deviceInfo, EVENT_SDK_GET, ¬ifyNode); in OnRequestDeviceSecLevelInfo()
|
D | dslm_fsm_process.c | 149 DslmNotifyListNode *notifyNode = LIST_ENTRY(node, DslmNotifyListNode, linkNode); in ProcessSendDeviceInfoCallback() local 152 bool check = checker(info, notifyNode, &cbInfo, &result); in ProcessSendDeviceInfoCallback() 159 notifyNode->requestCallback(notifyNode->owner, notifyNode->cookie, result, &cbInfo); in ProcessSendDeviceInfoCallback() 160 notifyNode->stop = GetMillisecondSinceBoot(); in ProcessSendDeviceInfoCallback() 161 notifyNode->result = result; in ProcessSendDeviceInfoCallback() 164 DslmFinishProcessTraceAsync("SDK_GET", notifyNode->owner, notifyNode->cookie); in ProcessSendDeviceInfoCallback() 386 DslmNotifyListNode *notifyNode = LIST_ENTRY(node, DslmNotifyListNode, linkNode); in RefreshHistoryList() local 388 FREE(notifyNode); in RefreshHistoryList()
|
/base/security/device_security_level/services/dfx/ |
D | dslm_hidumper.c | 209 DslmNotifyListNode *notifyNode = LIST_ENTRY(node, DslmNotifyListNode, linkNode); in DumpHistoryCalls() local 212 … if (strcpy_s(timeStart, TIME_STRING_LEN, GetTimeStringFromTimeStamp(notifyNode->start)) != EOK) { in DumpHistoryCalls() 216 … if (strcpy_s(timeStop, TIME_STRING_LEN, GetTimeStringFromTimeStamp(notifyNode->stop)) != EOK) { in DumpHistoryCalls() 220 …uint32_t cost = (notifyNode->stop > notifyNode->start) ? (notifyNode->stop - notifyNode->start) : … in DumpHistoryCalls() 221 …#%-4d pid:%-6u seq:%-4u req:%-26s res:%-26s ret:%-4u cost:%ums" END_LINE, index, notifyNode->owner, in DumpHistoryCalls() 222 notifyNode->cookie, timeStart, timeStop, notifyNode->result, cost); in DumpHistoryCalls()
|