Home
last modified time | relevance | path

Searched refs:checkArgumentInRange (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java245 Preconditions.checkArgumentInRange(powerRole, Constants.PortMode.NONE, in checkMode()
251 Preconditions.checkArgumentInRange(dataRole, Constants.PortPowerRole.NONE, in checkPowerRole()
257 Preconditions.checkArgumentInRange(mode, Constants.PortDataRole.NONE, in checkDataRole()
263 Preconditions.checkArgumentInRange(powerRole, POWER_ROLE_NONE, POWER_ROLE_SINK, in checkRoles()
265 Preconditions.checkArgumentInRange(dataRole, DATA_ROLE_NONE, DATA_ROLE_DEVICE, "dataRole"); in checkRoles()
DUsbRequest.java261 Preconditions.checkArgumentInRange(buffer.remaining(), 0, MAX_USBFS_BUFFER_SIZE, in queue()
/frameworks/support/compat/src/main/java/androidx/core/util/
DPreconditions.java280 public static float checkArgumentInRange(float value, float lower, float upper, in checkArgumentInRange() method in Preconditions
309 public static int checkArgumentInRange(int value, int lower, int upper, in checkArgumentInRange() method in Preconditions
336 public static long checkArgumentInRange(long value, long lower, long upper, in checkArgumentInRange() method in Preconditions
/frameworks/base/core/java/com/android/internal/util/
DPreconditions.java312 public static float checkArgumentInRange(float value, float lower, float upper, in checkArgumentInRange() method in Preconditions
341 public static int checkArgumentInRange(int value, int lower, int upper, in checkArgumentInRange() method in Preconditions
368 public static long checkArgumentInRange(long value, long lower, long upper, in checkArgumentInRange() method in Preconditions
DExponentiallyBucketedHistogram.java39 numBuckets = Preconditions.checkArgumentInRange(numBuckets, 1, 31, "numBuckets"); in ExponentiallyBucketedHistogram()
/frameworks/base/core/java/android/hardware/camera2/params/
DMeteringRectangle.java96 mWeight = checkArgumentInRange( in MeteringRectangle()
DOutputConfiguration.java254 checkArgumentInRange(rotation, ROTATION_0, ROTATION_270, "Rotation constant"); in OutputConfiguration()
546 checkArgumentInRange(rotation, ROTATION_0, ROTATION_270, "Rotation constant"); in OutputConfiguration()
/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java707 Preconditions.checkArgumentInRange(index, 0, text.length(), "index"); in logSelectionStarted()
728 Preconditions.checkArgumentInRange(start, 0, mText.length(), "start"); in logSelectionModified()
729 Preconditions.checkArgumentInRange(end, start, mText.length(), "end"); in logSelectionModified()
757 Preconditions.checkArgumentInRange(start, 0, mText.length(), "start"); in logSelectionAction()
758 Preconditions.checkArgumentInRange(end, start, mText.length(), "end"); in logSelectionAction()
/frameworks/base/core/java/android/util/
DIntArray.java37 mSize = Preconditions.checkArgumentInRange(size, 0, array.length, "size"); in IntArray()
DLongArray.java41 mSize = Preconditions.checkArgumentInRange(size, 0, array.length, "size"); in LongArray()
/frameworks/base/core/java/android/text/
DPrecomputedText.java411 Preconditions.checkArgumentInRange(paraIndex, 0, getParagraphCount(), "paraIndex"); in getParagraphStart()
419 Preconditions.checkArgumentInRange(paraIndex, 0, getParagraphCount(), "paraIndex"); in getParagraphEnd()
/frameworks/base/core/java/android/print/
DPrintJobInfo.java381 Preconditions.checkArgumentInRange(progress, 0, 1, "progress"); in setProgress()
819 Preconditions.checkArgumentInRange(progress, 0, 1, "progress"); in setProgress()
/frameworks/support/compat/src/main/java/androidx/core/text/
DPrecomputedTextCompat.java494 Preconditions.checkArgumentInRange(paraIndex, 0, getParagraphCount(), "paraIndex"); in getParagraphStart()
506 Preconditions.checkArgumentInRange(paraIndex, 0, getParagraphCount(), "paraIndex"); in getParagraphEnd()
/frameworks/base/media/java/android/mtp/
DMtpObjectInfo.java520 Preconditions.checkArgumentInRange(value, 0, 0xffffffffL, valueName); in longToUint32()
/frameworks/base/core/java/android/service/autofill/
DFillEventHistory.java476 mEventType = Preconditions.checkArgumentInRange(eventType, 0, TYPE_CONTEXT_COMMITTED, in Event()
DUserData.java279 Preconditions.checkArgumentInRange(length, getMinValueLength(),
DFillResponse.java378 Preconditions.checkArgumentInRange(ids.length, 1, in setFieldClassificationIds()
/frameworks/base/core/java/com/android/internal/os/
DFuseAppLoop.java321 Preconditions.checkArgumentInRange(inode, MIN_INODE, Integer.MAX_VALUE, "checkInode");
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifier.java553 Preconditions.checkArgumentInRange(text.length(), 0, maxLength, "text.length()"); in checkTextLength()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java775 Preconditions.checkArgumentInRange(weight, 0, 1000, "weight"); in create()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java3924 Preconditions.checkArgumentInRange(userId, 0, Integer.MAX_VALUE, "user must be concrete"); in hasAccountAccess()
4000 Preconditions.checkArgumentInRange(userId, 0, Integer.MAX_VALUE, "user must be concrete"); in createRequestAccountAccessIntentSenderAsUser()
/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java1342 Preconditions.checkArgumentInRange(op, AppOpsManager.OP_NONE, in startWatchingModeWithFlags()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java17835 Preconditions.checkArgumentInRange(versionedPackage.getLongVersionCode(),
/frameworks/base/config/
Dboot-image-profile.txt10214 HPLcom/android/internal/util/Preconditions;->checkArgumentInRange(JJJLjava/lang/String;)J
42028 HSPLcom/android/internal/util/Preconditions;->checkArgumentInRange(IIILjava/lang/String;)I