Lines Matching refs:time
125 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData()
126 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; in getDebugData()
127 data.time.frequencyUncertaintyNsPerSec = in getDebugData()
131 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData()
132 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData()
134 if (data.time.timeUncertaintyNs <= 0) { in getDebugData()
135 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MIN; in getDebugData()
136 } else if (data.time.timeUncertaintyNs > GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX) { in getDebugData()
137 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX; in getDebugData()
139 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData()
140 data.time.frequencyUncertaintyNsPerSec > (float)GNSS_DEBUG_UNKNOWN_FREQ_UNC_NS_PER_SEC) { in getDebugData()
141 data.time.frequencyUncertaintyNsPerSec = (float)GNSS_DEBUG_UNKNOWN_FREQ_UNC_NS_PER_SEC; in getDebugData()
243 data.time.timeEstimate = reports.mTime.timeEstimate; in getDebugData_2_0()
244 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; in getDebugData_2_0()
245 data.time.frequencyUncertaintyNsPerSec = in getDebugData_2_0()
249 if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) { in getDebugData_2_0()
250 data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME; in getDebugData_2_0()
252 if (data.time.timeUncertaintyNs <= 0) { in getDebugData_2_0()
253 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MIN; in getDebugData_2_0()
255 else if (data.time.timeUncertaintyNs > GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX) { in getDebugData_2_0()
256 data.time.timeUncertaintyNs = (float)GNSS_DEBUG_UNKNOWN_UTC_TIME_UNC_MAX; in getDebugData_2_0()
258 if (data.time.frequencyUncertaintyNsPerSec <= 0 || in getDebugData_2_0()
259 data.time.frequencyUncertaintyNsPerSec > (float)GNSS_DEBUG_UNKNOWN_FREQ_UNC_NS_PER_SEC) { in getDebugData_2_0()
260 data.time.frequencyUncertaintyNsPerSec = (float)GNSS_DEBUG_UNKNOWN_FREQ_UNC_NS_PER_SEC; in getDebugData_2_0()