Home
last modified time | relevance | path

Searched refs:GnssStatus (Results 1 – 9 of 9) 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/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...