Home
last modified time | relevance | path

Searched refs:thresholds (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DSignalThresholdInfo.java161 int hysteresisMs, int hysteresisDb, @NonNull int [] thresholds, boolean isEnabled) { in SignalThresholdInfo() argument
165 mThresholds = thresholds == null ? null : thresholds.clone(); in SignalThresholdInfo()
DCellSignalStrengthNr.java357 private int updateLevelWithMeasure(int measure, int[] thresholds) { in updateLevelWithMeasure() argument
361 } else if (measure > thresholds[3]) { in updateLevelWithMeasure()
363 } else if (measure > thresholds[2]) { in updateLevelWithMeasure()
365 } else if (measure > thresholds[1]) { in updateLevelWithMeasure()
367 } else if (measure > thresholds[0]) { in updateLevelWithMeasure()
DCellSignalStrengthLte.java343 private int updateLevelWithMeasure(int measure, int[] thresholds) { in updateLevelWithMeasure() argument
347 } else if (measure >= thresholds[3]) { in updateLevelWithMeasure()
349 } else if (measure >= thresholds[2]) { in updateLevelWithMeasure()
351 } else if (measure >= thresholds[1]) { in updateLevelWithMeasure()
353 } else if (measure >= thresholds[0]) { in updateLevelWithMeasure()
/frameworks/base/core/java/android/net/
DNetworkAgent.java521 ArrayList<Integer> thresholds = in handleMessage() local
525 int[] intThresholds = new int[(thresholds != null) ? thresholds.size() : 0]; in handleMessage()
527 intThresholds[i] = thresholds.get(i); in handleMessage()
981 public void onSignalStrengthThresholdsUpdated(@NonNull int[] thresholds) { in onSignalStrengthThresholdsUpdated() argument
982 setSignalStrengthThresholds(thresholds); in onSignalStrengthThresholdsUpdated()
985 protected void setSignalStrengthThresholds(int[] thresholds) { in setSignalStrengthThresholds() argument
/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java429 Pair<int[], int[]> thresholds = (Pair<int[], int[]>) msg.obj; in handleMessage() local
431 if (thresholds != null) { in handleMessage()
433 thresholds.first, thresholds.second); in handleMessage()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java2012 String[] thresholds = values.split("/"); in parseLongArray() local
2013 if (thresholds.length == THRESHOLD_BUCKETS.length) { in parseLongArray()
2017 if (thresholds[i].startsWith("P") || thresholds[i].startsWith("p")) { in parseLongArray()
2018 array[i] = Duration.parse(thresholds[i]).toMillis(); in parseLongArray()
2020 array[i] = Long.parseLong(thresholds[i]); in parseLongArray()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java652 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/
DClientModeImpl.java4847 public void onSignalStrengthThresholdsUpdated(@NonNull int[] thresholds) { in onSignalStrengthThresholdsUpdated() argument
4859 logd("Received signal strength thresholds: " + Arrays.toString(thresholds)); in onSignalStrengthThresholdsUpdated()
4860 if (thresholds.length == 0) { in onSignalStrengthThresholdsUpdated()
4865 int [] rssiVals = Arrays.copyOf(thresholds, thresholds.length + 2); in onSignalStrengthThresholdsUpdated()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java5427 final SortedSet<Integer> thresholds = new TreeSet<>(); in getSignalStrengthThresholds() local
5432 thresholds.add(nri.request.networkCapabilities.getSignalStrength()); in getSignalStrengthThresholds()
5436 return new ArrayList<>(thresholds); in getSignalStrengthThresholds()
5442 Bundle thresholds = new Bundle(); in updateSignalStrengthThresholds() local
5443 thresholds.putIntegerArrayList("thresholds", thresholdsArray); in updateSignalStrengthThresholds()
5458 0, 0, thresholds); in updateSignalStrengthThresholds()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java2559 Bundle thresholds = new Bundle(); in verifyRssiMonitoringCallbackIsRegistered() local
2560 thresholds.putIntegerArrayList("thresholds", thresholdsArray); in verifyRssiMonitoringCallbackIsRegistered()
2563 message.obj = thresholds; in verifyRssiMonitoringCallbackIsRegistered()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java3952 int signalStrengthMeasure, int[] thresholds, int ran, boolean isEnabled) { in setSignalStrengthReportingCriteria() argument
3954 REPORTING_HYSTERESIS_MILLIS, REPORTING_HYSTERESIS_DB, thresholds, isEnabled), in setSignalStrengthReportingCriteria()
DPhone.java4137 int signalStrengthMeasure, int[] thresholds, int ran, boolean isEnabled) { in setSignalStrengthReportingCriteria() argument
DRIL.java4953 signalThresholdInfoHal.thresholds = primitiveArrayToArrayList( in convertToHalSignalThresholdInfo()