Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/algos/calibration/gyroscope/
Dgyro_stillness_detect.c62 float delta = 0; in gyroStillDetUpdate() local
110 delta = (x - gyro_still_det->assumed_mean_x); in gyroStillDetUpdate()
111 gyro_still_det->win_mean_x += delta; in gyroStillDetUpdate()
112 gyro_still_det->acc_var_x += delta * delta; in gyroStillDetUpdate()
114 delta = (y - gyro_still_det->assumed_mean_y); in gyroStillDetUpdate()
115 gyro_still_det->win_mean_y += delta; in gyroStillDetUpdate()
116 gyro_still_det->acc_var_y += delta * delta; in gyroStillDetUpdate()
118 delta = (z - gyro_still_det->assumed_mean_z); in gyroStillDetUpdate()
119 gyro_still_det->win_mean_z += delta; in gyroStillDetUpdate()
120 gyro_still_det->acc_var_z += delta * delta; in gyroStillDetUpdate()
/device/google/contexthub/firmware/os/algos/
Dap_hub_sync.c47 int64_t delta = apTime - hubTime; in apHubSyncAddDelta() local
58 sync->windowMax = delta; in apHubSyncAddDelta()
63 sync->windowMax = (delta > sync->windowMax) ? delta : sync->windowMax; in apHubSyncAddDelta()
/device/linaro/dragonboard/qcom/qrtr/src/
Dwaiter.c220 uint64_t delta; in waiter_wait() local
222 delta = term_time - now; in waiter_wait()
223 if (delta > ((1u << 31) - 1)) in waiter_wait()
224 delta = ((1u << 31) - 1); in waiter_wait()
225 rc = pollset_wait(ps, (int)delta); in waiter_wait()
/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c317 uint64_t old_reference_time, delta; in addTiltHistoryEntry() local
333 delta = mTask.tilt_reference_time - old_reference_time; in addTiltHistoryEntry()
335 mTask.tilt_history_time[i] = (mTask.tilt_history_time[i] > delta) in addTiltHistoryEntry()
336 ? (mTask.tilt_history_time[i] - delta) : 0; in addTiltHistoryEntry()
/device/google/contexthub/firmware/os/core/
DnanohubCommand.c1902 int64_t delta = getAvgDelta(&mTimeSync); in hostGetTimeDelta() local
1904 if (delta == INT64_MIN) in hostGetTimeDelta()
1907 return delta; in hostGetTimeDelta()
1912 int64_t delta = getAvgDelta(&mTimeSync); in hostGetTime() local
1914 if (!delta || delta == INT64_MIN) in hostGetTime()
1917 return sensorGetTime() + delta; in hostGetTime()
Dseos.c120 static inline uint32_t osTaskAddIoCount(struct Task *task, int32_t delta) in osTaskAddIoCount() argument
122 uint8_t count = atomicAddByte(&task->ioCount, delta); in osTaskAddIoCount()
124 count += delta; // old value is returned, so we add it again in osTaskAddIoCount()
/device/google/contexthub/util/nanotool/
Dcontexthub.cpp535 auto delta = end_time - start_time; in ReadAppEvents() local
536 timeout_ms -= std::chrono::duration_cast<Milliseconds>(delta).count(); in ReadAppEvents()
/device/google/bonito/sdm710/kernel-headers/media/
Dmsmb_isp.h626 uint32_t delta[MS_NUM_SLAVE_MAX]; member
/device/google/bonito/sdm710/original-kernel-headers/media/
Dmsmb_isp.h765 uint32_t delta[MS_NUM_SLAVE_MAX]; member
/device/google/crosshatch/sdm845/original-kernel-headers/media/
Dmsmb_isp.h765 uint32_t delta[MS_NUM_SLAVE_MAX]; member
/device/google/crosshatch/sdm845/kernel-headers/media/
Dmsmb_isp.h626 uint32_t delta[MS_NUM_SLAVE_MAX]; member
/device/google/coral-sepolicy/vendor/qcom/common/
Dfile.te330 # audio delta files
/device/google/wahoo/
Dinit.hardware.rc330 # Create directory for audio delta files
332 mkdir /data/vendor/audio/acdbdata/delta 0770 media audio
/device/google/bonito/
Dinit.hardware.rc283 # Create directory for audio delta files
285 mkdir /data/vendor/audio/acdbdata/delta 0770 media audio
/device/google/crosshatch/
Dinit.hardware.rc363 # Create directory for audio delta files
365 mkdir /data/vendor/audio/acdbdata/delta 0770 media audio
/device/google/coral/
Dinit.hardware.rc334 # Create directory for audio delta files
337 mkdir /data/vendor/audio/acdbdata/delta 0770 media audio