Home
last modified time | relevance | path

Searched refs:lowerBound (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/firewall/
DPortFilter.java38 private PortFilter(int lowerBound, int upperBound) { in PortFilter() argument
39 mLowerBound = lowerBound; in PortFilter()
60 int lowerBound = NO_BOUND;
72 lowerBound = value;
87 lowerBound = Integer.parseInt(lowerBoundString);
107 return new PortFilter(lowerBound, upperBound);
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberRange.java73 @NonNull String lowerBound, @NonNull String upperBound) { in PhoneNumberRange() argument
74 validateLowerAndUpperBounds(lowerBound, upperBound); in PhoneNumberRange()
83 mLowerBound = lowerBound; in PhoneNumberRange()
134 private void validateLowerAndUpperBounds(String lowerBound, String upperBound) { in validateLowerAndUpperBounds() argument
135 if (lowerBound.length() != upperBound.length()) { in validateLowerAndUpperBounds()
138 if (!Pattern.matches("[0-9]*", lowerBound)) { in validateLowerAndUpperBounds()
144 if (Integer.parseInt(lowerBound) > Integer.parseInt(upperBound)) { in validateLowerAndUpperBounds()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DAssertHelpers.java89 public static void assertArrayWithinLowerBound(String message, float[] value, float lowerBound) in assertArrayWithinLowerBound() argument
94 message, value[i], lowerBound, i, Arrays.toString(value)), in assertArrayWithinLowerBound()
95 value[i] > lowerBound); in assertArrayWithinLowerBound() local
/frameworks/base/core/java/android/view/
DWindowInsetsAnimation.java193 public Bounds(@NonNull Insets lowerBound, @NonNull Insets upperBound) { in Bounds() argument
194 mLowerBound = lowerBound; in Bounds()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DBitmapUtils.java73 int lowerBound = (maxNumOfPixels == UNCONSTRAINED) ? 1 : in computeInitialSampleSize() local
77 return lowerBound; in computeInitialSampleSize()
80 return Math.max(sampleSize, lowerBound); in computeInitialSampleSize()
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.cpp590 auto lowerBound = std::lower_bound(mKnownFrameRates.begin(), mKnownFrameRates.end(), frameRate); in findClosestKnownFrameRate() local
592 const auto distance1 = std::abs(frameRate - *lowerBound); in findClosestKnownFrameRate()
593 const auto distance2 = std::abs(frameRate - *std::prev(lowerBound)); in findClosestKnownFrameRate()
594 return distance1 < distance2 ? *lowerBound : *std::prev(lowerBound); in findClosestKnownFrameRate()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DConvert.java177 FrequencyBand bandType = Utils.getBand(range.lowerBound); in amfmConfigToBands()
179 Slog.e(TAG, "Unknown frequency band at " + range.lowerBound + "kHz"); in amfmConfigToBands()
184 range.lowerBound, range.upperBound, range.spacing, in amfmConfigToBands()
191 range.lowerBound, range.upperBound, range.spacing, in amfmConfigToBands()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java877 int lowerBound = rotation * 90 - 45 in isOrientationAngleAcceptableLocked() local
880 if (orientationAngle >= 315 && orientationAngle < lowerBound + 360) { in isOrientationAngleAcceptableLocked()
884 if (orientationAngle < lowerBound) { in isOrientationAngleAcceptableLocked()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java1101 public void setVisibleRangeHint(int lowerBound, int upperBound) { in setVisibleRangeHint() argument
1102 mVisibleWindowLowerBound = lowerBound; in setVisibleRangeHint()