Searched refs:sensorEvent (Results 1 – 4 of 4) sorted by relevance
33 struct SensorEvent sensorEvent = { in OnDataEvent() local41 sensorEvent.data = new uint8_t[SENSOR_DATA_LENGHT]; in OnDataEvent()43 sensorEvent.data[i] = event.data[i]; in OnDataEvent()51 (void)(reportDataCallback_->*(reportDataCb_))(&sensorEvent, reportDataCallback_); in OnDataEvent()
132 struct SensorEvent sensorEvent = { in SensorDataCallback() local140 sensorEvent.data = new uint8_t[SENSOR_DATA_LENGHT]; in SensorDataCallback()141 if (memcpy_s(sensorEvent.data, event->dataLen, event->data, event->dataLen) != EOK) { in SensorDataCallback()146 (void)(reportDataCache_->*cacheData_)(&sensorEvent, reportDataCache_); in SensorDataCallback()
268 SensorEvent sensorEvent; variable271 sensorEvent.sensorTypeId = SENSOR_TYPE_ID_PROXIMITY;272 sensorEvent.data = reinterpret_cast<uint8_t*>(&data);273 runningLockMgrController->RecordSensorCallback(&sensorEvent);275 runningLockMgrController->RecordSensorCallback(&sensorEvent);277 runningLockMgrController->RecordSensorCallback(&sensorEvent);278 sensorEvent.sensorTypeId = TIMEOUTMS;279 runningLockMgrController->RecordSensorCallback(&sensorEvent);
193 void DispatchData(SensorEvent *sensorEvent) in DispatchData() argument196 if (sensorEvent == NULL) { in DispatchData()200 int32_t sensorId = sensorEvent->sensorTypeId; in DispatchData()203 node->callback(sensorEvent); in DispatchData()