HomeSort by relevance Sort by last modified time
    Searched defs:checkArgument (Results 76 - 100 of 281) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/guava/guava/src/com/google/common/hash/
Hashing.java 17 import static com.google.common.base.Preconditions.checkArgument;
337 checkArgument(buckets > 0, "buckets must be positive: %s", buckets);
365 checkArgument(iterator.hasNext(), "Must be at least 1 hash code to combine.");
370 checkArgument(nextBytes.length == resultBytes.length,
391 checkArgument(iterator.hasNext(), "Must be at least 1 hash code to combine.");
395 checkArgument(nextBytes.length == resultBytes.length,
408 checkArgument(bits > 0, "Number of bits must be positive");
  /external/guice/core/src/com/google/inject/internal/
MoreTypes.java 20 import static com.google.common.base.Preconditions.checkArgument;
194 checkArgument(rawType instanceof Class,
434 checkArgument(ownerType != null || rawTypeAsClass.getEnclosingClass() == null,
436 checkArgument(ownerType == null || rawTypeAsClass.getEnclosingClass() != null,
486 checkArgument(lowerBounds.length <= 1, "Must have at most one lower bound.");
487 checkArgument(upperBounds.length == 1, "Must have exactly one upper bound.");
492 checkArgument(upperBounds[0] == Object.class, "bounded both ways");
542 checkArgument(!(type instanceof Class<?>) || !((Class) type).isPrimitive(),
  /external/rappor/client/java/com/google/android/rappor/
Encoder.java 4 // import static com.google.common.base.Preconditions.checkArgument;
315 // checkArgument(
319 checkArgument(
325 checkArgument(
329 checkArgument(
333 checkArgument(
337 checkArgument(
344 checkArgument(
349 checkArgument(
362 checkArgument(numCohortsIsPowerOfTwo, "numCohorts must be a power of 2.")
    [all...]
  /frameworks/base/core/java/android/service/autofill/
SaveInfo.java 575 Preconditions.checkArgument((validator instanceof InternalValidator),
621 Preconditions.checkArgument(!ArrayUtils.isEmpty(ids), "ids cannot be empty or null");
622 Preconditions.checkArgument((sanitizer instanceof InternalSanitizer),
632 Preconditions.checkArgument(!mSanitizerIds.contains(id), "already added %s", id);
  /frameworks/base/core/java/android/text/
PrecomputedText.java 472 Preconditions.checkArgument(0 <= start && start <= mText.length(), "invalid start offset");
473 Preconditions.checkArgument(0 <= end && end <= mText.length(), "invalid end offset");
474 Preconditions.checkArgument(start <= end, "start offset can not be larger than end offset");
502 Preconditions.checkArgument(0 <= start && start <= mText.length(), "invalid start offset");
503 Preconditions.checkArgument(0 <= end && end <= mText.length(), "invalid end offset");
504 Preconditions.checkArgument(start <= end, "start offset can not be larger than end offset");
  /frameworks/support/textclassifier/src/main/java/androidx/textclassifier/
TextLinks.java 194 Preconditions.checkArgument(!entityScores.isEmpty());
195 Preconditions.checkArgument(start <= end);
  /external/desugar/java/com/google/devtools/build/android/desugar/
InterfaceDesugaring.java 16 import static com.google.common.base.Preconditions.checkArgument;
181 checkArgument(BitFlags.noneSet(access, Opcodes.ACC_NATIVE), "Forbidden per JLS ch 9.4");
206 checkArgument(
383 checkArgument(!owner.endsWith(DependencyCollector.INTERFACE_COMPANION_SUFFIX),
389 checkArgument(
410 checkArgument(!owner.endsWith(DependencyCollector.INTERFACE_COMPANION_SUFFIX),
LambdaClassFixer.java 16 import static com.google.common.base.Preconditions.checkArgument;
75 checkArgument(!allowDefaultMethods || interfaceLambdaMethods.isEmpty());
76 checkArgument(allowDefaultMethods || copyBridgeMethods);
93 checkArgument(BitFlags.noneSet(access, Opcodes.ACC_INTERFACE), "Not a class: %s", name);
252 checkArgument(opcode == Opcodes.INVOKESTATIC, "Cannot move instance method %s", method);
339 checkArgument(BitFlags.isSet(access, Opcodes.ACC_INTERFACE));
390 checkArgument(BitFlags.isSet(access, Opcodes.ACC_INTERFACE));
451 checkArgument(
  /external/guava/guava/src/com/google/common/net/
InetAddresses.java 130 Preconditions.checkArgument(bytes.length == 4,
360 Preconditions.checkArgument(ip instanceof Inet6Address);
570 Preconditions.checkArgument(isCompatIPv4Address(ip),
603 Preconditions.checkArgument(is6to4Address(ip),
644 Preconditions.checkArgument((port >= 0) && (port <= 0xffff),
646 Preconditions.checkArgument((flags >= 0) && (flags <= 0xffff),
694 Preconditions.checkArgument(isTeredoAddress(ip),
759 Preconditions.checkArgument(isIsatapAddress(ip),
    [all...]
  /external/guava/guava/src/com/google/common/reflect/
TypeResolver.java 19 import static com.google.common.base.Preconditions.checkArgument;
116 checkArgument(
129 checkArgument(fromParameterizedType.getRawType().equals(toParameterizedType.getRawType()),
133 checkArgument(fromArgs.length == toArgs.length,
141 checkArgument(componentType != null, "%s is not an array type.", to);
232 checkArgument(!variable.equalsType(type), "Type variable %s bound to itself", variable);
Types.java 19 import static com.google.common.base.Preconditions.checkArgument;
74 checkArgument(lowerBounds.length <= 1, "Wildcard cannot have more than one lower bounds.");
79 checkArgument(upperBounds.length == 1, "Wildcard should have only one upper bound.");
97 checkArgument(rawType.getEnclosingClass() != null, "Owner type for unenclosed %s", rawType);
274 checkArgument(typeArguments.length == rawType.getTypeParameters().length);
516 checkArgument(!cls.isPrimitive(),
  /external/guava/guava-gwt/src-super/com/google/common/io/super/com/google/common/io/
BaseEncoding.java 17 import static com.google.common.base.Preconditions.checkArgument;
423 checkArgument(CharMatcher.ASCII.matches(c), "Non-ASCII character: %s", c);
424 checkArgument(decodabet[c] == -1, "Duplicate character: %s", c);
519 checkArgument(paddingChar == null || !alphabet.matches(paddingChar),
654 checkArgument(padding().or(alphabet).matchesNoneOf(separator),
723 checkArgument(afterEveryChars > 0);
761 checkArgument(
  /external/guava/guava-tests/test/com/google/common/io/
ByteSourceTest.java 19 import static com.google.common.base.Preconditions.checkArgument;
228 checkArgument(expectRead == (int) Math.max(0, Math.min(input, offset + length) - offset));
  /external/guice/core/src/com/google/inject/spi/
Elements.java 19 import static com.google.common.base.Preconditions.checkArgument;
194 checkArgument(source == null ^ sourceProvider == null);
  /frameworks/base/core/java/android/accessibilityservice/
GestureDescription.java 249 Preconditions.checkArgument(duration > 0, "Duration must be positive");
250 Preconditions.checkArgument(startTime >= 0, "Start time must not be negative");
251 Preconditions.checkArgument(!path.isEmpty(), "Path is empty");
254 Preconditions.checkArgument((bounds.bottom >= 0) && (bounds.top >= 0)
  /frameworks/base/core/java/android/view/textclassifier/
TextLinks.java 205 Preconditions.checkArgument(!entityScores.isEmpty());
206 Preconditions.checkArgument(start <= end);
  /frameworks/base/core/java/android/view/textclassifier/logging/
SmartSelectionEventTracker.java 133 Preconditions.checkArgument(event.mEnd == event.mStart + 1);
430 Preconditions.checkArgument(end >= start, "end cannot be less than start");
  /frameworks/base/services/core/java/com/android/server/display/
BrightnessMappingStrategy.java 423 Preconditions.checkArgument(lux.length != 0 && brightness.length != 0,
425 Preconditions.checkArgument(lux.length == brightness.length,
592 Preconditions.checkArgument(nits.length != 0 && backlight.length != 0,
594 Preconditions.checkArgument(nits.length == backlight.length,
  /packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
NewVoicemailViewHolder.java 173 Assert.checkArgument(
182 Assert.checkArgument(
288 Assert.checkArgument(
290 Assert.checkArgument(
366 Assert.checkArgument(integer > 0, "marking voicemail read was not successful");
390 Assert.checkArgument(
399 Assert.checkArgument(
404 Assert.checkArgument(
421 Assert.checkArgument(viewHolderVoicemailUri.equals(uri));
422 Assert.checkArgument(mediaPlayerView.getVoicemailUri().equals(uri))
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/selection/
DefaultSelectionHelper.java 19 import static android.support.v4.util.Preconditions.checkArgument;
107 checkArgument(mode == MODE_SINGLE || mode == MODE_MULTIPLE);
108 checkArgument(adapter != null);
109 checkArgument(stableIds != null);
110 checkArgument(selectionPredicate != null);
125 checkArgument(callback != null);
207 checkArgument(id != null);
233 checkArgument(id != null);
275 checkArgument(position != RecyclerView.NO_POSITION);
373 checkArgument(startPosition >= 0)
    [all...]
  /packages/apps/TV/src/com/android/tv/dvr/recorder/
RecordingTask.java 183 SoftPreconditions.checkArgument(false, TAG, "unexpected message type %s", msg);
  /packages/apps/TV/src/com/android/tv/menu/
PlayControlsRowView.java 423 SoftPreconditions.checkArgument(mProgramStartTimeMs <= mProgramEndTimeMs);
  /cts/tests/tests/location/src/android/location/cts/psedorange/
UserPositionVelocityWeightedLeastSquare.java 145 Preconditions.checkArgument(numberOfUsefulSatellites >= MINIMUM_NUMER_OF_SATELLITES,
458 Preconditions.checkArgument(numberOfIterations <= MAXIMUM_NUMBER_OF_LEAST_SQUARE_ITERATIONS,
    [all...]
  /developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/
CustomVirtualView.java 302 Preconditions.checkArgument(!mPartitionsByName.containsKey(name),
404 Preconditions.checkArgument(autofillType == AUTOFILL_TYPE_TEXT ||
  /developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/view/autofillable/
CustomVirtualView.java 304 Preconditions.checkArgument(!mPartitionsByName.containsKey(name),
406 Preconditions.checkArgument(autofillType == AUTOFILL_TYPE_TEXT ||

Completed in 1307 milliseconds

1 2 34 5 6 7 8 91011>>