Home
last modified time | relevance | path

Searched refs:_NSEC_TO_SEC (Results 1 – 3 of 3) sorted by relevance

/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py51 _NSEC_TO_SEC = 1.0E-9 variable
152 req['android.sensor.frameDuration'] = int(1 / _NSEC_TO_SEC / fps)
317 min_cam_time = min(cam_times) * _NSEC_TO_SEC
318 max_cam_time = max(cam_times) * _NSEC_TO_SEC
319 min_gyro_time = min(gyro_times) * _NSEC_TO_SEC
320 max_gyro_time = max(gyro_times) * _NSEC_TO_SEC
/cts/apps/CameraITS/tests/scene3/
Dtest_imu_drift.py38 _NSEC_TO_SEC = 1E-9 variable
256 gyro_events, _NSEC_TO_SEC, _RAD_TO_DEG)
266 rv_events, _NSEC_TO_SEC, 1)
/cts/apps/CameraITS/utils/
Dsensor_fusion_utils.py109 _NSEC_TO_SEC = 1E-9 variable
110 _SEC_TO_NSEC = int(1/_NSEC_TO_SEC)
433 t_gyro_delta = (t_gyro1 - t_gyro0) * _NSEC_TO_SEC
441 t_gyro_delta = (t_gyro1 - t_gyro0) * _NSEC_TO_SEC
727 times = np.array([(e['time'] - gyro_events[0]['time']) * _NSEC_TO_SEC