Home
last modified time | relevance | path

Searched refs:notifyNode (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/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()
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()
404 DslmNotifyListNode *notifyNode = LIST_ENTRY(node, DslmNotifyListNode, linkNode); in RefreshHistoryList() local
406 FREE(notifyNode); in RefreshHistoryList()
/ohos5.0/base/security/device_security_level/services/dfx/
H A Ddslm_hidumper.c210 DslmNotifyListNode *notifyNode = LIST_ENTRY(node, DslmNotifyListNode, linkNode); in DumpHistoryCalls() local
213 … if (strcpy_s(timeStart, TIME_STRING_LEN, GetTimeStringFromTimeStamp(notifyNode->start)) != EOK) { in DumpHistoryCalls()
217 … if (strcpy_s(timeStop, TIME_STRING_LEN, GetTimeStringFromTimeStamp(notifyNode->stop)) != EOK) { in DumpHistoryCalls()
221 …uint32_t cost = (notifyNode->stop > notifyNode->start) ? (notifyNode->stop - notifyNode->start) : … in DumpHistoryCalls()
222 …#%-4d pid:%-6u seq:%-4u req:%-26s res:%-26s ret:%-4u cost:%ums" END_LINE, index, notifyNode->owner, in DumpHistoryCalls()
223 notifyNode->cookie, timeStart, timeStop, notifyNode->result, cost); in DumpHistoryCalls()
/ohos5.0/drivers/hdf_core/adapter/uhdf2/osal/src/
H A Dosal_sysevent.c108 struct HdfSysEventNotifyNode *notifyNode = NULL; in OnKEventReceived() local
109 …DLIST_FOR_EACH_ENTRY(notifyNode, &notifier->notifyNodeList, struct HdfSysEventNotifyNode, listNode… in OnKEventReceived()
110 if (receivedEvent->eventClass & notifyNode->classFilter) { in OnKEventReceived()
111 (void)notifyNode->callback( in OnKEventReceived()
112 notifyNode, receivedEvent->eventClass, receivedEvent->eventid, eventContent); in OnKEventReceived()
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/src/
H A Dtrans_udp_channel_manager.c617 UdpChannelNotifyInfo *notifyNode = NULL; in ModifyUdpChannelTos() local
619 LIST_FOR_EACH_ENTRY_SAFE(notifyNode, notifyNodeNext, &notifyList, UdpChannelNotifyInfo, node) { in ModifyUdpChannelTos()
620 …ret = ClientIpcOnTransLimitChange(notifyNode->pkgName, notifyNode->pid, notifyNode->channelId, tos… in ModifyUdpChannelTos()
623 notifyNode->channelId, ret); in ModifyUdpChannelTos()
624 ListDelete(&(notifyNode->node)); in ModifyUdpChannelTos()
625 SoftBusFree(notifyNode); in ModifyUdpChannelTos()
630 ListDelete(&(notifyNode->node)); in ModifyUdpChannelTos()
631 SoftBusFree(notifyNode); in ModifyUdpChannelTos()
636 if (udpChannelNodeTemp->info.myData.channelId == notifyNode->channelId) { in ModifyUdpChannelTos()
642 ListDelete(&(notifyNode->node)); in ModifyUdpChannelTos()
[all …]