Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 25 of 760) sorted by relevance

12345678910>>...31

/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Ddatalogger_outputs.c49 void inv_get_sensor_type_gyro_raw_short(short *values, inv_time_t *timestamp) in inv_get_sensor_type_gyro_raw_short() argument
55 if (timestamp) in inv_get_sensor_type_gyro_raw_short()
56 *timestamp = pg->timestamp; in inv_get_sensor_type_gyro_raw_short()
65 inv_time_t *timestamp) in inv_get_sensor_type_gyro_raw_body_float() argument
81 if (timestamp) in inv_get_sensor_type_gyro_raw_body_float()
82 *timestamp = pg->timestamp; in inv_get_sensor_type_gyro_raw_body_float()
92 inv_time_t *timestamp) in inv_get_sensor_type_gyro_float() argument
95 inv_get_gyro_set(gyro, accuracy, timestamp); in inv_get_sensor_type_gyro_float()
107 void inv_get_sensor_type_accel_raw_short(short *values, inv_time_t *timestamp) in inv_get_sensor_type_accel_raw_short() argument
113 if (timestamp) in inv_get_sensor_type_accel_raw_short()
[all …]
Ddatalogger_outputs.h22 inv_time_t *timestamp);
24 inv_time_t *timestamp);
26 inv_time_t *timestamp);
28 float *values, int8_t *accuracy, inv_time_t *timestamp);
30 inv_time_t *timestamp);
32 inv_time_t * timestamp);
34 inv_time_t * timestamp);
38 inv_time_t *timestamp);
40 inv_time_t *timestamp);
42 inv_time_t *timestamp);
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dhal_outputs.h17 inv_time_t * timestamp);
19 inv_time_t * timestamp);
21 inv_time_t * timestamp);
23 inv_time_t * timestamp);
25 inv_time_t * timestamp);
27 inv_time_t * timestamp);
29 inv_time_t * timestamp);
33 inv_time_t * timestamp);
35 inv_time_t * timestamp);
38 inv_time_t * timestamp);
[all …]
Ddata_builder.c400 inv_time_t timestamp = 0; in inv_get_last_timestamp() local
402 timestamp = sensors.accel.timestamp; in inv_get_last_timestamp()
405 if (timestamp < sensors.gyro.timestamp) { in inv_get_last_timestamp()
406 timestamp = sensors.gyro.timestamp; in inv_get_last_timestamp()
408 MPL_LOGV("g ts: %lld", timestamp); in inv_get_last_timestamp()
411 if (timestamp < sensors.compass.timestamp) { in inv_get_last_timestamp()
412 timestamp = sensors.compass.timestamp; in inv_get_last_timestamp()
416 if (timestamp < sensors.temp.timestamp) in inv_get_last_timestamp()
417 timestamp = sensors.temp.timestamp; in inv_get_last_timestamp()
420 if (timestamp < sensors.quat.timestamp) in inv_get_last_timestamp()
[all …]
Dresults_holder.h27 void inv_store_gaming_quaternion(const long *quat, inv_time_t timestamp);
28 void inv_store_accel_quaternion(const long *quat, inv_time_t timestamp);
44 inv_error_t inv_get_6axis_quaternion(long *data, inv_time_t *timestamp);
47 void inv_get_quaternion_set(long *data, int *accuracy, inv_time_t *timestamp);
49 inv_error_t inv_get_geomagnetic_quaternion(long *data, inv_time_t *timestamp);
50 void inv_set_geomagnetic_compass_correction(const long *data, inv_time_t timestamp);
51 void inv_get_geomagnetic_compass_correction(long *data, inv_time_t *timestamp);
61 void inv_set_compass_correction(const long *data, inv_time_t timestamp);
62 void inv_get_compass_correction(long *data, inv_time_t *timestamp);
Dhal_outputs.c75 inv_time_t * timestamp) in inv_get_sensor_type_accelerometer() argument
82 inv_get_accel_set(accel, accuracy, timestamp); in inv_get_sensor_type_accelerometer()
91 values[2], status, *timestamp); in inv_get_sensor_type_accelerometer()
104 inv_time_t * timestamp) in inv_get_sensor_type_linear_acceleration() argument
109 inv_get_accel_set(accel, accuracy, timestamp); in inv_get_sensor_type_linear_acceleration()
133 inv_time_t * timestamp) in inv_get_sensor_type_gravity() argument
139 *timestamp = hal_out.nav_timestamp; in inv_get_sensor_type_gravity()
163 inv_time_t * timestamp) in inv_get_sensor_type_gyroscope() argument
168 inv_get_gyro_set(gyro, accuracy, timestamp); in inv_get_sensor_type_gyroscope()
189 inv_time_t * timestamp) in inv_get_sensor_type_gyroscope_raw() argument
[all …]
Ddata_builder.h100 inv_time_t timestamp; member
113 inv_time_t timestamp; member
240 inv_error_t inv_build_gyro(const short *gyro, inv_time_t timestamp);
242 inv_time_t timestamp);
244 inv_time_t timestamp);
245 inv_error_t inv_build_temp(const long temp, inv_time_t timestamp);
246 inv_error_t inv_build_quat(const long *quat, int status, inv_time_t timestamp);
247 inv_error_t inv_build_pressure(const long pressure, int status, inv_time_t timestamp);
291 void inv_get_accel_set(long *data, int8_t *accuracy, inv_time_t * timestamp);
292 void inv_get_gyro_set(long *data, int8_t *accuracy, inv_time_t * timestamp);
[all …]
Dresults_holder.c65 void inv_store_gaming_quaternion(const long *quat, inv_time_t timestamp) in inv_store_gaming_quaternion() argument
69 rh.gam_timestamp = timestamp; in inv_store_gaming_quaternion()
77 void inv_store_accel_quaternion(const long *quat, inv_time_t timestamp) in inv_store_accel_quaternion() argument
81 rh.geomag_timestamp = timestamp; in inv_store_accel_quaternion()
88 void inv_set_compass_correction(const long *data, inv_time_t timestamp) in inv_set_compass_correction() argument
92 rh.nav_timestamp = timestamp; in inv_set_compass_correction()
100 void inv_set_geomagnetic_compass_correction(const long *data, inv_time_t timestamp) in inv_set_geomagnetic_compass_correction() argument
104 rh.geomag_timestamp = timestamp; in inv_set_geomagnetic_compass_correction()
112 void inv_get_compass_correction(long *data, inv_time_t *timestamp) in inv_get_compass_correction() argument
115 *timestamp = rh.nav_timestamp; in inv_get_compass_correction()
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dhal_outputs.h17 inv_time_t * timestamp);
19 inv_time_t * timestamp);
21 inv_time_t * timestamp);
23 inv_time_t * timestamp);
25 inv_time_t * timestamp);
27 inv_time_t * timestamp);
29 inv_time_t * timestamp);
33 inv_time_t * timestamp);
35 inv_time_t * timestamp);
38 inv_time_t * timestamp);
[all …]
Dresults_holder.h62 void inv_store_gaming_quaternion(const long *quat, inv_time_t timestamp);
63 void inv_store_accel_quaternion(const long *quat, inv_time_t timestamp);
64 void inv_store_nav_quaternion(const float *quat, inv_time_t timestamp);
65 void inv_store_game_quaternion(const float *quat, inv_time_t timestamp);
66 void inv_store_geomag_quaternion(const float *quat, inv_time_t timestamp);
87 inv_error_t inv_get_6axis_quaternion(long *data, inv_time_t *timestamp);
90 inv_error_t inv_get_6axis_quaternion_float(float *data, inv_time_t *timestamp);
91 inv_error_t inv_get_geomagnetic_quaternion_float(float *data, inv_time_t *timestamp);
96 void inv_get_quaternion_set(long *data, int *accuracy, inv_time_t *timestamp);
98 inv_error_t inv_get_geomagnetic_quaternion(long *data, inv_time_t *timestamp);
[all …]
Ddata_builder.c337 *ts = sensors.quat.timestamp; in inv_raw_sensor_timestamp()
339 if (sensors.quat.timestamp_prev != sensors.quat.timestamp) in inv_raw_sensor_timestamp()
343 *ts = sensors.gyro.timestamp; in inv_raw_sensor_timestamp()
345 if (sensors.gyro.timestamp_prev != sensors.gyro.timestamp) in inv_raw_sensor_timestamp()
349 *ts = sensors.accel.timestamp; in inv_raw_sensor_timestamp()
351 if (sensors.accel.timestamp_prev != sensors.accel.timestamp) in inv_raw_sensor_timestamp()
355 *ts = sensors.compass.timestamp; in inv_raw_sensor_timestamp()
357 if (sensors.compass.timestamp_prev != sensors.compass.timestamp) in inv_raw_sensor_timestamp()
381 *ts = sensors.quat.timestamp; in inv_get_9_axis_timestamp()
383 if (sensors.quat.timestamp_prev != sensors.quat.timestamp) in inv_get_9_axis_timestamp()
[all …]
Dhal_outputs.c123 inv_time_t * timestamp) in inv_get_sensor_type_accelerometer() argument
130 inv_get_accel_set(accel, accuracy, timestamp); in inv_get_sensor_type_accelerometer()
139 values[2], status, *timestamp); in inv_get_sensor_type_accelerometer()
152 inv_time_t * timestamp) in inv_get_sensor_type_linear_acceleration() argument
166 … return inv_get_6_axis_gyro_accel_timestamp(hal_out.linear_acceleration_sample_rate_us, timestamp); in inv_get_sensor_type_linear_acceleration()
177 inv_time_t * timestamp) in inv_get_sensor_type_gravity() argument
187 return inv_get_6_axis_gyro_accel_timestamp(hal_out.gravity_sample_rate_us, timestamp); in inv_get_sensor_type_gravity()
202 inv_time_t * timestamp) in inv_get_sensor_type_gyroscope() argument
207 inv_get_gyro_set(gyro, accuracy, timestamp); in inv_get_sensor_type_gyroscope()
228 inv_time_t * timestamp) in inv_get_sensor_type_gyroscope_raw() argument
[all …]
Ddata_builder.h102 inv_time_t timestamp; member
115 inv_time_t timestamp; member
243 inv_error_t inv_build_gyro(const short *gyro, inv_time_t timestamp);
245 inv_time_t timestamp);
247 inv_time_t timestamp);
248 inv_error_t inv_build_temp(const long temp, inv_time_t timestamp);
249 inv_error_t inv_build_quat(const long *quat, int status, inv_time_t timestamp);
250 inv_error_t inv_build_pressure(const long pressure, int status, inv_time_t timestamp);
295 void inv_get_accel_set(long *data, int8_t *accuracy, inv_time_t * timestamp);
296 void inv_get_gyro_set(long *data, int8_t *accuracy, inv_time_t * timestamp);
[all …]
Dresults_holder.c67 void inv_store_gaming_quaternion(const long *quat, inv_time_t timestamp) in inv_store_gaming_quaternion() argument
71 rh.gam_timestamp = timestamp; in inv_store_gaming_quaternion()
79 void inv_store_nav_quaternion(const float *quat, inv_time_t timestamp) in inv_store_nav_quaternion() argument
82 rh.nav_timestamp = timestamp; in inv_store_nav_quaternion()
90 void inv_store_geomag_quaternion(const float *quat, inv_time_t timestamp) in inv_store_geomag_quaternion() argument
93 rh.geomag_timestamp = timestamp; in inv_store_geomag_quaternion()
101 void inv_store_game_quaternion(const float *quat, inv_time_t timestamp) in inv_store_game_quaternion() argument
105 rh.gam_timestamp = timestamp; in inv_store_game_quaternion()
113 void inv_store_accel_quaternion(const long *quat, inv_time_t timestamp) in inv_store_accel_quaternion() argument
117 rh.geomag_timestamp = timestamp; in inv_store_accel_quaternion()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/util/
Dcamscope_packet_type.cpp254 struct timeval timestamp, in fill_camscope_sw_base() argument
257 scope_struct->timestamp = timestamp; in fill_camscope_sw_base()
280 uint32_t size, struct timeval timestamp, in fill_camscope_timing() argument
284 timestamp, thread_id, event_name); in fill_camscope_timing()
310 struct timeval timestamp, in fill_camscope_in_out_timing() argument
316 timestamp, thread_id, event_name); in fill_camscope_in_out_timing()
339 struct timeval timestamp; in camscope_base_log() local
340 gettimeofday(&timestamp, NULL); in camscope_base_log()
375 struct timeval timestamp; in camscope_sw_base_log() local
376 gettimeofday(&timestamp, NULL); in camscope_sw_base_log()
[all …]
/hardware/google/camera/common/sensor_listener/
Dgoog_sensor_sync.cc119 latest_n_vsync_timestamps->push_back(event->sensor_event.timestamp); in GetLatestNSamples()
171 int64_t GoogSensorSync::SyncTimestamp(int64_t timestamp) { in SyncTimestamp() argument
176 return timestamp; in SyncTimestamp()
181 int64_t nearest_sync = timestamp; in SyncTimestamp()
183 if (llabs(event.sensor_event.timestamp - timestamp) < min_delta) { in SyncTimestamp()
184 min_delta = llabs(event.sensor_event.timestamp - timestamp); in SyncTimestamp()
185 nearest_sync = event.sensor_event.timestamp; in SyncTimestamp()
197 __func__, __LINE__, timestamp, curr_time); in SyncTimestamp()
212 int64_t timestamp) { in FindNearestEvent() argument
221 int64_t delta = llabs(event.sensor_event.timestamp - timestamp); in FindNearestEvent()
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dinv_sysfs_utils.c76 int inv_read_buffer(int fd, long *data, long long *timestamp) in inv_read_buffer() argument
84 if (!timestamp) in inv_read_buffer()
88 &data[2], timestamp); in inv_read_buffer()
90 if (count < (timestamp?4:3)) in inv_read_buffer()
103 long long *timestamp) in inv_read_raw() argument
111 if (!timestamp) in inv_read_raw()
115 &data[2], timestamp); in inv_read_raw()
116 if (count < (timestamp?4:3)) in inv_read_raw()
129 long long *timestamp) in inv_read_temperature_raw() argument
137 count = sscanf(str, "%hd%lld", &data[0], timestamp); in inv_read_temperature_raw()
[all …]
Dinv_sysfs_utils.h67 int inv_read_buffer(int fd, long *data, long long *timestamp);
69 long long *timestamp);
71 long long *timestamp);
83 long long *timestamp);
85 long long *timestamp);
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dinv_sysfs_utils.c70 int inv_read_buffer(int fd, long *data, long long *timestamp) in inv_read_buffer() argument
78 if (!timestamp) in inv_read_buffer()
82 &data[2], timestamp); in inv_read_buffer()
84 if (count < (timestamp?4:3)) in inv_read_buffer()
97 long long *timestamp) in inv_read_raw() argument
105 if (!timestamp) in inv_read_raw()
109 &data[2], timestamp); in inv_read_raw()
110 if (count < (timestamp?4:3)) in inv_read_raw()
123 long long *timestamp) in inv_read_temperature_raw() argument
131 count = sscanf(str, "%hd%lld", &data[0], timestamp); in inv_read_temperature_raw()
[all …]
Dinv_sysfs_utils.h61 int inv_read_buffer(int fd, long *data, long long *timestamp);
63 long long *timestamp);
65 long long *timestamp);
77 long long *timestamp);
79 long long *timestamp);
/hardware/interfaces/security/secureclock/aidl/vts/functional/
DSecureClockAidlTest.cpp116 EXPECT_GT(result1.token.timestamp.milliSeconds, 0U); in TEST_P()
126 EXPECT_GT(result2.token.timestamp.milliSeconds, 0U); in TEST_P()
136 EXPECT_GE(result2.token.timestamp.milliSeconds, result1.token.timestamp.milliSeconds); in TEST_P()
138 result2.token.timestamp.milliSeconds - result1.token.timestamp.milliSeconds; in TEST_P()
157 EXPECT_GT(result1.token.timestamp.milliSeconds, 0U); in TEST_P()
167 EXPECT_GT(result2.token.timestamp.milliSeconds, 0U); in TEST_P()
178 EXPECT_GE(result2.token.timestamp.milliSeconds, result1.token.timestamp.milliSeconds); in TEST_P()
180 result2.token.timestamp.milliSeconds - result1.token.timestamp.milliSeconds; in TEST_P()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec_utils.cpp205 bool omx_swvdec_ts_list::push(long long timestamp) in push() argument
220 m_list[m_count_filled].timestamp = timestamp; in push()
229 (m_list[index_curr].timestamp > m_list[index_prev].timestamp)) in push()
233 timestamp_tmp = m_list[index_prev].timestamp; in push()
234 m_list[index_prev].timestamp = m_list[index_curr].timestamp; in push()
235 m_list[index_curr].timestamp = timestamp_tmp; in push()
267 *p_timestamp = m_list[m_count_filled - 1].timestamp; in pop()
/hardware/google/graphics/common/libhwc2.1/libdrmresource/drm/
Dvsyncworker.cpp113 int VSyncWorker::SyntheticWaitVBlank(int64_t &timestamp) { in SyntheticWaitVBlank() argument
138 timestamp = (int64_t)vsync.tv_sec * nsecsPerSec + (int64_t)vsync.tv_nsec; in SyntheticWaitVBlank()
172 int64_t timestamp; in Routine() local
175 if (SyntheticWaitVBlank(timestamp)) { in Routine()
180 timestamp = (int64_t)vblank.reply.tval_sec * nsecsPerSec + in Routine()
212 if (callback) callback->Callback(display, timestamp); in Routine()
215 int64_t period = timestamp - last_timestamp_; in Routine()
220 last_timestamp_ = timestamp; in Routine()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
Dts_parser.h61 typedef struct timestamp { struct
64 }timestamp; argument
66 timestamp input_timestamps[TIME_SZ];
/hardware/interfaces/gnss/1.0/default/
DGnssUtils.cpp47 .timestamp = location->timestamp in convertToGnssLocation()
67 .timestamp = flpLocation->timestamp}; in convertToGnssLocation()

12345678910>>...31