Home
last modified time | relevance | path

Searched refs:throwsIfOutOfBounds (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DArrayUtilsTest.java124 ArrayUtils.throwsIfOutOfBounds(10, 2, 6); in testThrowsIfOutOfBounds_passesWhenRangeInsideArray()
129 ArrayUtils.throwsIfOutOfBounds(10, 0, 10); in testThrowsIfOutOfBounds_passesWhenRangeIsWholeArray()
134 ArrayUtils.throwsIfOutOfBounds(10, 0, 0); in testThrowsIfOutOfBounds_passesWhenEmptyRangeAtStart()
139 ArrayUtils.throwsIfOutOfBounds(10, 10, 0); in testThrowsIfOutOfBounds_passesWhenEmptyRangeAtEnd()
144 ArrayUtils.throwsIfOutOfBounds(0, 0, 0); in testThrowsIfOutOfBounds_passesWhenEmptyArray()
150 ArrayUtils.throwsIfOutOfBounds(10, -1, 5); in testThrowsIfOutOfBounds_failsWhenRangeStartNegative()
160 ArrayUtils.throwsIfOutOfBounds(10, 5, -1); in testThrowsIfOutOfBounds_failsWhenCountNegative()
170 ArrayUtils.throwsIfOutOfBounds(10, 11, 0); in testThrowsIfOutOfBounds_failsWhenRangeStartTooHigh()
180 ArrayUtils.throwsIfOutOfBounds(10, 5, 6); in testThrowsIfOutOfBounds_failsWhenRangeEndTooHigh()
190 ArrayUtils.throwsIfOutOfBounds(-1, 0, 0); in testThrowsIfOutOfBounds_failsWhenLengthNegative()
[all …]
/frameworks/base/core/java/android/content/pm/
DLimitedLengthInputStream.java75 ArrayUtils.throwsIfOutOfBounds(arrayLength, offset, byteCount); in read()
/frameworks/base/drm/java/android/drm/
DDrmOutputStream.java97 ArrayUtils.throwsIfOutOfBounds(buffer.length, offset, count); in write()
/frameworks/base/core/java/android/os/
DFileBridge.java183 ArrayUtils.throwsIfOutOfBounds(buffer.length, byteOffset, byteCount); in write()
DParcel.java751 ArrayUtils.throwsIfOutOfBounds(b.length, offset, len); in writeByteArray()
781 ArrayUtils.throwsIfOutOfBounds(b.length, offset, len); in writeBlob()
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java770 public static void throwsIfOutOfBounds(int len, int offset, int count) { in throwsIfOutOfBounds() method in ArrayUtils
/frameworks/base/config/
Dboot-image-profile.txt22259 HSPLcom/android/internal/util/ArrayUtils;->throwsIfOutOfBounds(III)V
30918 HSPLlibcore/util/ArrayUtils;->throwsIfOutOfBounds(III)V
/frameworks/base/boot/
Dboot-image-profile.txt22212 HSPLcom/android/internal/util/ArrayUtils;->throwsIfOutOfBounds(III)V