Searched refs:thresholds (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/telephony/java/android/telephony/ |
D | CellSignalStrengthLte.java | 163 int[] thresholds; in updateLevel() local 166 thresholds = sThresholds; in updateLevel() 171 thresholds = cc.getIntArray( in updateLevel() 173 if (thresholds == null) thresholds = sThresholds; in updateLevel() 175 + rsrpOnly + ", thresholds=" + Arrays.toString(thresholds)); in updateLevel() 193 rsrpIconLevel = thresholds.length; in updateLevel() 194 while (rsrpIconLevel > 0 && rsrp < thresholds[rsrpIconLevel - 1]) rsrpIconLevel--; in updateLevel()
|
/frameworks/base/core/java/android/net/ |
D | NetworkAgent.java | 337 ArrayList<Integer> thresholds = in handleMessage() local 341 int[] intThresholds = new int[(thresholds != null) ? thresholds.size() : 0]; in handleMessage() 343 intThresholds[i] = thresholds.get(i); in handleMessage() 545 protected void setSignalStrengthThresholds(int[] thresholds) { in setSignalStrengthThresholds() argument
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppStandbyController.java | 2011 String[] thresholds = values.split("/"); in parseLongArray() local 2012 if (thresholds.length == THRESHOLD_BUCKETS.length) { in parseLongArray() 2016 if (thresholds[i].startsWith("P") || thresholds[i].startsWith("p")) { in parseLongArray() 2017 array[i] = Duration.parse(thresholds[i]).toMillis(); in parseLongArray() 2019 array[i] = Long.parseLong(thresholds[i]); in parseLongArray()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityRecord.java | 652 private static boolean crossesSizeThreshold(int[] thresholds, int firstDp, in crossesSizeThreshold() argument 654 if (thresholds == null) { in crossesSizeThreshold() 657 for (int i = thresholds.length - 1; i >= 0; i--) { in crossesSizeThreshold() 658 final int threshold = thresholds[i]; in crossesSizeThreshold()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ClientModeImpl.java | 4813 protected void setSignalStrengthThresholds(int[] thresholds) { in setSignalStrengthThresholds() argument 4825 log("Received signal strength thresholds: " + Arrays.toString(thresholds)); in setSignalStrengthThresholds() 4826 if (thresholds.length == 0) { in setSignalStrengthThresholds() 4831 int [] rssiVals = Arrays.copyOf(thresholds, thresholds.length + 2); in setSignalStrengthThresholds()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 5061 final SortedSet<Integer> thresholds = new TreeSet<>(); in getSignalStrengthThresholds() local 5066 thresholds.add(nri.request.networkCapabilities.getSignalStrength()); in getSignalStrengthThresholds() 5070 return new ArrayList<>(thresholds); in getSignalStrengthThresholds() 5076 Bundle thresholds = new Bundle(); in updateSignalStrengthThresholds() local 5077 thresholds.putIntegerArrayList("thresholds", thresholdsArray); in updateSignalStrengthThresholds() 5092 0, 0, thresholds); in updateSignalStrengthThresholds()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ClientModeImplTest.java | 2423 Bundle thresholds = new Bundle(); in verifyRssiMonitoringCallbackIsRegistered() local 2424 thresholds.putIntegerArrayList("thresholds", thresholdsArray); in verifyRssiMonitoringCallbackIsRegistered() 2427 message.obj = thresholds; in verifyRssiMonitoringCallbackIsRegistered()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaPhone.java | 3608 public void setSignalStrengthReportingCriteria(int[] thresholds, int ran) { in setSignalStrengthReportingCriteria() argument 3610 thresholds, ran, null); in setSignalStrengthReportingCriteria()
|
D | Phone.java | 3824 public void setSignalStrengthReportingCriteria(int[] thresholds, int ran) { in setSignalStrengthReportingCriteria() argument
|