Lines Matching refs:data

56     DebugData data = { };  in getDebugData()  local
60 _hidl_cb(data); in getDebugData()
70 data.position.valid = true; in getDebugData()
71 data.position.latitudeDegrees = reports.mLocation.mLocation.latitude; in getDebugData()
72 data.position.longitudeDegrees = reports.mLocation.mLocation.longitude; in getDebugData()
73 data.position.altitudeMeters = reports.mLocation.mLocation.altitude; in getDebugData()
75 data.position.speedMetersPerSec = in getDebugData()
77 data.position.bearingDegrees = in getDebugData()
79 data.position.horizontalAccuracyMeters = in getDebugData()
81 data.position.verticalAccuracyMeters = in getDebugData()
83 data.position.speedAccuracyMetersPerSecond = in getDebugData()
85 data.position.bearingAccuracyDegrees = in getDebugData()
92 data.position.ageSeconds = in getDebugData()
97 data.position.valid = false; in getDebugData()
100 if (data.position.horizontalAccuracyMeters <= 0 || in getDebugData()
101 data.position.horizontalAccuracyMeters > GNSS_DEBUG_UNKNOWN_HORIZONTAL_ACCURACY_METERS) { in getDebugData()
102 data.position.horizontalAccuracyMeters = GNSS_DEBUG_UNKNOWN_HORIZONTAL_ACCURACY_METERS; in getDebugData()
104 if (data.position.verticalAccuracyMeters <= 0 || in getDebugData()
105 data.position.verticalAccuracyMeters > GNSS_DEBUG_UNKNOWN_VERTICAL_ACCURACY_METERS) { in getDebugData()
106 data.position.verticalAccuracyMeters = GNSS_DEBUG_UNKNOWN_VERTICAL_ACCURACY_METERS; in getDebugData()
108 if (data.position.speedAccuracyMetersPerSecond <= 0 || in getDebugData()
109 data.position.speedAccuracyMetersPerSecond > GNSS_DEBUG_UNKNOWN_SPEED_ACCURACY_PER_SEC) { in getDebugData()
110 data.position.speedAccuracyMetersPerSecond = GNSS_DEBUG_UNKNOWN_SPEED_ACCURACY_PER_SEC; in getDebugData()
112 if (data.position.bearingAccuracyDegrees <= 0 || in getDebugData()
113 data.position.bearingAccuracyDegrees > GNSS_DEBUG_UNKNOWN_BEARING_ACCURACY_DEG) { in getDebugData()
114 data.position.bearingAccuracyDegrees = GNSS_DEBUG_UNKNOWN_BEARING_ACCURACY_DEG; in getDebugData()
119 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
120 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; in getDebugData()
121 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
125 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
126 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
128 if (data.time.timeUncertaintyNs <= 0 || in getDebugData()
129 data.time.timeUncertaintyNs > (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC) { in getDebugData()
130 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC; in getDebugData()
132 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
133 data.time.frequencyUncertaintyNsPerSec > (float)GNSS_DEBUG_UNKNOWN_FREQ_UNC_NS_PER_SEC) { in getDebugData()
134 data.time.frequencyUncertaintyNsPerSec = (float)GNSS_DEBUG_UNKNOWN_FREQ_UNC_NS_PER_SEC; in getDebugData()
162 data.satelliteDataArray = s_array; in getDebugData()
165 _hidl_cb(data); in getDebugData()