/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; 63 mMaxStreamingWidth = checkArgumentNonnegative(maxStreamingWidth, in Capability() 65 mMaxStreamingHeight = checkArgumentNonnegative(maxStreamingHeight, 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 | 232 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; 56 mAvailable = Math.min(checkArgumentNonnegative(tokens), mCapacity); in TokenBucket() 72 checkArgumentNonnegative(tokens); in reset()
|
D | Preconditions.java | 213 public static @IntRange(from = 0) int checkArgumentNonnegative(final int value, in checkArgumentNonnegative() method in Preconditions 230 public static @IntRange(from = 0) int checkArgumentNonnegative(final int value) { in checkArgumentNonnegative() method in Preconditions 245 public static long checkArgumentNonnegative(final long value) { in checkArgumentNonnegative() method in Preconditions 261 public static long checkArgumentNonnegative(final long value, final String errorMessage) { in checkArgumentNonnegative() method in Preconditions
|
/frameworks/base/core/java/android/permission/ |
D | RuntimePermissionUsageInfo.java | 19 import static com.android.internal.util.Preconditions.checkArgumentNonnegative; 49 checkArgumentNonnegative(numUsers); in RuntimePermissionUsageInfo()
|
D | PermissionControllerService.java | 26 import static com.android.internal.util.Preconditions.checkArgumentNonnegative; 433 checkArgumentNonnegative(numMillis); in onBind()
|
D | PermissionControllerManager.java | 25 import static com.android.internal.util.Preconditions.checkArgumentNonnegative; 599 checkArgumentNonnegative(numMillis); in getPermissionUsages()
|
/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/base/core/java/android/os/storage/ |
D | CrateInfo.java | 109 Preconditions.checkArgumentNonnegative(expiration, in CrateInfo() 158 Preconditions.checkArgumentNonnegative(expiration); in setExpiration()
|
/frameworks/base/core/java/android/view/ |
D | WindowInsets.java | 922 Preconditions.checkArgumentNonnegative(left); in inset() 923 Preconditions.checkArgumentNonnegative(top); in inset() 924 Preconditions.checkArgumentNonnegative(right); in inset() 925 Preconditions.checkArgumentNonnegative(bottom); in inset()
|
/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/util/ |
D | IntArray.java | 81 Preconditions.checkArgumentNonnegative(newSize); in resize()
|
D | LongArray.java | 85 Preconditions.checkArgumentNonnegative(newSize); in resize()
|
/frameworks/base/core/java/android/print/ |
D | PrintDocumentInfo.java | 155 mDataSize = Preconditions.checkArgumentNonnegative(parcel.readLong()); in PrintDocumentInfo()
|
D | PrinterInfo.java | 469 mIconResourceId = Preconditions.checkArgumentNonnegative(iconResourceId, in setIconResourceId()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteCursor.java | 149 Preconditions.checkArgumentNonnegative(requiredPos, in fillWindow()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbDeviceConnection.java | 366 timeout = Preconditions.checkArgumentNonnegative(timeout, "timeout"); in requestWait()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDevice.java | 208 Preconditions.checkArgumentNonnegative(objectSize, "objectSize should not be negative"); in getObject()
|
/frameworks/base/core/java/android/service/watchdog/ |
D | ExplicitHealthCheckService.java | 218 mHealthCheckTimeoutMillis = Preconditions.checkArgumentNonnegative( in PackageConfig()
|
/frameworks/base/apex/blobstore/framework/java/android/app/blob/ |
D | BlobHandle.java | 241 Preconditions.checkArgumentNonnegative(expiryTimeMillis, in assertIsValid()
|
/frameworks/base/core/java/android/content/ |
D | ContentValues.java | 64 Preconditions.checkArgumentNonnegative(size); in ContentValues()
|