Home
last modified time | relevance | path

Searched refs:signalLevel (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/net/
DNetworkBadging.java65 @IntRange(from=0, to=4) int signalLevel, @Badging int badging, @Nullable Theme theme) { in getWifiIcon()
66 return Resources.getSystem().getDrawable(getWifiSignalResource(signalLevel), theme); in getWifiIcon()
80 @DrawableRes private static int getWifiSignalResource(int signalLevel) { in getWifiSignalResource() argument
81 switch (signalLevel) { in getWifiSignalResource()
93 throw new IllegalArgumentException("Invalid signal level: " + signalLevel); in getWifiSignalResource()
/frameworks/base/location/java/com/android/internal/location/gnssmetrics/
DGnssMetrics.java430 int signalLevel = getSignalLevel(avgCn0); in reportSignalQuality() local
431 if (signalLevel != mLastSignalLevel) { in reportSignalQuality()
432 StatsLog.write(StatsLog.GPS_SIGNAL_QUALITY_CHANGED, signalLevel); in reportSignalQuality()
433 mLastSignalLevel = signalLevel; in reportSignalQuality()
436 mBatteryStats.noteGpsSignalQuality(signalLevel); in reportSignalQuality()
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl98 void noteGpsSignalQuality(int signalLevel); in noteGpsSignalQuality() argument
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java639 public void noteGpsSignalQuality(int signalLevel) { in noteGpsSignalQuality() argument
641 mStats.noteGpsSignalQualityLocked(signalLevel); in noteGpsSignalQuality()