Searched refs:initEv (Results 1 – 2 of 2) sorted by relevance
/device/google/contexthub/sensorhal/ |
D | hubconnection.cpp | 554 sensors_event_t *HubConnection::initEv(sensors_event_t *ev, uint64_t timestamp, uint32_t type, uint… in initEv() function in android::HubConnection 606 initEv(&nev[cnt++], timestamp, type, sensor)->pressure = sample->fdata; in processSample() 609 initEv(&nev[cnt++], timestamp, type, sensor)->relative_humidity = sample->fdata; in processSample() 612 initEv(&nev[cnt++], timestamp, type, sensor)->temperature = sample->fdata; in processSample() 615 initEv(&nev[cnt++], timestamp, type, sensor)->temperature = sample->fdata; in processSample() 618 initEv(&nev[cnt++], timestamp, type, sensor)->distance = sample->fdata; in processSample() 621 initEv(&nev[cnt++], timestamp, type, sensor)->light = sample->fdata; in processSample() 627 initEv(&nev[cnt++], timestamp, type, sensor)->u64.step_counter = mLastStepCount; in processSample() 634 initEv(&nev[cnt++], timestamp, type, sensor)->data[0] = 1.0f; in processSample() 641 initEv(&nev[cnt++], timestamp, type, sensor)->data[0] = sample->idata; in processSample() [all …]
|
D | hubconnection.h | 264 … sensors_event_t *initEv(sensors_event_t *ev, uint64_t timestamp, uint32_t type, uint32_t sensor);
|