/frameworks/base/core/java/android/view/ |
D | KeyboardShortcutInfo.java | 18 import static com.android.internal.util.Preconditions.checkArgument; 55 checkArgument(keycode >= KeyEvent.KEYCODE_UNKNOWN && keycode <= KeyEvent.getMaxKeyCode()); in KeyboardShortcutInfo() 85 checkArgument(baseCharacter != MIN_VALUE); in KeyboardShortcutInfo()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpDocumentsService.java | 80 Preconditions.checkArgument(ids != null); in updateForegroundState() 81 Preconditions.checkArgument(notifications != null); in updateForegroundState() 82 Preconditions.checkArgument(ids.length == notifications.length); in updateForegroundState()
|
D | MtpFileWriter.java | 55 Preconditions.checkArgument(size <= bytes.length); in write()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | BitUtils.java | 40 Preconditions.checkArgument(a.length == b.length, "Inputs must be of same size"); in maskedEquals() 42 Preconditions.checkArgument(a.length == mask.length, "Mask must be of same size as inputs"); in maskedEquals()
|
D | Preconditions.java | 31 public static void checkArgument(boolean expression) { in checkArgument() method in Preconditions 45 public static void checkArgument(boolean expression, final Object errorMessage) { in checkArgument() method in Preconditions 60 public static void checkArgument(boolean expression, in checkArgument() method in Preconditions
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextLanguage.java | 118 Preconditions.checkArgument(startIndex >= 0); in Builder() 119 Preconditions.checkArgument(endIndex > startIndex); in Builder()
|
D | TextSelection.java | 125 Preconditions.checkArgument(startIndex >= 0); in Builder() 126 Preconditions.checkArgument(endIndex > startIndex); in Builder()
|
D | TextClassification.java | 164 Preconditions.checkArgument(context != null); in createStartActivityOnClickListener() 165 Preconditions.checkArgument(intent != null); in createStartActivityOnClickListener()
|
D | TextClassifierImpl.java | 168 Preconditions.checkArgument(text != null); in getLinks() 426 Preconditions.checkArgument(text != null); in validateInput() 427 Preconditions.checkArgument(startIndex >= 0); in validateInput() 428 Preconditions.checkArgument(endIndex <= text.length()); in validateInput() 429 Preconditions.checkArgument(endIndex > startIndex); in validateInput() 574 Preconditions.checkArgument(text != null); in apply()
|
D | TextClassificationManager.java | 87 Preconditions.checkArgument(text != null); in detectLanguages()
|
/frameworks/base/core/java/android/companion/ |
D | BluetoothLeDeviceFilter.java | 23 import static com.android.internal.util.Preconditions.checkArgument; 340 checkArgument(rawDataFilterMask == null || in setRawDataFilter() 408 checkArgument(length > 0, "Range must be non-empty"); in checkRangeNotEmpty() 414 checkArgument(TextUtils.length(prefix) <= getRenamePrefixLengthLimit(), in setRename()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | GestureDescription.java | 249 Preconditions.checkArgument(duration > 0, "Duration must be positive"); in StrokeDescription() 250 Preconditions.checkArgument(startTime >= 0, "Start time must not be negative"); in StrokeDescription() 251 Preconditions.checkArgument(!path.isEmpty(), "Path is empty"); in StrokeDescription() 254 Preconditions.checkArgument((bounds.bottom >= 0) && (bounds.top >= 0) in StrokeDescription()
|
/frameworks/support/compat/java/android/support/v4/util/ |
D | Preconditions.java | 34 public static void checkArgument(boolean expression) { in checkArgument() method in Preconditions 48 public static void checkArgument(boolean expression, final Object errorMessage) { in checkArgument() method in Preconditions
|
/frameworks/base/core/java/android/service/autofill/ |
D | SaveInfo.java | 308 Preconditions.checkArgument(ids != null && ids.length > 0, in assertValid() 312 Preconditions.checkArgument(id != null, in assertValid()
|
/frameworks/support/emoji/core/src/android/support/text/emoji/ |
D | EmojiCompat.java | 641 Preconditions.checkArgument(start <= end, "start should be <= than end"); 648 Preconditions.checkArgument(start <= charSequence.length(), 650 Preconditions.checkArgument(end <= charSequence.length(),
|
D | MetadataRepo.java | 192 Preconditions.checkArgument(data.getCodepointsLength() > 0, in put()
|
/frameworks/data-binding/gradlePlugin/src/main/java/android/databinding/tool/ |
D | DataBindingExcludeGeneratedTask.java | 109 Preconditions.checkArgument(generatedClassListFile.exists(), in readGeneratedClasses()
|
/frameworks/support/compat/java/android/support/v4/provider/ |
D | FontRequest.java | 82 Preconditions.checkArgument(certificates != 0); in FontRequest()
|
/frameworks/base/core/java/android/app/usage/ |
D | CacheQuotaHint.java | 133 Preconditions.checkArgument((quota >= QUOTA_NOT_SET)); in setQuota()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | AppFuseBridge.java | 62 Preconditions.checkArgument(mScopes.indexOfKey(mountScope.mountId) < 0); in addBridge()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsObservers.java | 20 import static com.android.internal.util.Preconditions.checkArgument; 221 checkArgument(accessLevel >= NetworkStatsAccess.Level.DEVICESUMMARY); in buildRequestInfo()
|
/frameworks/base/core/java/android/print/ |
D | PrintDocumentInfo.java | 150 Preconditions.checkArgument(mPageCount == PAGE_COUNT_UNKNOWN || mPageCount > 0); in PrintDocumentInfo()
|
D | PrinterCapabilitiesInfo.java | 239 Preconditions.checkArgument(mMediaSizes.size() > mDefaults[PROPERTY_MEDIA_SIZE]); in PrinterCapabilitiesInfo() 240 Preconditions.checkArgument(mResolutions.size() > mDefaults[PROPERTY_RESOLUTION]); in PrinterCapabilitiesInfo()
|
/frameworks/support/wear/tests/src/android/support/wear/widget/util/ |
D | ArcSwipe.java | 72 Preconditions.checkArgument(bounds.height() == bounds.width()); in ArcSwipe()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbRequest.java | 249 Preconditions.checkArgument(!(buffer.isReadOnly() && !isSend), "buffer can not be " in queue()
|