/device/google/contexthub/firmware/os/core/ |
D | hostIntf.c | 868 sensor->lastTime = sensor->buffer.referenceTime = single->referenceTime; in copySingleSamples() 871 sensor->buffer.referenceTime = sensor->lastTime; in copySingleSamples() 882 sensor->firstTime = sensor->buffer.referenceTime; in copySingleSamples() 885 if (sensor->lastTime > single->referenceTime) { in copySingleSamples() 889 } else if (single->referenceTime - sensor->lastTime >= delta_time_max) { in copySingleSamples() 893 deltaTime = encodeDeltaTime(single->referenceTime - sensor->lastTime); in copySingleSamples() 899 sensor->lastTime = single->referenceTime; in copySingleSamples() 930 sensor->lastTime = sensor->buffer.referenceTime = triple->referenceTime; in copyTripleSamples() 933 sensor->buffer.referenceTime = sensor->lastTime; in copyTripleSamples() 952 sensor->firstTime = sensor->buffer.referenceTime; in copyTripleSamples() [all …]
|
D | sensors.c | 37 struct SingleAxisDataEvent singleAxisFlush = { .referenceTime = 0 }; 38 struct TripleAxisDataEvent tripleAxisFlush = { .referenceTime = 0 };
|
D | nanohubCommand.c | 768 if (packet->referenceTime) in fillBuffer() 769 packet->referenceTime += getAvgDelta(&mTimeSync); in fillBuffer()
|
/device/google/contexthub/firmware/os/inc/ |
D | sensors.h | 77 uint64_t referenceTime; member 104 uint64_t referenceTime; member 121 uint64_t referenceTime; member
|
D | hostIntf.h | 58 uint64_t referenceTime; member
|
/device/google/contexthub/firmware/app/chre/common/ |
D | chre10_app.c | 59 initDataHeader(&three.header, src->referenceTime, sensorHandle); in processTripleAxisData() 82 initDataHeader(&occ.header, src->referenceTime, sensorHandle); in processSingleAxisData() 97 initDataHeader(&flt.header, src->referenceTime, sensorHandle); in processSingleAxisData() 112 initDataHeader(&byte.header, src->referenceTime, sensorHandle); in processSingleAxisData()
|
D | chre_app.c | 59 initDataHeader(&three.header, src->referenceTime, sensorHandle); in processTripleAxisData() 82 initDataHeader(&occ.header, src->referenceTime, sensorHandle); in processSingleAxisData() 97 initDataHeader(&flt.header, src->referenceTime, sensorHandle); in processSingleAxisData() 112 initDataHeader(&byte.header, src->referenceTime, sensorHandle); in processSingleAxisData()
|
/device/google/contexthub/firmware/os/drivers/vsync/ |
D | vsync.c | 96 ev->referenceTime = time; in vsyncAllocateEvt()
|
/device/google/contexthub/firmware/os/drivers/tilt_detection/ |
D | tilt_detection.c | 83 uint64_t sample_ts = ev->referenceTime; in algoUpdate()
|
/device/google/contexthub/sensorhal/ |
D | hubconnection.h | 218 uint64_t referenceTime; member
|
D | hubconnection.cpp | 1285 if (len >= sizeof(data->evtType) + sizeof(data->referenceTime) + sizeof(data->firstSample)) { in processBuf() 1286 ret += sizeof(data->referenceTime); in processBuf() 1287 timestamp = data->referenceTime; in processBuf()
|
/device/google/contexthub/firmware/os/drivers/orientation/ |
D | orientation.c | 214 curr_time = ev->referenceTime; in fillSamples() 225 next_time = ev->referenceTime; in fillSamples() 292 mSensor->ev->referenceTime = time; in allocateDataEvt()
|
/device/google/contexthub/firmware/os/drivers/st_mag40/ |
D | st_mag40.c | 753 magSample->referenceTime = mTask.timestampInt; in parseRawData() 768 magSample->referenceTime = mTask.timestampInt; in parseRawData()
|
/device/google/contexthub/firmware/os/drivers/window_orientation/ |
D | window_orientation.c | 393 uint64_t now_nsec = ev->referenceTime, now; in add_samples()
|
/device/google/contexthub/firmware/os/drivers/st_acc44/ |
D | st_acc44.c | 656 accSample->referenceTime = sensor_time; in parseRawData()
|
/device/google/contexthub/firmware/os/drivers/st_lps22hb/ |
D | lps22hb.c | 200 ev->referenceTime = time; in baroAllocateEvt()
|
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/ |
D | bosch_bmp280.c | 239 ev->referenceTime = time; in baroAllocateEvt()
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 2386 mSensor->data_evt->referenceTime = rtc_time; 3079 uint64_t ts = evtData->referenceTime;
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 4136 mSensor->tADataEvt->referenceTime = rtcTime; in lsm6dsm_allocateThreeAxisDataEvt() 4170 mSensor->sADataEvt->referenceTime = rtcTime; in lsm6dsm_allocateOneAxisDataEvt()
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 1192 mSensor->data_evt->referenceTime = rtc_time;
|