HomeSort by relevance Sort by last modified time
    Searched refs:checkState (Results 1 - 25 of 81) sorted by null

1 2 3 4

  /frameworks/base/core/java/com/android/internal/util/
Preconditions.java 64 public static void checkState(boolean expression) {
  /external/guava/guava/src/com/google/common/cache/
CacheBuilder.java 22 import static com.google.common.base.Preconditions.checkState;
250 checkState(keyEquivalence == null, "key equivalence was already set to %s", keyEquivalence);
267 checkState(valueEquivalence == null,
288 checkState(this.initialCapacity == UNSET_INT, "initial capacity was already set to %s",
318 checkState(this.concurrencyLevel == UNSET_INT, "concurrency level was already set to %s",
343 checkState(this.maximumSize == UNSET_INT, "maximum size was already set to %s",
345 checkState(this.maximumWeight == UNSET_INT, "maximum weight was already set to %s",
347 checkState(this.weigher == null, "maximum size can not be combined with weigher");
373 checkState(this.maximumWeight == UNSET_INT, "maximum weight was already set to %s",
375 checkState(this.maximumSize == UNSET_INT, "maximum size was already set to %s"
    [all...]
  /external/guava/guava/src/com/google/common/base/
AbstractIterator.java 19 import static com.google.common.base.Preconditions.checkState;
51 checkState(state != State.FAILED);
Stopwatch.java 20 import static com.google.common.base.Preconditions.checkState;
111 checkState(!isRunning);
126 checkState(isRunning);
Preconditions.java 127 public static void checkState(boolean expression) {
142 public static void checkState(
168 public static void checkState(boolean expression,
  /external/guava/guava/src/com/google/common/collect/
AbstractIterator.java 19 import static com.google.common.base.Preconditions.checkState;
130 checkState(state != State.FAILED);
BstPath.java 18 import static com.google.common.base.Preconditions.checkState;
71 checkState(hasPrefix());
MapMaker.java 20 import static com.google.common.base.Preconditions.checkState;
160 checkState(keyEquivalence == null, "key equivalence was already set to %s", keyEquivalence);
180 checkState(valueEquivalence == null,
203 checkState(this.initialCapacity == UNSET_INT, "initial capacity was already set to %s",
238 checkState(this.maximumSize == UNSET_INT, "maximum size was already set to %s",
271 checkState(this.concurrencyLevel == UNSET_INT, "concurrency level was already set to %s",
337 checkState(keyStrength == null, "Key strength was already set to %s", keyStrength);
410 checkState(valueStrength == null, "Value strength was already set to %s", valueStrength);
476 checkState(expireAfterWriteNanos == UNSET_INT, "expireAfterWrite was already set to %s ns",
478 checkState(expireAfterAccessNanos == UNSET_INT, "expireAfterAccess was already set to %s ns"
    [all...]
BstNode.java 18 import static com.google.common.base.Preconditions.checkState;
106 checkState(child != null);
AbstractBiMap.java 20 import static com.google.common.base.Preconditions.checkState;
74 checkState(delegate == null);
75 checkState(inverse == null);
209 checkState(entry != null);
324 checkState(contains(this), "entry no longer in map");
332 checkState(Objects.equal(value, get(getKey())),
341 checkState(entry != null);
AbstractMapBasedMultiset.java 21 import static com.google.common.base.Preconditions.checkState;
127 checkState(toRemove != null,
193 checkState(canRemove,
359 checkState(toRemove != null,
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
PortFieldEditor.java 52 protected boolean checkState() {
53 if (super.checkState() == false) {
  /external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
Stopwatch.java 20 import static com.google.common.base.Preconditions.checkState;
110 checkState(!isRunning);
125 checkState(isRunning);
  /tools/build/builder/src/main/java/com/android/builder/
AndroidBuilder.java 51 import static com.google.common.base.Preconditions.checkState;
151 checkState(mTarget != null, "Target not set.");
183 checkState(mVariant != null, "No Variant Configuration has been set.");
184 checkState(mTarget != null, "Target not set.");
213 checkState(mVariant != null, "No Variant Configuration has been set.");
230 checkState(mVariant != null, "No Variant Configuration has been set.");
231 checkState(mTarget != null, "Target not set.");
280 checkState(mVariant != null, "No Variant Configuration has been set.");
281 checkState(mTarget != null, "Target not set.");
470 checkState(mVariant != null, "No Variant Configuration has been set.")
    [all...]
  /external/guava/guava-tests/test/com/google/common/base/
PreconditionsTest.java 81 Preconditions.checkState(true);
86 Preconditions.checkState(false);
93 Preconditions.checkState(true, IGNORE_ME);
98 Preconditions.checkState(false, new Message());
107 Preconditions.checkState(false, null);
115 Preconditions.checkState(true, "%s", IGNORE_ME);
120 Preconditions.checkState(false, FORMAT, 5);
  /libcore/luni/src/main/java/java/util/prefs/
AbstractPreferences.java 192 checkState();
353 checkState();
377 checkState();
386 checkState();
409 checkState();
514 checkState();
528 checkState();
631 checkState();
635 private void checkState() {
652 checkState();
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
LabelMaker.java 122 checkState(STATE_INITIALIZED, STATE_ADDING);
176 checkState(STATE_ADDING, STATE_ADDING);
264 checkState(STATE_ADDING, STATE_INITIALIZED);
313 checkState(STATE_INITIALIZED, STATE_DRAWING);
340 checkState(STATE_DRAWING, STATE_DRAWING);
355 checkState(STATE_DRAWING, STATE_INITIALIZED);
363 private void checkState(int oldState, int newState) {
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
AbstractBiMap.java 20 import static com.google.common.base.Preconditions.checkState;
70 checkState(delegate == null);
71 checkState(inverse == null);
205 checkState(entry != null);
320 checkState(contains(this), "entry no longer in map");
328 checkState(Objects.equal(value, get(getKey())),
337 checkState(entry != null);
AbstractMapBasedMultiset.java 21 import static com.google.common.base.Preconditions.checkState;
124 checkState(toRemove != null,
190 checkState(canRemove,
356 checkState(toRemove != null,
  /frameworks/native/services/sensorservice/
Fusion.h 77 void checkState();
  /packages/apps/Contacts/src/com/android/contacts/util/
AsyncTaskExecutors.java 82 Preconditions.checkState(Thread.currentThread() == Looper.getMainLooper().getThread(),
  /frameworks/base/media/java/android/media/audiofx/
AudioEffect.java 423 checkState("getDescriptor()");
488 checkState("setEnabled()");
511 checkState("setParameter()");
642 checkState("getParameter()");
820 checkState("command()");
837 checkState("getId()");
848 checkState("getEnabled()");
860 checkState("hasControl()");
    [all...]
  /external/guava/guava/src/com/google/common/hash/
MessageDigestHashFunction.java 17 import static com.google.common.base.Preconditions.checkState;
165 checkState(!done, "Cannot use Hasher after calling #hash() on it");
  /external/guava/guava/src/com/google/common/net/
HostAndPort.java 21 import static com.google.common.base.Preconditions.checkState;
106 checkState(hasPort());
  /external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
CacheBuilder.java 21 import static com.google.common.base.Preconditions.checkState;
62 checkState(this.initialCapacity == UNSET_INT, "initial capacity was already set to %s",
74 checkState(this.concurrencyLevel == UNSET_INT, "concurrency level was already set to %s",
84 checkState(expirationMillis == UNSET_INT, "expireAfterWrite was already set to %s ms",

Completed in 801 milliseconds

1 2 3 4