Home
last modified time | relevance | path

Searched refs:isInRange (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/module/foundation/tests/
DUtils_test.cpp191 ASSERT_FALSE(isInRange(-43, 86u, -44)); in TEST_F()
192 ASSERT_TRUE(isInRange(-43, 87u, -43)); in TEST_F()
193 ASSERT_TRUE(isInRange(-43, 88u, -1)); in TEST_F()
194 ASSERT_TRUE(isInRange(-43, 89u, 0)); in TEST_F()
195 ASSERT_TRUE(isInRange(-43, 90u, 46)); in TEST_F()
196 ASSERT_FALSE(isInRange(-43, 91u, 48)); in TEST_F()
197 ASSERT_FALSE(isInRange(-43, 92u, 50)); in TEST_F()
199 ASSERT_FALSE(isInRange(43, 86u, 42)); in TEST_F()
200 ASSERT_TRUE(isInRange(43, 87u, 43)); in TEST_F()
201 ASSERT_TRUE(isInRange(43, 88u, 44)); in TEST_F()
[all …]
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/
DAUtils.h72 inline static bool isInRange(const T &hayStart, const U &haySize, const T &needle) { in isInRange() function
80 inline static bool isInRange( in isInRange() function
83 return isInRange(hayStart, haySize, needleStart) in isInRange()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DDisplayPerfTest.java77 () -> isInRange(mDisplayManager.getBrightness(Display.DEFAULT_DISPLAY), brightness, in setAndWaitToChangeBrightness()
81 private boolean isInRange(float value, float target, float delta) { in isInRange() method in DisplayPerfTest
/frameworks/base/telecomm/java/android/telecom/
DCallAttributes.java177 if (!isInRange(DIRECTION_INCOMING, DIRECTION_OUTGOING, callDirection)) { in Builder()
198 if (!isInRange(AUDIO_CALL, VIDEO_CALL, callType)) { in setCallType()
232 private boolean isInRange(int floor, int ceiling, int value) { in isInRange() method in CallAttributes.Builder
/frameworks/base/core/java/com/android/internal/jank/
DFrameTracker.java440 if (!isInRange(jankStat.frameVsyncId)) { in onJankDataAvailable()
472 private boolean isInRange(long vsyncId) { in isInRange() method in FrameTracker
494 if (!isInRange(frameVsyncId)) { in onFrameMetricsAvailable()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryUsageStatsProvider.java380 boolean isInRange = in getAggregatedBatteryUsageStats()
383 if (!isInRange) { in getAggregatedBatteryUsageStats()
/frameworks/av/media/module/extractors/mp4/
DMPEG4Extractor.cpp292 if (isInRange(mCachedOffset, mCachedSize, offset, size)) { in readAt()
6550 bool isMalFormed = !isInRange((size_t)0u, size, srcOffset, mNALLengthSize); in read()
6555 isMalFormed = !isInRange((size_t)0u, size, srcOffset, nalLength); in read()
6813 if (!isInRange((size_t)0u, mBuffer->size(), size)) { in fragmentedRead()
6876 || !isInRange((size_t)0u, (size_t)max_size, size)) { in fragmentedRead()
6905 isMalFormed = !isInRange((size_t)0u, size, srcOffset, mNALLengthSize); in fragmentedRead()
6910 isMalFormed = !isInRange((size_t)0u, size, srcOffset, nalLength) in fragmentedRead()
6911 || !isInRange((size_t)0u, mBuffer->size(), dstOffset, (size_t)4u) in fragmentedRead()
6912 || !isInRange((size_t)0u, mBuffer->size(), dstOffset + 4, nalLength); in fragmentedRead()