Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/
DhostIntf.c774 sensor->lastTime = sensor->buffer.referenceTime = triple->referenceTime; in copyTripleSamplesRaw()
777 sensor->buffer.referenceTime = sensor->lastTime; in copyTripleSamplesRaw()
790 sensor->firstTime = sensor->buffer.referenceTime; in copyTripleSamplesRaw()
793 if (sensor->lastTime > triple->referenceTime) { in copyTripleSamplesRaw()
798 } else if (triple->referenceTime - sensor->lastTime >= delta_time_max) { in copyTripleSamplesRaw()
803 deltaTime = encodeDeltaTime(triple->referenceTime - sensor->lastTime); in copyTripleSamplesRaw()
811 sensor->lastTime = triple->referenceTime; in copyTripleSamplesRaw()
846 sensor->lastTime = sensor->buffer.referenceTime = single->referenceTime; in copySingleSamples()
849 sensor->buffer.referenceTime = sensor->lastTime; in copySingleSamples()
860 sensor->firstTime = sensor->buffer.referenceTime; in copySingleSamples()
[all …]
Dsensors.c82 struct SingleAxisDataEvent singleAxisFlush = { .referenceTime = 0 };
83 struct TripleAxisDataEvent tripleAxisFlush = { .referenceTime = 0 };
DnanohubCommand.c719 if (packet->referenceTime) in fillBuffer()
720 packet->referenceTime += getAvgDelta(&mTimeSync); in fillBuffer()
/device/google/contexthub/firmware/inc/
Dsensors.h71 uint64_t referenceTime; member
98 uint64_t referenceTime; member
115 uint64_t referenceTime; member
DhostIntf.h57 uint64_t referenceTime; member
/device/google/contexthub/sensorhal/
Dhubconnection.h167 uint64_t referenceTime; member
Dhubconnection.cpp793 ret += sizeof(data->referenceTime); in processBuf()
794 timestamp = data->referenceTime; in processBuf()
/device/google/contexthub/firmware/src/drivers/tilt_detection/
Dtilt_detection.c81 uint64_t sample_ts = ev->referenceTime; in algoUpdate()
/device/google/contexthub/firmware/src/drivers/orientation/
Dorientation.c199 curr_time = ev->referenceTime; in fillSamples()
210 next_time = ev->referenceTime; in fillSamples()
277 mSensor->ev->referenceTime = time; in allocateDataEvt()
/device/google/contexthub/firmware/src/drivers/window_orientation/
Dwindow_orientation.c334 uint64_t now_nsec = ev->referenceTime, now; in add_samples()
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmi160.c1735 mSensor->data_evt->referenceTime = rtc_time; in allocateDataEvt()