Home
last modified time | relevance | path

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

/base/sensors/sensor/utils/src/
Dreport_data_callback.cpp32 eventsBuf_.eventNum = 0; in ReportDataCallback()
44 eventsBuf_.eventNum = 0; in ~ReportDataCallback()
58 int32_t leftSize = CIRCULAR_BUF_LEN - cb->eventsBuf_.eventNum; in ReportEventCallback()
78 cb->eventsBuf_.eventNum += 1; in ReportEventCallback()
79 if (cb->eventsBuf_.eventNum >= CIRCULAR_BUF_LEN) { in ReportEventCallback()
80 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/medical_sensor/utils/include/
Dreport_data_cache.h33 int32_t eventNum; member
/base/sensors/sensor/utils/include/
Dreport_data_callback.h31 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/sensors/sensor/services/sensor/src/
Dsensor_data_processer.cpp344 if (eventsBuf.eventNum <= 0) { in ProcessEvents()
348 int32_t eventNum = eventsBuf.eventNum; in ProcessEvents() local
349 for (int32_t i = 0; i < eventNum; i++) { in ProcessEvents()
359 eventsBuf.eventNum--; in ProcessEvents()
/base/notification/common_event_service/services/src/
Dcommon_event_subscriber_manager.cpp160 for (size_t eventNum = 0; eventNum < countSize; ++eventNum) { in DumpDetailed() local
161 if (eventNum == 0) { in DumpDetailed()
166 … events = events + separator + record->eventSubscribeInfo->GetMatchingSkills().GetEvent(eventNum); in DumpDetailed()