Lines Matching refs:position

76         data.position.valid = true;  in getDebugData()
77 data.position.latitudeDegrees = reports.mLocation.mLocation.latitude; in getDebugData()
78 data.position.longitudeDegrees = reports.mLocation.mLocation.longitude; in getDebugData()
79 data.position.altitudeMeters = reports.mLocation.mLocation.altitude; in getDebugData()
81 data.position.speedMetersPerSec = in getDebugData()
83 data.position.bearingDegrees = in getDebugData()
85 data.position.horizontalAccuracyMeters = in getDebugData()
87 data.position.verticalAccuracyMeters = in getDebugData()
89 data.position.speedAccuracyMetersPerSecond = in getDebugData()
91 data.position.bearingAccuracyDegrees = in getDebugData()
98 data.position.ageSeconds = in getDebugData()
103 data.position.valid = false; in getDebugData()
106 if (data.position.horizontalAccuracyMeters <= 0 || in getDebugData()
107 data.position.horizontalAccuracyMeters > GNSS_DEBUG_UNKNOWN_HORIZONTAL_ACCURACY_METERS) { in getDebugData()
108 data.position.horizontalAccuracyMeters = GNSS_DEBUG_UNKNOWN_HORIZONTAL_ACCURACY_METERS; in getDebugData()
110 if (data.position.verticalAccuracyMeters <= 0 || in getDebugData()
111 data.position.verticalAccuracyMeters > GNSS_DEBUG_UNKNOWN_VERTICAL_ACCURACY_METERS) { in getDebugData()
112 data.position.verticalAccuracyMeters = GNSS_DEBUG_UNKNOWN_VERTICAL_ACCURACY_METERS; in getDebugData()
114 if (data.position.speedAccuracyMetersPerSecond <= 0 || in getDebugData()
115 data.position.speedAccuracyMetersPerSecond > GNSS_DEBUG_UNKNOWN_SPEED_ACCURACY_PER_SEC) { in getDebugData()
116 data.position.speedAccuracyMetersPerSecond = GNSS_DEBUG_UNKNOWN_SPEED_ACCURACY_PER_SEC; in getDebugData()
118 if (data.position.bearingAccuracyDegrees <= 0 || in getDebugData()
119 data.position.bearingAccuracyDegrees > GNSS_DEBUG_UNKNOWN_BEARING_ACCURACY_DEG) { in getDebugData()
120 data.position.bearingAccuracyDegrees = GNSS_DEBUG_UNKNOWN_BEARING_ACCURACY_DEG; in getDebugData()
194 data.position.valid = true; in getDebugData_2_0()
195 data.position.latitudeDegrees = reports.mLocation.mLocation.latitude; in getDebugData_2_0()
196 data.position.longitudeDegrees = reports.mLocation.mLocation.longitude; in getDebugData_2_0()
197 data.position.altitudeMeters = reports.mLocation.mLocation.altitude; in getDebugData_2_0()
199 data.position.speedMetersPerSec = in getDebugData_2_0()
201 data.position.bearingDegrees = in getDebugData_2_0()
203 data.position.horizontalAccuracyMeters = in getDebugData_2_0()
205 data.position.verticalAccuracyMeters = in getDebugData_2_0()
207 data.position.speedAccuracyMetersPerSecond = in getDebugData_2_0()
209 data.position.bearingAccuracyDegrees = in getDebugData_2_0()
216 data.position.ageSeconds = in getDebugData_2_0()
221 data.position.valid = false; in getDebugData_2_0()
224 if (data.position.horizontalAccuracyMeters <= 0 || in getDebugData_2_0()
225 data.position.horizontalAccuracyMeters > GNSS_DEBUG_UNKNOWN_HORIZONTAL_ACCURACY_METERS) { in getDebugData_2_0()
226 data.position.horizontalAccuracyMeters = GNSS_DEBUG_UNKNOWN_HORIZONTAL_ACCURACY_METERS; in getDebugData_2_0()
228 if (data.position.verticalAccuracyMeters <= 0 || in getDebugData_2_0()
229 data.position.verticalAccuracyMeters > GNSS_DEBUG_UNKNOWN_VERTICAL_ACCURACY_METERS) { in getDebugData_2_0()
230 data.position.verticalAccuracyMeters = GNSS_DEBUG_UNKNOWN_VERTICAL_ACCURACY_METERS; in getDebugData_2_0()
232 if (data.position.speedAccuracyMetersPerSecond <= 0 || in getDebugData_2_0()
233 data.position.speedAccuracyMetersPerSecond > GNSS_DEBUG_UNKNOWN_SPEED_ACCURACY_PER_SEC) { in getDebugData_2_0()
234 data.position.speedAccuracyMetersPerSecond = GNSS_DEBUG_UNKNOWN_SPEED_ACCURACY_PER_SEC; in getDebugData_2_0()
236 if (data.position.bearingAccuracyDegrees <= 0 || in getDebugData_2_0()
237 data.position.bearingAccuracyDegrees > GNSS_DEBUG_UNKNOWN_BEARING_ACCURACY_DEG) { in getDebugData_2_0()
238 data.position.bearingAccuracyDegrees = GNSS_DEBUG_UNKNOWN_BEARING_ACCURACY_DEG; in getDebugData_2_0()