Searched refs:readings (Results 1 – 10 of 10) sorted by relevance
/system/chre/apps/chqts/src/general_test/ |
D | basic_sensor_tests.cc | 48 checkTimestampDelta(data->readings[i].timestampDelta, i); in sanityCheckThreeAxisData() 50 checkFloat(data->readings[i].values[j], extremeLow, extremeHigh); in sanityCheckThreeAxisData() 59 checkTimestampDelta(data->readings[i].timestampDelta, i); in sanityCheckFloatData() 60 checkFloat(data->readings[i].value, extremeLow, extremeHigh); in sanityCheckFloatData() 101 checkTimestampDelta(data->readings[i].timestampDelta, i); in confirmDataIsSane() 104 if (mApiVersion >= CHRE_API_VERSION_1_2 && data->readings[i].invalid) { in confirmDataIsSane() 107 if (data->readings[i].padding0 != 0) { in confirmDataIsSane() 108 uint32_t padding = data->readings[i].padding0; in confirmDataIsSane()
|
D | basic_sensor_test_base.cc | 64 duration += event->readings[i].timestampDelta; in getEventDuration()
|
/system/chre/chre_api/legacy/v1_2/chre/ |
D | sensor_types.h | 301 } readings[1]; member 321 } readings[1]; member 341 } readings[1]; member 361 } readings[1]; member
|
/system/chre/chre_api/include/chre_api/chre/ |
D | sensor_types.h | 354 } readings[1]; member 375 } readings[1]; member 395 } readings[1]; member 415 } readings[1]; member
|
/system/chre/chre_api/legacy/v1_0/chre/ |
D | sensor.h | 546 } readings[1]; member 566 } readings[1]; member 581 } readings[1]; member 599 } readings[1]; member
|
/system/chre/chre_api/legacy/v1_1/chre/ |
D | sensor.h | 685 } readings[1]; member 705 } readings[1]; member 725 } readings[1]; member 743 } readings[1]; member
|
/system/chre/platform/slpi/see/ |
D | see_helper.cc | 765 data->sensorType, val, event->readings[index].values); in populateEventSample() 766 timestampDelta = &event->readings[index].timestampDelta; in populateEventSample() 773 event->readings[index].value = val[0]; in populateEventSample() 774 timestampDelta = &event->readings[index].timestampDelta; in populateEventSample() 780 event->readings[index].value = 0; in populateEventSample() 781 event->readings[index].isNear = (val[0] > 0.5f); in populateEventSample() 782 timestampDelta = &event->readings[index].timestampDelta; in populateEventSample() 789 timestampDelta = &event->readings[index].timestampDelta; in populateEventSample() 797 memcpy(event->readings[index].values, val, in populateEventSample() 798 sizeof(event->readings[index].values)); in populateEventSample() [all …]
|
D | see_cal_helper.cc | 69 biasData->readings[0].bias[i] = mCalInfo[index].cal.bias[i]; in getBias() 71 biasData->readings[0].timestampDelta = 0; in getBias()
|
/system/chre/platform/slpi/smgr/ |
D | platform_sensor.cc | 396 data->readings[i].timestampDelta = in populateThreeAxisEvent() 400 data->readings[i].x = FX_FIXTOFLT_Q16_SP(sensorData.Data[1]); in populateThreeAxisEvent() 401 data->readings[i].y = FX_FIXTOFLT_Q16_SP(sensorData.Data[0]); in populateThreeAxisEvent() 402 data->readings[i].z = -FX_FIXTOFLT_Q16_SP(sensorData.Data[2]); in populateThreeAxisEvent() 407 data->readings[i].x *= kMicroTeslaPerGauss; in populateThreeAxisEvent() 408 data->readings[i].y *= kMicroTeslaPerGauss; in populateThreeAxisEvent() 409 data->readings[i].z *= kMicroTeslaPerGauss; in populateThreeAxisEvent() 425 data->readings[i].timestampDelta = in populateFloatEvent() 427 data->readings[i].value = FX_FIXTOFLT_Q16_SP(sensorData.Data[0]); in populateFloatEvent() 442 data->readings[i].timestampDelta = in populateByteEvent() [all …]
|
/system/chre/apps/sensor_world/ |
D | sensor_world.cc | 314 const auto *data = ev->readings; in nanoappHandleEvent() 354 v += ev->readings[i].value; in nanoappHandleEvent() 367 const auto reading = ev->readings[0]; in nanoappHandleEvent()
|