Home
last modified time | relevance | path

Searched refs:eventDumpList (Results 1 - 2 of 2) sorted by relevance

/drivers/peripheral/sensor/hal/src/
H A Dsensor_dump.c141 struct SensorDatePack *eventDumpList; in SensorShowData() local
144 eventDumpList = GetEventData(); in SensorShowData()
153 if (eventDumpList->count < MAX_DUMP_DATA_SIZE) { in SensorShowData()
154 for (len = 0; len < eventDumpList->count; len++) { in SensorShowData()
155 float *data = (float *)(eventDumpList->listDumpArr[len].data); in SensorShowData()
156 ShowData(data, eventDumpList->listDumpArr[len].timestamp, in SensorShowData()
157 g_sensorList[eventDumpList->listDumpArr[len].sensorId], reply); in SensorShowData()
160 int32_t pos = eventDumpList->pos; in SensorShowData()
161 for (len = 0; len < eventDumpList->count; len++) { in SensorShowData()
163 float *data = (float *)(eventDumpList in SensorShowData()
[all...]
/drivers/peripheral/sensor/hdi_service/
H A Dsensor_hdi_dump.cpp129 struct SensorsDataPack eventDumpList; in SensorShowData() local
132 SensorClientsManager::GetInstance()->GetEventData(eventDumpList); in SensorShowData()
136 for (int32_t i = 0; i < eventDumpList.count; i++) { in SensorShowData()
137 int32_t index = static_cast<const uint32_t>(eventDumpList.pos + i) < MAX_DUMP_DATA_SIZE ? in SensorShowData()
138 (eventDumpList.pos + i) : (eventDumpList.pos + i - MAX_DUMP_DATA_SIZE); in SensorShowData()
139 uint32_t dataLen = eventDumpList.listDumpArray[index].dataLen; in SensorShowData()
146 std::copy(eventDumpList.listDumpArray[index].data.begin(), in SensorShowData()
147 eventDumpList.listDumpArray[index].data.end(), eventData); in SensorShowData()
152 int32_t ret = ShowData(data, eventDumpList in SensorShowData()
[all...]

Completed in 1 milliseconds