Home
last modified time | relevance | path

Searched refs:GnssMetrics (Results 1 – 10 of 10) 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.java41 public class GnssMetrics { class
43 private static final String TAG = GnssMetrics.class.getSimpleName();
75 public GnssMetrics(IBatteryStats stats) { in GnssMetrics() method in GnssMetrics
449 return GnssMetrics.GPS_SIGNAL_QUALITY_GOOD; in getSignalLevel()
451 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.java89 import com.android.internal.location.gnssmetrics.GnssMetrics;
828 new StopwatchTimer[GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS];
4698 if (signalLevel < 0 || signalLevel >= GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS) { in noteGpsSignalQualityLocked()
5060 for (int i = 0; i < GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS; i++) { in stopAllGpsSignalQualityTimersLocked()
6209 if (strengthBin < 0 || strengthBin >= GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS) { in getGpsSignalQualityTime()
6225 for(int i=0; i < GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS; i++) { in getGpsBatteryDrainMaMs()
9822 for (int i=0; i< GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS; i++) { in BatteryStatsImpl()
10519 for (int i=0; i< GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS; i++) { in resetAllStatsLocked()
12698 long[] time = new long[GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS]; in getGpsBatteryStats()
13647 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;
50 for (int i = 0; i < GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS; i++) { in MockBatteryStatsImpl()
/frameworks/base/core/proto/android/server/location/
Denums.proto25 // primarily used by location/java/com/android/internal/location/gnssmetrics/GnssMetrics.java
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java76 import com.android.internal.location.gnssmetrics.GnssMetrics;
444 private GnssMetrics mGnssMetrics;
654 mGnssMetrics = new GnssMetrics(mBatteryStats); in GnssLocationProvider()
/frameworks/base/core/java/android/os/
DBatteryStats.java45 import com.android.internal.location.gnssmetrics.GnssMetrics;
5010 final int numGpsSignalQualityBins = Math.min(GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS, in dumpLocked()
/frameworks/base/config/
Dboot-image-profile.txt20322 HPLcom/android/internal/location/gnssmetrics/GnssMetrics$GnssPowerMetrics;->buildProto()Lcom/androi…
20323 HPLcom/android/internal/location/gnssmetrics/GnssMetrics$GnssPowerMetrics;->getGpsBatteryStats()Lan…
20324 HPLcom/android/internal/location/gnssmetrics/GnssMetrics$GnssPowerMetrics;->reportSignalQuality([FI…
20325 HPLcom/android/internal/location/gnssmetrics/GnssMetrics$Statistics;->addItem(D)V
20326 HPLcom/android/internal/location/gnssmetrics/GnssMetrics$Statistics;->getCount()I
20327 HPLcom/android/internal/location/gnssmetrics/GnssMetrics$Statistics;->getMean()D
20328 HPLcom/android/internal/location/gnssmetrics/GnssMetrics$Statistics;->getStandardDeviation()D
20329 HSPLcom/android/internal/location/gnssmetrics/GnssMetrics$Statistics;->reset()V
20330 HSPLcom/android/internal/location/gnssmetrics/GnssMetrics;-><init>(Lcom/android/internal/app/IBatte…
20331 HPLcom/android/internal/location/gnssmetrics/GnssMetrics;->dumpGnssMetricsAsProtoString()Ljava/lang…
[all …]
/frameworks/base/cmds/statsd/src/
Datoms.proto705 * /frameworks/base/location/java/com/android/internal/location/gnssmetrics/GnssMetrics.java