Home
last modified time | relevance | path

Searched refs:eventNum (Results 1 – 8 of 8) sorted by relevance

/base/sensors/sensor/utils/common/src/
Dreport_data_callback.cpp32 eventsBuf_.eventNum = 0; in ReportDataCallback()
44 eventsBuf_.eventNum = 0; in ~ReportDataCallback()
54 int32_t leftSize = CIRCULAR_BUF_LEN - cb->eventsBuf_.eventNum; in ReportEventCallback()
70 cb->eventsBuf_.eventNum += 1; in ReportEventCallback()
71 if (cb->eventsBuf_.eventNum >= CIRCULAR_BUF_LEN) { in ReportEventCallback()
72 cb->eventsBuf_.eventNum = CIRCULAR_BUF_LEN; in ReportEventCallback()
/base/sensors/medical_sensor/utils/src/
Dreport_data_cache.cpp40 eventsBuf_.eventNum = 0; in ReportDataCache()
51 eventsBuf_.eventNum = 0; in ~ReportDataCache()
75 int32_t leftSize = CIRCULAR_BUF_LEN - cache->eventsBuf_.eventNum; in CacheData()
87 cache->eventsBuf_.eventNum += 1; in CacheData()
88 if (cache->eventsBuf_.eventNum >= CIRCULAR_BUF_LEN) { in CacheData()
89 cache->eventsBuf_.eventNum = CIRCULAR_BUF_LEN; in CacheData()
/base/sensors/sensor/services/sensor/src/
Dsensor_data_processer.cpp260 if (eventsBuf.eventNum <= 0) { in ProcessEvents()
264 int32_t eventNum = eventsBuf.eventNum; in ProcessEvents() local
265 for (int32_t i = 0; i < eventNum; i++) { in ProcessEvents()
272 eventsBuf.eventNum--; in ProcessEvents()
/base/sensors/sensor/utils/common/include/
Dreport_data_callback.h31 int32_t eventNum; member
/base/sensors/medical_sensor/utils/include/
Dreport_data_cache.h33 int32_t eventNum; member
/base/sensors/medical_sensor/services/medical_sensor/src/
Dmedical_data_processer.cpp367 if (eventsBuf.eventNum <= 0) { in ProcessEvents()
371 int32_t eventNum = eventsBuf.eventNum; in ProcessEvents() local
372 HiLog::Debug(LABEL, "%{public}s data eventNum = %{public}d", __func__, eventNum); in ProcessEvents()
373 for (int32_t i = 0; i < eventNum; i++) { in ProcessEvents()
381 eventsBuf.eventNum--; in ProcessEvents()
/base/notification/common_event_service/services/src/
Dcommon_event_subscriber_manager.cpp161 for (size_t eventNum = 0; eventNum < countSize; ++eventNum) { in DumpDetailed() local
162 if (eventNum == 0) { in DumpDetailed()
167 … events = events + separator + record->eventSubscribeInfo->GetMatchingSkills().GetEvent(eventNum); in DumpDetailed()
/base/security/device_auth/services/session_manager/src/session/
Ddev_session_fwk.c257 int32_t eventNum = GetItemNum(sessionMsg); in ParseAllRecvEvent() local
258 if (eventNum <= 0) { in ParseAllRecvEvent()
262 for (int32_t i = 0; i < eventNum; i++) { in ParseAllRecvEvent()