Home | History | Annotate | Download | only in sensorhal

Lines Matching full:initev

392 sensors_event_t *HubConnection::initEv(sensors_event_t *ev, uint64_t timestamp, uint32_t type, uint32_t sensor)
416 initEv(&nev[cnt++], timestamp, type, sensor)->pressure = sample->fdata;
419 initEv(&nev[cnt++], timestamp, type, sensor)->temperature = sample->fdata;
422 initEv(&nev[cnt++], timestamp, type, sensor)->distance = sample->fdata;
425 initEv(&nev[cnt++], timestamp, type, sensor)->light = sample->fdata;
431 initEv(&nev[cnt++], timestamp, type, sensor)->u64.step_counter = mLastStepCount;
438 initEv(&nev[cnt++], timestamp, type, sensor)->data[0] = 1.0f;
442 initEv(&nev[cnt++], timestamp, type, sensor)->data[0] = sample->idata;
450 initEv(&nev[cnt++], timestamp, type, sensor)->data[0] = sample->idata;
483 sv = &initEv(&nev[cnt++], timestamp, type, sensor)->acceleration;
509 sv = &initEv(&nev[cnt++], timestamp, type, sensor)->acceleration;
517 sv = &initEv(&nev[cnt++], timestamp, type, sensor)->gyro;
525 ue = &initEv(&nev[cnt++], timestamp,
552 sv = &initEv(&nev[cnt++], timestamp, type, sensor)->magnetic;
560 ue = &initEv(&nev[cnt++], timestamp,
582 sv = &initEv(&nev[cnt++], timestamp, type, sensor)->orientation;
589 ev = initEv(&nev[cnt++], timestamp, type, sensor);
595 ev = initEv(&nev[cnt++], timestamp, type, sensor);
609 ev = initEv(&nev[cnt++], timestamp, type, sensor);
1092 initEv(&gestureEvent, elapsedRealtimeNano(), SENSOR_TYPE_PICK_UP_GESTURE, COMMS_SENSOR_GESTURE)->data[0] = 8;