Searched refs:signalLevel (Results 1 – 4 of 4) sorted by relevance
68 @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() argument84 switch (signalLevel) { in getWifiSignalResource()96 throw new IllegalArgumentException("Invalid signal level: " + signalLevel); in getWifiSignalResource()113 @DrawableRes private static int getBadgedWifiSignalResource(int signalLevel) { in getBadgedWifiSignalResource() argument114 switch (signalLevel) { in getBadgedWifiSignalResource()126 throw new IllegalArgumentException("Invalid signal level: " + signalLevel); in getBadgedWifiSignalResource()
95 void noteGpsSignalQuality(int signalLevel); in noteGpsSignalQuality() argument
619 public void noteGpsSignalQuality(int signalLevel) { in noteGpsSignalQuality() argument621 mStats.noteGpsSignalQualityLocked(signalLevel); in noteGpsSignalQuality()
4857 public void noteGpsSignalQualityLocked(int signalLevel) { in noteGpsSignalQualityLocked() argument4861 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()