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

1 2 3 4 5 6 7 8 91011>>

  /external/jetty/src/java/org/eclipse/jetty/util/
Utf8StringBuffer.java 65 checkState();
72 checkState();
Utf8StringBuilder.java 66 checkState();
73 checkState();
  /cts/tests/fragment/src/android/fragment/cts/
StrictFragment.java 60 public void checkState(String caller, int... expected) {
88 checkState("onAttach", DETACHED);
100 checkState("onCreate", ATTACHED);
109 checkState("onActivityCreated", ATTACHED, CREATED);
118 checkState("onStart", ACTIVITY_CREATED);
127 checkState("onResume", STARTED);
144 checkState("onPause", RESUMED);
153 checkState("onStop", STARTED);
162 checkState("onDestroy", CREATED);
171 checkState("onDestroy", CREATED, ATTACHED)
    [all...]
StrictViewFragment.java 32 checkState("onCreateView", CREATED);
44 checkState("onViewCreated", CREATED);
55 checkState("onDestroyView", CREATED);
  /frameworks/support/fragment/tests/java/android/support/v4/app/
StrictFragment.java 60 public void checkState(String caller, int... expected) {
93 checkState("onAttach", DETACHED);
105 checkState("onCreate", ATTACHED);
114 checkState("onActivityCreated", ATTACHED, CREATED);
123 checkState("onStart", ACTIVITY_CREATED);
132 checkState("onResume", STARTED);
149 checkState("onPause", RESUMED);
158 checkState("onStop", STARTED);
167 checkState("onDestroy", CREATED);
176 checkState("onDestroy", CREATED, ATTACHED)
    [all...]
StrictViewFragment.java 33 checkState("onCreateView", CREATED);
45 checkState("onViewCreated", CREATED);
56 checkState("onDestroyView", CREATED);
  /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() {
  /external/caliper/caliper/src/test/java/com/google/caliper/runner/
InMemoryResultsUploader.java 19 import static com.google.common.base.Preconditions.checkState;
47 checkState(!isClosed);
52 checkState(!isClosed);
  /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()");
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/
MpegTsSampleSource.java 85 Assertions.checkState(mPrepared);
91 Assertions.checkState(mPrepared);
97 Assertions.checkState(mPrepared);
98 Assertions.checkState(mTrackStates[track] == TRACK_STATE_DISABLED);
106 Assertions.checkState(mPrepared);
107 Assertions.checkState(mTrackStates[track] != TRACK_STATE_DISABLED);
130 Assertions.checkState(mPrepared);
131 Assertions.checkState(mTrackStates[track] != TRACK_STATE_DISABLED);
154 Assertions.checkState(mPrepared);
160 Assertions.checkState(mPrepared)
    [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);
  /external/guice/core/src/com/google/inject/internal/
EncounterImpl.java 19 import static com.google.common.base.Preconditions.checkState;
69 checkState(valid, "Encounters may not be used after hear() returns.");
93 checkState(valid, "Encounters may not be used after hear() returns.");
103 checkState(valid, "Encounters may not be used after hear() returns.");
113 checkState(valid, "Encounters may not be used after hear() returns.");
118 checkState(valid, "Encounters may not be used after hear() returns.");
123 checkState(valid, "Encounters may not be used after hear() returns.");
128 checkState(valid, "Encounters may not be used after hear() returns.");
137 checkState(valid, "Encounters may not be used after hear() returns.");
CycleDetectingLock.java 149 checkState();
165 checkState();
180 checkState();
181 Preconditions.checkState(lockOwnerThreadId != null,
183 Preconditions.checkState(lockOwnerThreadId == currentThreadId,
194 Preconditions.checkState(locksOwnedByThread.remove(currentThreadId, this),
205 void checkState() throws IllegalStateException {
207 Preconditions.checkState(!lockThreadIsWaitingOn.containsKey(currentThreadId),
211 Preconditions.checkState(lockReentranceCount >= 0,
213 Preconditions.checkState(locksOwnedByThread.get(lockOwnerThreadId).contains(this)
    [all...]
  /external/guice/core/src/com/google/inject/
ConfigurationException.java 19 import static com.google.common.base.Preconditions.checkState;
47 checkState(this.partialValue == null,
  /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 21 import static com.google.common.base.Preconditions.checkState;
293 checkState(keyEquivalence == null, "key equivalence was already set to %s", keyEquivalence);
311 checkState(valueEquivalence == null,
332 checkState(this.initialCapacity == UNSET_INT, "initial capacity was already set to %s",
374 checkState(this.concurrencyLevel == UNSET_INT, "concurrency level was already set to %s",
401 checkState(this.maximumSize == UNSET_INT, "maximum size was already set to %s",
403 checkState(this.maximumWeight == UNSET_INT, "maximum weight was already set to %s",
405 checkState(this.weigher == null, "maximum size can not be combined with weigher");
437 checkState(this.maximumWeight == UNSET_INT, "maximum weight was already set to %s",
439 checkState(this.maximumSize == UNSET_INT, "maximum size was already set to %s"
    [all...]
  /packages/apps/TV/common/src/com/android/tv/common/
SoftPreconditions.java 103 public static void checkState(final boolean expression, String tag, String msg) {
116 public static void checkState(final boolean expression) {
117 checkState(expression, null, null);
130 checkState(feature.isEnabled(context), tag, feature.toString());
  /external/caliper/caliper/src/main/java/com/google/caliper/worker/
AggregateAllocationsRecorder.java 18 import static com.google.common.base.Preconditions.checkState;
50 checkState(!recording, "startRecording called, but we were already recording.");
57 checkState(recording, "stopRecording called, but we were not recording.");
  /external/guice/core/src/com/google/inject/spi/
MembersInjectorLookup.java 20 import static com.google.common.base.Preconditions.checkState;
68 checkState(this.delegate == null, "delegate already initialized");
93 checkState(delegate != null,
  /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;
264 checkState(this.initialCapacity == UNSET_INT, "initial capacity was already set to %s",
306 checkState(this.concurrencyLevel == UNSET_INT, "concurrency level was already set to %s",
333 checkState(this.maximumSize == UNSET_INT, "maximum size was already set to %s",
335 checkState(this.maximumWeight == UNSET_INT, "maximum weight was already set to %s",
337 checkState(this.weigher == null, "maximum size can not be combined with weigher");
357 checkState(keyStrength == null, "Key strength was already set to %s", keyStrength);
367 checkState(valueStrength == null, "Value strength was already set to %s", valueStrength);
396 checkState(expireAfterWriteNanos == UNSET_INT, "expireAfterWrite was already set to %s ns",
430 checkState(expireAfterAccessNanos == UNSET_INT, "expireAfterAccess was already set to %s ns"
    [all...]
  /external/guice/extensions/servlet/src/com/google/inject/servlet/
ServletModule.java 19 import static com.google.common.base.Preconditions.checkState;
46 checkState(filtersModuleBuilder == null, "Re-entry is not allowed.");
47 checkState(servletsModuleBuilder == null, "Re-entry is not allowed.");
237 checkState(filtersModuleBuilder != null,
243 checkState(servletsModuleBuilder != null,

Completed in 385 milliseconds

1 2 3 4 5 6 7 8 91011>>