Searched refs:nev (Results 1 – 1 of 1) sorted by relevance
/device/google/contexthub/sensorhal/ |
D | hubconnection.cpp | 334 sensors_event_t nev[1]; in processSample() local 346 initEv(&nev[cnt++], timestamp, type, sensor)->pressure = sample->fdata; in processSample() 349 initEv(&nev[cnt++], timestamp, type, sensor)->temperature = sample->fdata; in processSample() 352 initEv(&nev[cnt++], timestamp, type, sensor)->distance = sample->fdata; in processSample() 355 initEv(&nev[cnt++], timestamp, type, sensor)->light = sample->fdata; in processSample() 361 initEv(&nev[cnt++], timestamp, type, sensor)->u64.step_counter = mLastStepCount; in processSample() 367 initEv(&nev[cnt++], timestamp, type, sensor)->data[0] = 1.0f; in processSample() 371 initEv(&nev[cnt++], timestamp, type, sensor)->data[0] = sample->idata; in processSample() 379 initEv(&nev[cnt++], timestamp, type, sensor)->data[0] = sample->idata; in processSample() 386 mRing.write(nev, cnt); in processSample() [all …]
|