Home
last modified time | relevance | path

Searched refs:notifyNode (Results 1 - 3 of 3) sorted by relevance

/base/security/device_security_level/services/dslm/
H A Ddslm_core_process.c172 DslmNotifyListNode notifyNode; in OnRequestDeviceSecLevelInfo() local
173 (void)memset_s(&notifyNode, sizeof(notifyNode), 0, sizeof(notifyNode)); in OnRequestDeviceSecLevelInfo()
174 notifyNode.owner = owner; in OnRequestDeviceSecLevelInfo()
175 notifyNode.cookie = cookie; in OnRequestDeviceSecLevelInfo()
176 notifyNode.requestCallback = callback; in OnRequestDeviceSecLevelInfo()
177 notifyNode.start = GetMillisecondSinceBoot(); in OnRequestDeviceSecLevelInfo()
178 notifyNode.keep = option->timeout * 1000; // 1000 ms per second in OnRequestDeviceSecLevelInfo()
179 ScheduleDslmStateMachine(deviceInfo, EVENT_SDK_GET, &notifyNode); in OnRequestDeviceSecLevelInfo()
[all...]
H A Ddslm_fsm_process.c152 DslmNotifyListNode *notifyNode = LIST_ENTRY(node, DslmNotifyListNode, linkNode); in ProcessSendDeviceInfoCallback() local
155 bool check = checker(info, notifyNode, &cbInfo, &result); in ProcessSendDeviceInfoCallback()
162 notifyNode->requestCallback(notifyNode->owner, notifyNode->cookie, result, &cbInfo); in ProcessSendDeviceInfoCallback()
163 notifyNode->stop = GetMillisecondSinceBoot(); in ProcessSendDeviceInfoCallback()
164 notifyNode->result = result; in ProcessSendDeviceInfoCallback()
167 DslmFinishProcessTraceAsync("SDK_GET", notifyNode->owner, notifyNode->cookie); in ProcessSendDeviceInfoCallback()
239 SECURITY_LOG_ERROR("malloc failed, notifyNode i in ProcessSdkRequest()
404 DslmNotifyListNode *notifyNode = LIST_ENTRY(node, DslmNotifyListNode, linkNode); RefreshHistoryList() local
[all...]
/base/security/device_security_level/services/dfx/
H A Ddslm_hidumper.c238 DslmNotifyListNode *notifyNode = LIST_ENTRY(node, DslmNotifyListNode, linkNode); in DumpHistoryCalls() local
241 if (strcpy_s(timeStart, TIME_STRING_LEN, GetTimeStringFromTimeStamp(notifyNode->start)) != EOK) { in DumpHistoryCalls()
245 if (strcpy_s(timeStop, TIME_STRING_LEN, GetTimeStringFromTimeStamp(notifyNode->stop)) != EOK) { in DumpHistoryCalls()
249 uint32_t cost = (notifyNode->stop > notifyNode->start) ? (notifyNode->stop - notifyNode->start) : 0; in DumpHistoryCalls()
250 dprintf(fd, "#%-4d pid:%-6u seq:%-4u req:%-26s res:%-26s ret:%-4u cost:%ums" END_LINE, index, notifyNode->owner, in DumpHistoryCalls()
251 notifyNode->cookie, timeStart, timeStop, notifyNode in DumpHistoryCalls()
[all...]

Completed in 2 milliseconds