Home
last modified time | relevance | path

Searched refs:checkArgumentNonnegative (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/core/java/android/hardware/camera2/params/
DMeteringRectangle.java92 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 …]
DCapability.java19 import static com.android.internal.util.Preconditions.checkArgumentNonnegative;
63 mMaxStreamingWidth = checkArgumentNonnegative(maxStreamingWidth, in Capability()
65 mMaxStreamingHeight = checkArgumentNonnegative(maxStreamingHeight, in Capability()
DLensShadingMap.java25 import static com.android.internal.util.Preconditions.checkArgumentNonnegative;
205 checkArgumentNonnegative(offset, "offset must not be negative"); in copyGainFactors()
DColorSpaceTransform.java163 checkArgumentNonnegative(offset, "offset must not be negative"); in copyElements()
198 checkArgumentNonnegative(offset, "offset must not be negative"); in copyElements()
DStreamConfigurationDuration.java60 mDurationNs = checkArgumentNonnegative(durationNs, "durationNs must be non-negative"); in StreamConfigurationDuration()
DTonemapCurve.java232 checkArgumentNonnegative(offset, "offset must not be negative"); in copyColorCurve()
/frameworks/base/core/java/com/android/internal/util/
DTokenBucket.java21 import static com.android.internal.util.Preconditions.checkArgumentNonnegative;
56 mAvailable = Math.min(checkArgumentNonnegative(tokens), mCapacity); in TokenBucket()
72 checkArgumentNonnegative(tokens); in reset()
DPreconditions.java213 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/
DRuntimePermissionUsageInfo.java19 import static com.android.internal.util.Preconditions.checkArgumentNonnegative;
49 checkArgumentNonnegative(numUsers); in RuntimePermissionUsageInfo()
DPermissionControllerService.java26 import static com.android.internal.util.Preconditions.checkArgumentNonnegative;
433 checkArgumentNonnegative(numMillis); in onBind()
DPermissionControllerManager.java25 import static com.android.internal.util.Preconditions.checkArgumentNonnegative;
599 checkArgumentNonnegative(numMillis); in getPermissionUsages()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
DPreconditions.java203 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/
DCrateInfo.java109 Preconditions.checkArgumentNonnegative(expiration, in CrateInfo()
158 Preconditions.checkArgumentNonnegative(expiration); in setExpiration()
/frameworks/base/core/java/android/view/
DWindowInsets.java922 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/
DCacheQuotaHint.java122 Preconditions.checkArgumentNonnegative(uid, "Proposed uid was negative."); in setUid()
/frameworks/base/core/java/android/util/
DIntArray.java81 Preconditions.checkArgumentNonnegative(newSize); in resize()
DLongArray.java85 Preconditions.checkArgumentNonnegative(newSize); in resize()
/frameworks/base/core/java/android/print/
DPrintDocumentInfo.java155 mDataSize = Preconditions.checkArgumentNonnegative(parcel.readLong()); in PrintDocumentInfo()
DPrinterInfo.java469 mIconResourceId = Preconditions.checkArgumentNonnegative(iconResourceId, in setIconResourceId()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteCursor.java149 Preconditions.checkArgumentNonnegative(requiredPos, in fillWindow()
/frameworks/base/core/java/android/hardware/usb/
DUsbDeviceConnection.java366 timeout = Preconditions.checkArgumentNonnegative(timeout, "timeout"); in requestWait()
/frameworks/base/media/java/android/mtp/
DMtpDevice.java208 Preconditions.checkArgumentNonnegative(objectSize, "objectSize should not be negative"); in getObject()
/frameworks/base/core/java/android/service/watchdog/
DExplicitHealthCheckService.java218 mHealthCheckTimeoutMillis = Preconditions.checkArgumentNonnegative( in PackageConfig()
/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DBlobHandle.java241 Preconditions.checkArgumentNonnegative(expiryTimeMillis, in assertIsValid()
/frameworks/base/core/java/android/content/
DContentValues.java64 Preconditions.checkArgumentNonnegative(size); in ContentValues()

12