Home
last modified time | relevance | path

Searched refs:GnssMetrics (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/os/connectivity/
DGpsBatteryStats.java21 import com.android.internal.location.gnssmetrics.GnssMetrics;
88 Math.min(t.length, GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS)); in setTimeInGpsSignalQualityLevel()
105 mTimeInGpsSignalQualityLevel = new long[GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS]; in initialize()
/frameworks/base/location/java/com/android/internal/location/gnssmetrics/
DGnssMetrics.java37 public class GnssMetrics { class
39 private static final String TAG = GnssMetrics.class.getSimpleName();
60 public GnssMetrics(IBatteryStats stats) { in GnssMetrics() method in GnssMetrics
398 return GnssMetrics.GPS_SIGNAL_QUALITY_GOOD; in getSignalLevel()
400 return GnssMetrics.GPS_SIGNAL_QUALITY_POOR; in getSignalLevel()
/frameworks/base/core/java/com/android/internal/os/
DSensorPowerCalculator.java23 import com.android.internal.location.gnssmetrics.GnssMetrics;
78 for (int i = 0; i < GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS; i++) { in getAverageGpsPower()
DBatteryStatsImpl.java88 import com.android.internal.location.gnssmetrics.GnssMetrics;
787 new StopwatchTimer[GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS];
4861 if (signalLevel < 0 || signalLevel >= GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS) { in noteGpsSignalQualityLocked()
5223 for (int i = 0; i < GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS; i++) { in stopAllGpsSignalQualityTimersLocked()
6388 if (strengthBin < 0 || strengthBin >= GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS) { in getGpsSignalQualityTime()
6404 for(int i=0; i < GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS; i++) { in getGpsBatteryDrainMaMs()
10185 for (int i=0; i< GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS; i++) { in BatteryStatsImpl()
10886 for (int i=0; i< GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS; i++) { in resetAllStatsLocked()
13007 long[] time = new long[GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS]; in getGpsBatteryStats()
13816 for (int i=0; i<GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS; i++) { in readSummaryFromParcel()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DMockBatteryStatsImpl.java23 import com.android.internal.location.gnssmetrics.GnssMetrics;
45 for (int i=0; i< GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS; i++) { in MockBatteryStatsImpl()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java85 import com.android.internal.location.gnssmetrics.GnssMetrics;
478 private GnssMetrics mGnssMetrics;
834 mGnssMetrics = new GnssMetrics(mBatteryStats); in GnssLocationProvider()
/frameworks/base/core/java/android/os/
DBatteryStats.java41 import com.android.internal.location.gnssmetrics.GnssMetrics;
4882 final int numGpsSignalQualityBins = Math.min(GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS, in dumpLocked()
/frameworks/base/config/
Dboot-image-profile.txt8579 HPLcom/android/internal/location/gnssmetrics/GnssMetrics$GnssPowerMetrics;->buildProto()Lcom/androi…
8580 HPLcom/android/internal/location/gnssmetrics/GnssMetrics$GnssPowerMetrics;->getGpsBatteryStats()Lan…
8581 HPLcom/android/internal/location/gnssmetrics/GnssMetrics$GnssPowerMetrics;->reportSignalQuality([FI…
8582 HPLcom/android/internal/location/gnssmetrics/GnssMetrics$Statistics;->addItem(D)V
8583 HPLcom/android/internal/location/gnssmetrics/GnssMetrics$Statistics;->getCount()I
8584 HPLcom/android/internal/location/gnssmetrics/GnssMetrics$Statistics;->getMean()D
8585 HPLcom/android/internal/location/gnssmetrics/GnssMetrics$Statistics;->getStandardDeviation()D
8586 HPLcom/android/internal/location/gnssmetrics/GnssMetrics;->dumpGnssMetricsAsProtoString()Ljava/lang…
8587 HPLcom/android/internal/location/gnssmetrics/GnssMetrics;->logCn0([FI)V
8588 HPLcom/android/internal/location/gnssmetrics/GnssMetrics;->logMissedReports(II)V
[all …]