Home
last modified time | relevance | path

Searched refs:GnssStatus (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/location/java/android/location/
DGpsStatus.java159 (svidWithFlags[i] >> GnssStatus.CONSTELLATION_TYPE_SHIFT_WIDTH) in setStatus()
160 & GnssStatus.CONSTELLATION_TYPE_MASK; in setStatus()
161 int prn = svidWithFlags[i] >> GnssStatus.SVID_SHIFT_WIDTH; in setStatus()
168 if (constellationType == GnssStatus.CONSTELLATION_GLONASS) { in setStatus()
170 } else if (constellationType == GnssStatus.CONSTELLATION_BEIDOU) { in setStatus()
172 } else if (constellationType == GnssStatus.CONSTELLATION_SBAS) { in setStatus()
174 } else if ((constellationType != GnssStatus.CONSTELLATION_GPS) && in setStatus()
175 (constellationType != GnssStatus.CONSTELLATION_QZSS)) { in setStatus()
190 (svidWithFlags[i] & GnssStatus.GNSS_SV_FLAGS_HAS_EPHEMERIS_DATA) != 0; in setStatus()
192 (svidWithFlags[i] & GnssStatus.GNSS_SV_FLAGS_HAS_ALMANAC_DATA) != 0; in setStatus()
[all …]
DGnssStatus.java29 public final class GnssStatus { class
93 public void onSatelliteStatusChanged(GnssStatus status) {} in onSatelliteStatusChanged()
115 public GnssStatus(int svCount, int[] svidWithFlags, float[] cn0s, float[] elevations, in GnssStatus() method in GnssStatus
DGnssSingleSatCorrection.java73 @GnssStatus.ConstellationType
148 @GnssStatus.ConstellationType
327 @GnssStatus.ConstellationType int constellationType) { in setConstellationType()
DLocationManager.java81 private final ArrayMap<GnssStatus.Callback, GnssStatusListenerTransport> mGnssStatusListeners =
88 private volatile GnssStatus mGnssStatus;
1638 private final GnssStatus.Callback mGnssCallback;
1694 GnssStatusListenerTransport(GnssStatus.Callback callback, Handler handler) { in GnssStatusListenerTransport()
1711 mGnssCallback = listener != null ? new GnssStatus.Callback() { in GnssStatusListenerTransport()
1728 public void onSatelliteStatusChanged(GnssStatus status) { in GnssStatusListenerTransport()
1761 mGnssStatus = new GnssStatus(svCount, prnWithFlags, cn0s, elevations, azimuths, in onSvStatusChanged()
1841 public boolean registerGnssStatusCallback(@NonNull GnssStatus.Callback callback) { in registerGnssStatusCallback()
1857 @NonNull GnssStatus.Callback callback, @Nullable Handler handler) { in registerGnssStatusCallback()
1883 public void unregisterGnssStatusCallback(@NonNull GnssStatus.Callback callback) { in unregisterGnssStatusCallback()
DGnssMeasurement.java294 @GnssStatus.ConstellationType
304 public void setConstellationType(@GnssStatus.ConstellationType int value) { in setConstellationType()
/frameworks/base/location/tests/locationtests/src/android/location/
DGnssStatusTest.java44 GnssStatus gnssStatus = createGnssStatus(svInfos); in testEmptyGnssStatus()
58 GnssStatus gnssStatus = createGnssStatus(svInfos); in testOneSatelliteGnssStatus()
81 GnssStatus gnssStatus = createGnssStatus(svInfos); in testMultipleSatellitesGnssStatus()
85 private void verifyGnssStatus(List<SatelliteInfo> svInfos, GnssStatus gnssStatus) { in verifyGnssStatus()
110 private static GnssStatus createGnssStatus(List<SatelliteInfo> svInfos) throws Exception { in createGnssStatus()
121 Constructor<GnssStatus> ctor = GnssStatus.class.getDeclaredConstructor(cArg); in createGnssStatus()
/frameworks/base/location/java/com/android/internal/location/gnssmetrics/
DGnssMetrics.java19 import android.location.GnssStatus;
255 s.append(GnssStatus.constellationTypeToString(i)).append(" "); in dumpGnssMetricsAsText()
353 mConstellationTypes = new boolean[GnssStatus.CONSTELLATION_COUNT]; in resetConstellationTypes()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java34 import android.location.GnssStatus;
1472 if ((info.mSvidWithFlags[i] & GnssStatus.GNSS_SV_FLAGS_USED_IN_FIX) != 0) { in handleReportSvStatus()
1480 Log.v(TAG, "svid: " + (info.mSvidWithFlags[i] >> GnssStatus.SVID_SHIFT_WIDTH) + in handleReportSvStatus()
1485 ((info.mSvidWithFlags[i] & GnssStatus.GNSS_SV_FLAGS_HAS_EPHEMERIS_DATA) == 0 in handleReportSvStatus()
1487 ((info.mSvidWithFlags[i] & GnssStatus.GNSS_SV_FLAGS_HAS_ALMANAC_DATA) == 0 in handleReportSvStatus()
1489 ((info.mSvidWithFlags[i] & GnssStatus.GNSS_SV_FLAGS_USED_IN_FIX) == 0 in handleReportSvStatus()
1492 GnssStatus.GNSS_SV_FLAGS_HAS_CARRIER_FREQUENCY) == 0 in handleReportSvStatus()
1496 if ((info.mSvidWithFlags[i] & GnssStatus.GNSS_SV_FLAGS_USED_IN_FIX) != 0) { in handleReportSvStatus()
1498 (info.mSvidWithFlags[i] >> GnssStatus.CONSTELLATION_TYPE_SHIFT_WIDTH) in handleReportSvStatus()
1499 & GnssStatus.CONSTELLATION_TYPE_MASK; in handleReportSvStatus()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt35447 Landroid/location/GnssStatus$ConstellationType;
35448 Landroid/location/GnssStatus;-><init>(I[I[F[F[F[F)V
35449 Landroid/location/GnssStatus;->CONSTELLATION_TYPE_MASK:I
35450 Landroid/location/GnssStatus;->CONSTELLATION_TYPE_SHIFT_WIDTH:I
35451 Landroid/location/GnssStatus;->GNSS_SV_FLAGS_HAS_ALMANAC_DATA:I
35452 Landroid/location/GnssStatus;->GNSS_SV_FLAGS_HAS_CARRIER_FREQUENCY:I
35453 Landroid/location/GnssStatus;->GNSS_SV_FLAGS_HAS_EPHEMERIS_DATA:I
35454 Landroid/location/GnssStatus;->GNSS_SV_FLAGS_NONE:I
35455 Landroid/location/GnssStatus;->GNSS_SV_FLAGS_USED_IN_FIX:I
35456 Landroid/location/GnssStatus;->mAzimuths:[F
[all …]
/frameworks/base/api/
Dcurrent.txt22832 public final class GnssStatus {
22854 public abstract static class GnssStatus.Callback {
22855 ctor public GnssStatus.Callback();
22857 method public void onSatelliteStatusChanged(android.location.GnssStatus);
22981 …LOCATION) public boolean registerGnssStatusCallback(@NonNull android.location.GnssStatus.Callback);
22982 …N) public boolean registerGnssStatusCallback(@NonNull android.location.GnssStatus.Callback, @Nulla…
23004 method public void unregisterGnssStatusCallback(@NonNull android.location.GnssStatus.Callback);