Home
last modified time | relevance | path

Searched refs:prn (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/location/java/android/location/
DGpsStatus.java159 int prn = svidWithFlags[i] >> GnssStatus.SVID_SHIFT_WIDTH; in setStatus() local
167 prn += GLONASS_SVID_OFFSET; in setStatus()
169 prn += BEIDOU_SVID_OFFSET; in setStatus()
171 prn += SBAS_SVID_OFFSET; in setStatus()
176 if (prn > 0 && prn <= NUM_SATELLITES) { in setStatus()
177 GpsSatellite satellite = mSatellites.get(prn); in setStatus()
179 satellite = new GpsSatellite(prn); in setStatus()
180 mSatellites.put(prn, satellite); in setStatus()
DGpsSatellite.java38 GpsSatellite(int prn) { in GpsSatellite() argument
39 mPrn = prn; in GpsSatellite()
/frameworks/base/location/tests/locationtests/src/android/location/
DGpsStatusTest.java197 int prn = prns[i]; in verifySatellites() local
198 GpsSatellite satellite = getSatellite(status, prn); in verifySatellites()
199 assertNotNull(getSatelliteAssertInfo(i, prn, "non-null"), satellite); in verifySatellites()
200 assertEquals(getSatelliteAssertInfo(i, prn, "Snr"), cn0s[i], satellite.getSnr()); in verifySatellites()
202 getSatelliteAssertInfo(i, prn, "Elevation"), in verifySatellites()
206 getSatelliteAssertInfo(i, prn, "Azimuth"), in verifySatellites()
209 int prnShift = 1 << (prn - 1); in verifySatellites()
211 getSatelliteAssertInfo(i, prn, "ephemeris"), in verifySatellites()
215 getSatelliteAssertInfo(i, prn, "almanac"), in verifySatellites()
219 getSatelliteAssertInfo(i, prn, "usedInFix"), in verifySatellites()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp151 info.svid = sv_status->sv_list[i].prn; in sv_status_callback()
1226 SET(Svid, static_cast<int32_t>(measurement->prn)); in translate_gps_measurement()
1227 if (measurement->prn >= 1 && measurement->prn <= 32) { in translate_gps_measurement()
1230 ALOGD("Unknown constellation type with Svid = %d.", measurement->prn); in translate_gps_measurement()
1483 SET(Svid, static_cast<int32_t>(message->prn)); in translate_gps_navigation_message()
1484 if (message->prn >=1 && message->prn <= 32) { in translate_gps_navigation_message()
1490 ALOGD("Unknown constellation type with Svid = %d.", message->prn); in translate_gps_navigation_message()