Searched refs:addWithOverflowDefault (Results 1 – 4 of 4) sorted by relevance
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/util/ |
D | UtilTest.java | 46 long res = Util.addWithOverflowDefault(5, 10, /* overflowResult= */ 0); in addWithOverflowDefault_withoutOverFlow_returnsSum() 49 res = Util.addWithOverflowDefault(Long.MAX_VALUE - 1, 1, /* overflowResult= */ 12345); in addWithOverflowDefault_withoutOverFlow_returnsSum() 52 res = Util.addWithOverflowDefault(Long.MIN_VALUE + 1, -1, /* overflowResult= */ 12345); in addWithOverflowDefault_withoutOverFlow_returnsSum() 58 long res = Util.addWithOverflowDefault(Long.MAX_VALUE, 1, /* overflowResult= */ 12345); in addWithOverflowDefault_withOverFlow_returnsOverflowDefault() 61 res = Util.addWithOverflowDefault(Long.MIN_VALUE, -1, /* overflowResult= */ 12345); in addWithOverflowDefault_withOverFlow_returnsOverflowDefault()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | SeekParameters.java | 91 long maxPositionUs = Util.addWithOverflowDefault(positionUs, toleranceAfterUs, Long.MAX_VALUE); in resolveSeekPositionUs()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/ |
D | BaseTrackSelection.java | 167 Util.addWithOverflowDefault(nowMs, blacklistDurationMs, Long.MAX_VALUE)); in blacklist()
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/ |
D | Util.java | 726 public static long addWithOverflowDefault(long x, long y, long overflowResult) { in addWithOverflowDefault() method in Util
|