Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
DhostIntf.c868 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 …]
Dsensors.c37 struct SingleAxisDataEvent singleAxisFlush = { .referenceTime = 0 };
38 struct TripleAxisDataEvent tripleAxisFlush = { .referenceTime = 0 };
DnanohubCommand.c768 if (packet->referenceTime) in fillBuffer()
769 packet->referenceTime += getAvgDelta(&mTimeSync); in fillBuffer()
/device/google/contexthub/firmware/os/inc/
Dsensors.h77 uint64_t referenceTime; member
104 uint64_t referenceTime; member
121 uint64_t referenceTime; member
DhostIntf.h58 uint64_t referenceTime; member
/device/google/contexthub/firmware/app/chre/common/
Dchre10_app.c59 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()
Dchre_app.c59 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/
Dvsync.c96 ev->referenceTime = time; in vsyncAllocateEvt()
/device/google/contexthub/firmware/os/drivers/tilt_detection/
Dtilt_detection.c83 uint64_t sample_ts = ev->referenceTime; in algoUpdate()
/device/google/contexthub/sensorhal/
Dhubconnection.h218 uint64_t referenceTime; member
Dhubconnection.cpp1285 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/
Dorientation.c214 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/
Dst_mag40.c753 magSample->referenceTime = mTask.timestampInt; in parseRawData()
768 magSample->referenceTime = mTask.timestampInt; in parseRawData()
/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c393 uint64_t now_nsec = ev->referenceTime, now; in add_samples()
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c656 accSample->referenceTime = sensor_time; in parseRawData()
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
Dlps22hb.c200 ev->referenceTime = time; in baroAllocateEvt()
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c239 ev->referenceTime = time; in baroAllocateEvt()
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c2386 mSensor->data_evt->referenceTime = rtc_time;
3079 uint64_t ts = evtData->referenceTime;
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c4136 mSensor->tADataEvt->referenceTime = rtcTime; in lsm6dsm_allocateThreeAxisDataEvt()
4170 mSensor->sADataEvt->referenceTime = rtcTime; in lsm6dsm_allocateOneAxisDataEvt()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c1199 mSensor->data_evt->referenceTime = rtc_time;