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

1 2 3 4 5 6 7 8

  /external/jetty/src/java/org/eclipse/jetty/util/
Utf8StringBuffer.java 65 checkState();
72 checkState();
Utf8StringBuilder.java 66 checkState();
73 checkState();
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
RecyclingBitmapDrawable.java 63 checkState();
84 checkState();
88 private synchronized void checkState() {
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
RecyclingBitmapDrawable.java 63 checkState();
84 checkState();
88 private synchronized void checkState() {
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
RecyclingBitmapDrawable.java 63 checkState();
84 checkState();
88 private synchronized void checkState() {
  /art/tools/dexfuzz/src/dexfuzz/
StreamConsumer.java 115 if (checkState(State.SHOULD_STOP_CONSUMING)) {
123 while (checkState(State.CONSUMING)) {
131 if (checkState(State.SHOULD_STOP_CONSUMING)) {
154 while (checkState(State.WAITING)) {
165 if (checkState(State.FINISHED)) {
171 if (!(checkState(State.CONSUMING) || checkState(State.SHOULD_STOP_CONSUMING))) {
182 private synchronized boolean checkState(State expectedState) {
  /external/guava/guava/src/com/google/common/collect/
CollectPreconditions.java 19 import static com.google.common.base.Preconditions.checkState;
49 checkState(canRemove, "no calls to next() since the last call to remove()");
AbstractIterator.java 19 import static com.google.common.base.Preconditions.checkState;
130 checkState(state != State.FAILED);
MapMaker.java 20 import static com.google.common.base.Preconditions.checkState;
149 checkState(keyEquivalence == null, "key equivalence was already set to %s", keyEquivalence);
171 checkState(this.initialCapacity == UNSET_INT, "initial capacity was already set to %s",
208 checkState(this.maximumSize == UNSET_INT, "maximum size was already set to %s",
241 checkState(this.concurrencyLevel == UNSET_INT, "concurrency level was already set to %s",
270 checkState(keyStrength == null, "Key strength was already set to %s", keyStrength);
340 checkState(valueStrength == null, "Value strength was already set to %s", valueStrength);
392 checkState(expireAfterWriteNanos == UNSET_INT, "expireAfterWrite was already set to %s ns",
394 checkState(expireAfterAccessNanos == UNSET_INT, "expireAfterAccess was already set to %s ns",
483 checkState(this.removalListener == null)
    [all...]
  /external/guava/guava-tests/benchmark/com/google/common/cache/
SegmentBenchmark.java 19 import static com.google.common.base.Preconditions.checkState;
46 checkState(cache.segments.length == 1);
48 checkState(segment.table.length() == capacity);
52 checkState(segment.table.length() == capacity);
  /packages/apps/Camera2/src/com/android/camera/async/
MainThread.java 19 import static com.google.common.base.Preconditions.checkState;
51 checkState(sIsMainThread.get(), "Not main thread.");
RefCountBase.java 37 Preconditions.checkState(
47 Preconditions.checkState(!mObjectClosed,
  /external/guava/guava/src/com/google/common/cache/
CacheBuilder.java 22 import static com.google.common.base.Preconditions.checkState;
294 checkState(keyEquivalence == null, "key equivalence was already set to %s", keyEquivalence);
312 checkState(valueEquivalence == null,
333 checkState(this.initialCapacity == UNSET_INT, "initial capacity was already set to %s",
375 checkState(this.concurrencyLevel == UNSET_INT, "concurrency level was already set to %s",
402 checkState(this.maximumSize == UNSET_INT, "maximum size was already set to %s",
404 checkState(this.maximumWeight == UNSET_INT, "maximum weight was already set to %s",
406 checkState(this.weigher == null, "maximum size can not be combined with weigher");
438 checkState(this.maximumWeight == UNSET_INT, "maximum weight was already set to %s",
440 checkState(this.maximumSize == UNSET_INT, "maximum size was already set to %s"
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
CacheBuilder.java 22 import static com.google.common.base.Preconditions.checkState;
265 checkState(this.initialCapacity == UNSET_INT, "initial capacity was already set to %s",
307 checkState(this.concurrencyLevel == UNSET_INT, "concurrency level was already set to %s",
334 checkState(this.maximumSize == UNSET_INT, "maximum size was already set to %s",
336 checkState(this.maximumWeight == UNSET_INT, "maximum weight was already set to %s",
338 checkState(this.weigher == null, "maximum size can not be combined with weigher");
358 checkState(keyStrength == null, "Key strength was already set to %s", keyStrength);
368 checkState(valueStrength == null, "Value strength was already set to %s", valueStrength);
397 checkState(expireAfterWriteNanos == UNSET_INT, "expireAfterWrite was already set to %s ns",
431 checkState(expireAfterAccessNanos == UNSET_INT, "expireAfterAccess was already set to %s ns"
    [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;
159 checkState(!isRunning, "This stopwatch is already running.");
174 checkState(isRunning, "This stopwatch is already stopped.");
Preconditions.java 159 public static void checkState(boolean expression) {
174 public static void checkState(boolean expression, @Nullable Object errorMessage) {
196 public static void checkState(boolean expression,
  /packages/apps/Camera2/src/com/android/camera/one/v2/core/
FrameServerImpl.java 19 import static com.google.common.base.Preconditions.checkState;
91 checkState(!mCameraLock.isHeldByCurrentThread(), "Cannot acquire another " +
  /external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
PreconditionsTest.java 80 Preconditions.checkState(true);
85 Preconditions.checkState(false);
92 Preconditions.checkState(true, IGNORE_ME);
97 Preconditions.checkState(false, new Message());
106 Preconditions.checkState(false, null);
114 Preconditions.checkState(true, "%s", IGNORE_ME);
119 Preconditions.checkState(false, FORMAT, 5);
  /external/guava/guava-tests/test/com/google/common/base/
PreconditionsTest.java 82 Preconditions.checkState(true);
87 Preconditions.checkState(false);
94 Preconditions.checkState(true, IGNORE_ME);
99 Preconditions.checkState(false, new Message());
108 Preconditions.checkState(false, null);
116 Preconditions.checkState(true, "%s", IGNORE_ME);
121 Preconditions.checkState(false, FORMAT, 5);
  /packages/apps/Camera2/src/com/android/camera/util/
JpegUtilNative.java 212 Preconditions.checkState((degrees % 90) == 0, "Rotation must be a multiple of 90 degrees," +
216 Preconditions.checkState(outBuf.isDirect(), "Output buffer must be direct");
217 Preconditions.checkState(crop.left < crop.right, "Invalid crop rectangle: " +
219 Preconditions.checkState(crop.top < crop.bottom, "Invalid crop rectangle: " +
222 Preconditions.checkState(img.getFormat() == ImageFormat.YUV_420_888, "Only " +
225 Preconditions.checkState(planeList.size() == NUM_PLANES);
234 Preconditions.checkState(plane.getBuffer().isDirect());
  /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;
161 checkState(!isRunning, "This stopwatch is already running.");
176 checkState(isRunning, "This stopwatch is already stopped.");
  /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...]
  /external/mockito/cglib-and-asm/src/org/mockito/asm/util/
CheckClassAdapter.java 273 checkState();
307 checkState();
320 checkState();
340 checkState();
363 checkState();
388 checkState();
417 checkState();
423 checkState();
431 checkState();
444 private void 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) {

Completed in 1759 milliseconds

1 2 3 4 5 6 7 8