/frameworks/base/telephony/java/android/telephony/ |
D | SignalThresholdInfo.java | 161 int hysteresisMs, int hysteresisDb, @NonNull int [] thresholds, boolean isEnabled) { in SignalThresholdInfo() argument 165 mThresholds = thresholds == null ? null : thresholds.clone(); in SignalThresholdInfo()
|
D | CellSignalStrengthNr.java | 357 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()
|
D | CellSignalStrengthLte.java | 343 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/ |
D | NetworkAgent.java | 521 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/ |
D | DisplayModeDirector.java | 429 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/ |
D | AppStandbyController.java | 2012 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/ |
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 | 4847 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/ |
D | ConnectivityService.java | 5427 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/ |
D | ClientModeImplTest.java | 2559 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/ |
D | GsmCdmaPhone.java | 3952 int signalStrengthMeasure, int[] thresholds, int ran, boolean isEnabled) { in setSignalStrengthReportingCriteria() argument 3954 REPORTING_HYSTERESIS_MILLIS, REPORTING_HYSTERESIS_DB, thresholds, isEnabled), in setSignalStrengthReportingCriteria()
|
D | Phone.java | 4137 int signalStrengthMeasure, int[] thresholds, int ran, boolean isEnabled) { in setSignalStrengthReportingCriteria() argument
|
D | RIL.java | 4953 signalThresholdInfoHal.thresholds = primitiveArrayToArrayList( in convertToHalSignalThresholdInfo()
|