Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DNetworkBadging.java68 @IntRange(from=0, to=4) int signalLevel, @Badging int badging, @Nullable Theme theme) { in getWifiIcon()
69 return Resources.getSystem().getDrawable(getWifiSignalResource(signalLevel), theme); in getWifiIcon()
83 @DrawableRes private static int getWifiSignalResource(int signalLevel) { in getWifiSignalResource() argument
84 switch (signalLevel) { in getWifiSignalResource()
96 throw new IllegalArgumentException("Invalid signal level: " + signalLevel); in getWifiSignalResource()
113 @DrawableRes private static int getBadgedWifiSignalResource(int signalLevel) { in getBadgedWifiSignalResource() argument
114 switch (signalLevel) { in getBadgedWifiSignalResource()
126 throw new IllegalArgumentException("Invalid signal level: " + signalLevel); in getBadgedWifiSignalResource()
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl95 void noteGpsSignalQuality(int signalLevel); in noteGpsSignalQuality() argument
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java619 public void noteGpsSignalQuality(int signalLevel) { in noteGpsSignalQuality() argument
621 mStats.noteGpsSignalQualityLocked(signalLevel); in noteGpsSignalQuality()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4857 public void noteGpsSignalQualityLocked(int signalLevel) { in noteGpsSignalQualityLocked() argument
4861 if (signalLevel < 0 || signalLevel >= GnssMetrics.NUM_GPS_SIGNAL_QUALITY_LEVELS) { in noteGpsSignalQualityLocked()
4867 if (mGpsSignalQualityBin != signalLevel) { in noteGpsSignalQualityLocked()
4871 if(!mGpsSignalQualityTimer[signalLevel].isRunningLocked()) { in noteGpsSignalQualityLocked()
4872 mGpsSignalQualityTimer[signalLevel].startRunningLocked(elapsedRealtime); in noteGpsSignalQualityLocked()
4875 | (signalLevel << HistoryItem.STATE2_GPS_SIGNAL_QUALITY_SHIFT); in noteGpsSignalQualityLocked()
4877 mGpsSignalQualityBin = signalLevel; in noteGpsSignalQualityLocked()