Home
last modified time | relevance | path

Searched refs:upperBound (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/firewall/
DPortFilter.java38 private PortFilter(int lowerBound, int upperBound) { in PortFilter() argument
40 mUpperBound = upperBound; in PortFilter()
61 int upperBound = NO_BOUND;
73 upperBound = value;
97 upperBound = Integer.parseInt(upperBoundString);
107 return new PortFilter(lowerBound, upperBound);
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberRange.java72 @NonNull String lowerBound, @NonNull String upperBound) { in PhoneNumberRange() argument
73 validateLowerAndUpperBounds(lowerBound, upperBound); in PhoneNumberRange()
83 mUpperBound = upperBound; in PhoneNumberRange()
132 private void validateLowerAndUpperBounds(String lowerBound, String upperBound) { in validateLowerAndUpperBounds() argument
133 if (lowerBound.length() != upperBound.length()) { in validateLowerAndUpperBounds()
139 if (!Pattern.matches("[0-9]*", upperBound)) { in validateLowerAndUpperBounds()
142 if (Integer.parseInt(lowerBound) > Integer.parseInt(upperBound)) { in validateLowerAndUpperBounds()
/frameworks/base/core/java/android/view/
DWindowInsetsAnimationListener.java71 InsetsAnimation(int typeMask, Insets lowerBound, Insets upperBound) { in InsetsAnimation() argument
74 mUpperBound = upperBound; in InsetsAnimation()
/frameworks/opt/gamesdk/src/swappy/
DSwappy.cpp552 const std::chrono::nanoseconds& upperBound, in swapSlower() argument
557 if (!mPipelineMode && averageFrameTime.getTime(true) <= upperBound) { in swapSlower()
578 const std::chrono::nanoseconds& upperBound, in swapFaster() argument
607 nanoseconds upperBound = mRefreshPeriod * mAutoSwapInterval.load(); in updateSwapInterval() local
611 upperBound -= FRAME_HYSTERESIS; in updateSwapInterval()
628 ALOGV("upperBound = %.2f", upperBound.count() / 1e6f); in updateSwapInterval()
632 if (averageFrameTime.getTime(mPipelineMode) > upperBound) { in updateSwapInterval()
633 swapSlower(averageFrameTime, upperBound, lowerBound, newSwapInterval); in updateSwapInterval()
637 swapFaster(averageFrameTime, upperBound, lowerBound, newSwapInterval); in updateSwapInterval()
640 averageFrameTime.getTime(false) < upperBound - FRAME_HYSTERESIS) { in updateSwapInterval()
DSwappy.h181 const std::chrono::nanoseconds& upperBound,
186 const std::chrono::nanoseconds& upperBound,
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DAssertHelpers.java105 public static void assertArrayWithinUpperBound(String message, float[] value, float upperBound) in assertArrayWithinUpperBound() argument
110 message, value[i], upperBound, i, Arrays.toString(value)), in assertArrayWithinUpperBound()
111 value[i] < upperBound); in assertArrayWithinUpperBound()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java896 int upperBound = rotation * 90 + 45 in isOrientationAngleAcceptableLocked() local
899 if (orientationAngle <= 45 && orientationAngle > upperBound) { in isOrientationAngleAcceptableLocked()
903 if (orientationAngle > upperBound) { in isOrientationAngleAcceptableLocked()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DConvert.java185 range.lowerBound, range.upperBound, range.spacing, in amfmConfigToBands()
192 range.lowerBound, range.upperBound, range.spacing, in amfmConfigToBands()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java1101 public void setVisibleRangeHint(int lowerBound, int upperBound) { in setVisibleRangeHint() argument
1103 mVisibleWindowUpperBound = upperBound; in setVisibleRangeHint()
/frameworks/native/libs/binder/
DParcel.cpp1538 status_t Parcel::validateReadData(size_t upperBound) const in validateReadData()
1544 if (mNextObjectHint < mObjectsSize && upperBound > mObjects[mNextObjectHint]) { in validateReadData()
1555 } while (nextObject < mObjectsSize && upperBound > mObjects[nextObject]); in validateReadData()