Lines Matching full:timestamp
627 LOGE("HAL:could not open timestamp enable");
630 LOGE("HAL:could not enable timestamp");
633 LOGE("HAL:could not close timestamp");
2625 (inv_time_t *)(&s->timestamp));
2628 &s->timestamp);
2630 if (!mEnabledTime[Gyro] || !(s->timestamp > mEnabledTime[Gyro])) {
2631 LOGV_IF(ENG_VERBOSE, "HAL:gyro incorrect timestamp Enabled=%lld, Timestamp=%lld, Now=%lld",
2632 mEnabledTime[Gyro], s->timestamp, android::elapsedRealtimeNano());
2637 s->gyro.v[0], s->gyro.v[1], s->gyro.v[2], s->timestamp, update);
2647 &s->gyro.status, (inv_time_t *)(&s->timestamp));
2650 &s->gyro.status, &s->timestamp);
2652 if (!mEnabledTime[RawGyro] || !(s->timestamp > mEnabledTime[RawGyro])) {
2653 LOGV_IF(ENG_VERBOSE, "HAL:raw gyro incorrect timestamp Enabled=%lld, Timestamp=%lld, Now=%lld",
2654 mEnabledTime[RawGyro], s->timestamp, android::elapsedRealtimeNano());
2662 s->uncalibrated_gyro.bias[2], s->timestamp, update);
2667 s->uncalibrated_gyro.uncalib[2], s->timestamp, update);
2677 s->acceleration.v, &s->acceleration.status, (inv_time_t *)(&s->timestamp));
2680 s->acceleration.v, &s->acceleration.status, &s->timestamp);
2682 if (!mEnabledTime[Accelerometer] || !(s->timestamp > mEnabledTime[Accelerometer])) {
2683 LOGV_IF(ENG_VERBOSE, "HAL:accel incorrect timestamp Enabled=%lld, Timestamp=%lld, Now=%lld",
2684 mEnabledTime[Accelerometer], s->timestamp, android::elapsedRealtimeNano());
2690 s->timestamp, update);
2702 s->magnetic.v, &s->magnetic.status, (inv_time_t *)(&s->timestamp));
2705 s->magnetic.v, &s->magnetic.status, &s->timestamp);
2707 if (!mEnabledTime[MagneticField] || !(s->timestamp > mEnabledTime[MagneticField])) {
2708 LOGV_IF(ENG_VERBOSE, "HAL:compass incorrect timestamp Enabled=%lld, Timestamp=%lld, Now=%lld",
2709 mEnabledTime[MagneticField], s->timestamp, android::elapsedRealtimeNano());
2715 s->timestamp, update);
2728 update = mCompassSensor->readRawSample(s->uncalibrated_magnetic.uncalib, (int64_t *)(&s->timestamp));
2732 &s->magnetic.status, (inv_time_t *)(&s->timestamp));
2736 update = mCompassSensor->readRawSample(s->uncalibrated_magnetic.uncalib, &s->timestamp);
2740 &s->magnetic.status, &s->timestamp);
2743 if (!mEnabledTime[RawMagneticField] || !(s->timestamp > mEnabledTime[RawMagneticField])) {
2744 LOGV_IF(ENG_VERBOSE, "HAL:raw compass incorrect timestamp Enabled=%lld, Timestamp=%lld, Now=%lld",
2745 mEnabledTime[RawMagneticField], s->timestamp, android::elapsedRealtimeNano());
2753 s->uncalibrated_magnetic.bias[2], s->timestamp, update);
2758 s->uncalibrated_magnetic.uncalib[2], s->magnetic.status, s->timestamp, update);
2773 (inv_time_t *)(&s->timestamp));
2776 &s->timestamp);
2782 if (!mEnabledTime[RotationVector] || !(s->timestamp > mEnabledTime[RotationVector])) {
2783 LOGV_IF(ENG_VERBOSE, "HAL:rv incorrect timestamp Enabled=%lld, Timestamp=%lld, Now=%lld",
2784 mEnabledTime[RotationVector], s->timestamp, android::elapsedRealtimeNano());
2789 s->data[0], s->data[1], s->data[2], s->data[3], s->data[4], s->orientation.status, s->timestamp,
2806 (inv_time_t *)(&s->timestamp));
2809 &s->timestamp);
2813 if (!mEnabledTime[GameRotationVector] || !(s->timestamp > mEnabledTime[GameRotationVector])) {
2814 LOGV_IF(ENG_VERBOSE, "HAL:grv incorrect timestamp Enabled=%lld, Timestamp=%lld, Now=%lld",
2815 mEnabledTime[GameRotationVector], s->timestamp, android::elapsedRealtimeNano());
2820 s->data[0], s->data[1], s->data[2], s->data[3], s->data[4], s->orientation.status, s->timestamp,
2831 s->gyro.v, &s->gyro.status, (inv_time_t *)(&s->timestamp));
2834 s->gyro.v, &s->gyro.status, &s->timestamp);
2838 if (!mEnabledTime[LinearAccel] || !(s->timestamp > mEnabledTime[LinearAccel])) {
2839 LOGV_IF(ENG_VERBOSE, "HAL:la incorrect timestamp Enabled=%lld, Timestamp=%lld, Now=%lld",
2840 mEnabledTime[LinearAccel], s->timestamp, android::elapsedRealtimeNano());
2845 s->gyro.v[0], s->gyro.v[1], s->gyro.v[2], s->timestamp, update);
2855 (inv_time_t *)(&s->timestamp));
2858 &s->timestamp);
2862 if (!mEnabledTime[Gravity] || !(s->timestamp > mEnabledTime[Gravity])) {
2863 LOGV_IF(ENG_VERBOSE, "HAL:gr incorrect timestamp Enabled=%lld, Timestamp=%lld, Now=%lld",
2864 timestamp, android::elapsedRealtimeNano());
2869 s->gyro.v[0], s->gyro.v[1], s->gyro.v[2], s->timestamp, update);
2879 s->orientation.v, &s->orientation.status, (inv_time_t *)(&s->timestamp));
2882 s->orientation.v, &s->orientation.status, &s->timestamp);
2887 if (!mEnabledTime[Orientation] || !(s->timestamp > mEnabledTime[Orientation])) {
2888 LOGV_IF(ENG_VERBOSE, "HAL:or incorrect timestamp Enabled=%lld, Timestamp=%lld, Now=%lld",
2889 mEnabledTime[Orientation], s->timestamp, android::elapsedRealtimeNano());
2895 s->timestamp, update);
2909 /* Capture timestamp in HAL */
2910 s->timestamp = android::elapsedRealtimeNano();
2912 if (!mEnabledTime[SignificantMotion] || !(s->timestamp > mEnabledTime[SignificantMotion])) {
2913 LOGV_IF(ENG_VERBOSE, "HAL:sm incorrect timestamp Enabled=%lld, Timestamp=%lld",
2914 mEnabledTime[SignificantMotion], s->timestamp);
2919 s->data[0], s->timestamp, update);
2931 (inv_time_t *)(&s->timestamp));
2934 &s->timestamp);
2938 if (!mEnabledTime[GeomagneticRotationVector] || !(s->timestamp > mEnabledTime[GeomagneticRotationVector])) {
2939 LOGV_IF(ENG_VERBOSE, "HAL:gm incorrect timestamp Enabled=%lld, Timestamp=%lld, Now=%lld",
2940 mEnabledTime[GeomagneticRotationVector], s->timestamp, android::elapsedRealtimeNano());
2945 s->data[0], s->data[1], s->data[2], s->data[3], s->data[4], s->orientation.status, s->timestamp, update);
2959 s->timestamp = mPressureTimestamp;
2965 if (!mEnabledTime[Pressure] || !(s->timestamp > mEnabledTime[Pressure])) {
2966 LOGV_IF(ENG_VERBOSE, "HAL:ps incorrect timestamp Enabled=%lld, Timestamp=%lld, Now=%lld",
2967 mEnabledTime[Pressure], s->timestamp, android::elapsedRealtimeNano());
2973 s->data[0], s->data[1], s->data[2], s->data[3], s->timestamp, update);
2988 /* get current timestamp */
2989 s->timestamp = android::elapsedRealtimeNano();
2992 s->data[0], s->timestamp, update);
3005 s->u64.step_counter, s->timestamp, update);
3009 s->step_counter, s->timestamp, update);
3012 if (s->timestamp == 0 && update) {
3013 s->timestamp = android::elapsedRealtimeNano();
3029 s->timestamp = 0LL;
3042 s->timestamp, update);
3907 data->timestamp = mStepSensorTimestamp;
3911 ALOGE("Event from type=%d with duplicate timestamp %lld discarded",
3930 if (mLastTimestamp[i] != mPendingEvents[i].timestamp) {
3931 mLastTimestamp[i] = mPendingEvents[i].timestamp;
3936 ALOGE("Event from type=%d with duplicate timestamp %lld (%+f, %+f, %+f) discarded",
4391 // with timestamp measured in "driver" layer
4397 "HAL:input inv_read_temperature = %lld, timestamp= %lld",
4563 /* take the latest timestamp */
4860 temp.timestamp = android::elapsedRealtimeNano();
4965 long long timestamp = 0;
4975 count = sscanf(raw_buf, "%ld%lld", &raw, ×tamp);
4982 "HAL:temperature raw = %ld, timestamp = %lld, count = %d",
4983 raw, timestamp, count);
4985 data[1] = timestamp;
6470 /* Read step count timestamp */
6487 mScEvents.timestamp = stepCountTs;