Home
last modified time | relevance | path

Searched refs:sensorsid (Results 1 – 1 of 1) sorted by relevance

/device/htc/flounder/sensor_hub/libsensors/
DCwMcuSensor.cpp1154 int sensorsid = 0; in processEvent() local
1159 sensorsid = (int)event[0]; in processEvent()
1164 mPendingEvents[sensorsid].timestamp = time * NS_PER_MS; in processEvent()
1166 switch (sensorsid) { in processEvent()
1169 mPendingMask.markBit(sensorsid); in processEvent()
1170 if ((sensorsid == CW_ORIENTATION) || (sensorsid == CW_ORIENTATION_W)) { in processEvent()
1171 mPendingEvents[sensorsid].orientation.status = bias[0]; in processEvent()
1173 mPendingEvents[sensorsid].data[0] = (float)data[0] * CONVERT_10; in processEvent()
1174 mPendingEvents[sensorsid].data[1] = (float)data[1] * CONVERT_10; in processEvent()
1175 mPendingEvents[sensorsid].data[2] = (float)data[2] * CONVERT_10; in processEvent()
[all …]