Searched refs:prn (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/location/java/android/location/ |
D | GpsStatus.java | 159 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()
|
D | GpsSatellite.java | 38 GpsSatellite(int prn) { in GpsSatellite() argument 39 mPrn = prn; in GpsSatellite()
|
/frameworks/base/location/tests/locationtests/src/android/location/ |
D | GpsStatusTest.java | 197 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 …]
|