/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MeteringRectangle.java | 92 mX = checkArgumentNonnegative(x, "x must be nonnegative"); in MeteringRectangle() 93 mY = checkArgumentNonnegative(y, "y must be nonnegative"); in MeteringRectangle() 94 mWidth = checkArgumentNonnegative(width, "width must be nonnegative"); in MeteringRectangle() 95 mHeight = checkArgumentNonnegative(height, "height must be nonnegative"); in MeteringRectangle() 116 mX = checkArgumentNonnegative(xy.x, "x must be nonnegative"); in MeteringRectangle() 117 mY = checkArgumentNonnegative(xy.y, "y must be nonnegative"); in MeteringRectangle() 118 mWidth = checkArgumentNonnegative(dimensions.getWidth(), "width must be nonnegative"); in MeteringRectangle() 119 mHeight = checkArgumentNonnegative(dimensions.getHeight(), "height must be nonnegative"); in MeteringRectangle() 120 mWeight = checkArgumentNonnegative(meteringWeight, "meteringWeight must be nonnegative"); in MeteringRectangle() 137 mX = checkArgumentNonnegative(rect.left, "rect.left must be nonnegative"); in MeteringRectangle() [all …]
|
D | Capability.java | 19 import static com.android.internal.util.Preconditions.checkArgumentNonnegative; 66 checkArgumentNonnegative(maxStreamingSize.getWidth(), in Capability() 68 checkArgumentNonnegative(maxStreamingSize.getHeight(), in Capability()
|
D | LensShadingMap.java | 25 import static com.android.internal.util.Preconditions.checkArgumentNonnegative; 205 checkArgumentNonnegative(offset, "offset must not be negative"); in copyGainFactors()
|
D | ColorSpaceTransform.java | 163 checkArgumentNonnegative(offset, "offset must not be negative"); in copyElements() 198 checkArgumentNonnegative(offset, "offset must not be negative"); in copyElements()
|
D | StreamConfigurationDuration.java | 60 mDurationNs = checkArgumentNonnegative(durationNs, "durationNs must be non-negative"); in StreamConfigurationDuration()
|
D | TonemapCurve.java | 233 checkArgumentNonnegative(offset, "offset must not be negative"); in copyColorCurve()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | TokenBucket.java | 21 import static com.android.internal.util.Preconditions.checkArgumentNonnegative; 58 mAvailable = Math.min(checkArgumentNonnegative(tokens), mCapacity); in TokenBucket() 74 checkArgumentNonnegative(tokens); in reset()
|
/frameworks/base/services/core/java/com/android/server/cpu/ |
D | CpuAvailabilityInfo.java | 93 Preconditions.checkArgumentNonnegative(dataTimestampUptimeMillis); in CpuAvailabilityInfo() 94 this.latestAvgAvailabilityPercent = Preconditions.checkArgumentNonnegative( in CpuAvailabilityInfo() 97 this.pastNMillisDuration = Preconditions.checkArgumentNonnegative( in CpuAvailabilityInfo()
|
/frameworks/base/core/java/android/permission/ |
D | RuntimePermissionUsageInfo.java | 19 import static com.android.internal.util.Preconditions.checkArgumentNonnegative; 49 checkArgumentNonnegative(numUsers); in RuntimePermissionUsageInfo()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputConnection.java | 382 Preconditions.checkArgumentNonnegative(beforeLength); in getSurroundingText() 383 Preconditions.checkArgumentNonnegative(afterLength); in getSurroundingText() 1456 Preconditions.checkArgumentNonnegative(start); in replaceText() 1457 Preconditions.checkArgumentNonnegative(end); in replaceText()
|
D | InputConnectionWrapper.java | 81 Preconditions.checkArgumentNonnegative(n); in getTextBeforeCursor() 93 Preconditions.checkArgumentNonnegative(n); in getTextAfterCursor() 114 Preconditions.checkArgumentNonnegative(beforeLength); in getSurroundingText() 115 Preconditions.checkArgumentNonnegative(afterLength); in getSurroundingText()
|
D | BaseInputConnection.java | 546 Preconditions.checkArgumentNonnegative(length); in getTextBeforeCursor() 607 Preconditions.checkArgumentNonnegative(length); in getTextAfterCursor() 640 Preconditions.checkArgumentNonnegative(beforeLength); in getSurroundingText() 641 Preconditions.checkArgumentNonnegative(afterLength); in getSurroundingText() 900 Preconditions.checkArgumentNonnegative(start); in replaceText() 901 Preconditions.checkArgumentNonnegative(end); in replaceText()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/ |
D | Preconditions.java | 203 public static @IntRange(from = 0) int checkArgumentNonnegative(final int value, in checkArgumentNonnegative() method in Preconditions 220 public static @IntRange(from = 0) int checkArgumentNonnegative(final int value) { in checkArgumentNonnegative() method in Preconditions 235 public static long checkArgumentNonnegative(final long value) { in checkArgumentNonnegative() method in Preconditions 251 public static long checkArgumentNonnegative(final long value, final String errorMessage) { in checkArgumentNonnegative() method in Preconditions
|
/frameworks/libs/modules-utils/java/com/android/internal/util/ |
D | Preconditions.java | 328 public static @IntRange(from = 0) int checkArgumentNonnegative(final int value, in checkArgumentNonnegative() method in Preconditions 345 public static @IntRange(from = 0) int checkArgumentNonnegative(final int value) { in checkArgumentNonnegative() method in Preconditions 360 public static long checkArgumentNonnegative(final long value) { in checkArgumentNonnegative() method in Preconditions 376 public static long checkArgumentNonnegative(final long value, final String errorMessage) { in checkArgumentNonnegative() method in Preconditions
|
/frameworks/base/core/java/android/os/storage/ |
D | CrateInfo.java | 109 Preconditions.checkArgumentNonnegative(expiration, in CrateInfo() 158 Preconditions.checkArgumentNonnegative(expiration); in setExpiration()
|
/frameworks/base/location/java/android/location/ |
D | GnssAutomaticGainControl.java | 204 Preconditions.checkArgumentNonnegative(carrierFrequencyHz); in setCarrierFrequencyHz()
|
D | SatellitePvt.java | 804 Preconditions.checkArgumentNonnegative(timeOfClockSeconds); in setTimeOfClockSeconds() 822 Preconditions.checkArgumentNonnegative(timeOfEphemerisSeconds); in setTimeOfEphemerisSeconds()
|
/frameworks/base/core/java/android/app/usage/ |
D | CacheQuotaHint.java | 122 Preconditions.checkArgumentNonnegative(uid, "Proposed uid was negative."); in setUid()
|
/frameworks/base/core/java/android/speech/ |
D | AlternativeSpan.java | 73 Preconditions.checkArgumentNonnegative(mStartPosition, in onConstructed()
|
/frameworks/base/core/java/android/util/ |
D | IntArray.java | 80 Preconditions.checkArgumentNonnegative(newSize); in resize()
|
D | LongArray.java | 85 Preconditions.checkArgumentNonnegative(newSize); in resize()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteCursor.java | 141 Preconditions.checkArgumentNonnegative(requiredPos, in fillWindow()
|
/frameworks/base/core/java/android/graphics/fonts/ |
D | FontFamilyUpdateRequest.java | 203 Preconditions.checkArgumentNonnegative(index); in setIndex()
|
/frameworks/base/core/java/android/print/ |
D | PrintDocumentInfo.java | 157 mDataSize = Preconditions.checkArgumentNonnegative(parcel.readLong()); in PrintDocumentInfo()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbDeviceConnection.java | 394 timeout = Preconditions.checkArgumentNonnegative(timeout, "timeout"); in requestWait()
|