Home
last modified time | relevance | path

Searched refs:checkArgumentNonnegative (Results 1 – 25 of 31) 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 …]
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.java211 public static @IntRange(from = 0) int checkArgumentNonnegative(final int value, in checkArgumentNonnegative() method in Preconditions
228 public static @IntRange(from = 0) int checkArgumentNonnegative(final int value) { in checkArgumentNonnegative() method in Preconditions
243 public static long checkArgumentNonnegative(final long value) { in checkArgumentNonnegative() method in Preconditions
259 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;
369 checkArgumentNonnegative(numMillis); in onBind()
DPermissionControllerManager.java25 import static com.android.internal.util.Preconditions.checkArgumentNonnegative;
456 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/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpFileWriter.java53 Preconditions.checkArgumentNonnegative(offset, "offset"); in write()
54 Preconditions.checkArgumentNonnegative(size, "size"); in write()
/frameworks/base/core/java/android/view/
DWindowInsets.java803 Preconditions.checkArgumentNonnegative(left); in inset()
804 Preconditions.checkArgumentNonnegative(top); in inset()
805 Preconditions.checkArgumentNonnegative(right); in inset()
806 Preconditions.checkArgumentNonnegative(bottom); in inset()
/frameworks/base/core/java/android/content/pm/permission/
DSplitPermissionInfoParcelable.java87 Preconditions.checkArgumentNonnegative(mTargetSdk); in SplitPermissionInfoParcelable()
/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/service/watchdog/
DExplicitHealthCheckService.java203 mHealthCheckTimeoutMillis = Preconditions.checkArgumentNonnegative( in PackageConfig()
/frameworks/base/core/java/android/hardware/usb/
DUsbDeviceConnection.java337 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/content/
DContentValues.java63 Preconditions.checkArgumentNonnegative(size); in ContentValues()
/frameworks/base/core/java/android/view/textclassifier/
DConversationActions.java511 mMaxSuggestions = Preconditions.checkArgumentNonnegative(maxSuggestions); in setMaxSuggestions()

12