HomeSort by relevance Sort by last modified time
    Searched defs:checkState (Results 26 - 50 of 337) sorted by null

12 3 4 5 6 7 8 91011>>

  /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;
159 checkState(!isRunning, "This stopwatch is already running.");
174 checkState(isRunning, "This stopwatch is already stopped.");
  /external/guice/core/src/com/google/inject/
AbstractModule.java 20 import static com.google.common.base.Preconditions.checkState;
58 checkState(this.binder == null, "Re-entry is not allowed.");
78 checkState(binder != null, "The binder can only be used inside configure()");
PrivateModule.java 19 import static com.google.common.base.Preconditions.checkState;
95 checkState(this.binder == null, "Re-entry is not allowed.");
141 checkState(binder != null, "The binder can only be used inside configure()");
  /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...]
PrivateElementsImpl.java 21 import static com.google.common.base.Preconditions.checkState;
85 checkState(this.injector == null, "injector already initialized");
  /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,
  /frameworks/base/core/java/com/android/internal/util/
Preconditions.java 161 public static void checkState(final boolean expression, String message) {
174 public static void checkState(final boolean expression) {
175 checkState(expression, null);
  /frameworks/support/compat/src/main/java/androidx/core/util/
Preconditions.java 129 public static void checkState(final boolean expression, String message) {
142 public static void checkState(final boolean expression) {
143 checkState(expression, null);
  /frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
OperationMonitor.java 20 import static androidx.core.util.Preconditions.checkState;
67 checkState(mNumOps > 0);
109 checkState(mNumOps > 0);
116 checkState(mNumOps == 0);
  /packages/apps/Camera2/src/com/android/camera/burst/
BurstTakerImpl.java 85 Preconditions.checkState(mBurstLifetime == null,
  /packages/apps/TV/common/src/com/android/tv/common/
SoftPreconditions.java 134 public static boolean checkState(
154 public static boolean checkState(final boolean expression) {
155 checkState(expression, null, null);
169 checkState(feature.isEnabled(context), tag, feature.toString());
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
Preconditions.java 119 public static void checkState(boolean expression) {
134 public static void checkState(boolean expression, Object errorMessage) {
159 public static void checkState(boolean expression,
  /packages/services/Telecomm/src/com/android/server/telecom/
AsyncRingtonePlayer.java 90 Preconditions.checkState(mHandler == null);
  /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) {
  /cts/tests/tests/location/src/android/location/cts/asn1/base/
Asn1GeneralString.java 79 Preconditions.checkState(value.length >= minimumSize, "Value too short.");
80 Preconditions.checkState(maximumSize == null || value.length <= maximumSize,
Asn1OctetString.java 81 Preconditions.checkState(
Asn1Utf8String.java 85 Preconditions.checkState(
  /external/guice/extensions/persist/src/com/google/inject/persist/jpa/
JpaPersistService.java 61 Preconditions.checkState(null != em, "Requested EntityManager outside work unit. "
73 Preconditions.checkState(null == entityManager.get(),
104 Preconditions.checkState(null == emFactory, "Persistence service was already initialized.");
115 Preconditions.checkState(emFactory.isOpen(), "Persistence service was already shut down.");
  /frameworks/data-binding/gradlePlugin/src/main/java/android/databinding/tool/
DataBindingExcludeGeneratedTask.java 124 Preconditions.checkState(false, "Could not read data binding generated class list");
  /packages/apps/Dialer/java/com/android/dialer/phonelookup/consolidator/
PhoneLookupInfoConsolidator.java 115 Assert.checkState(nameSource == NameSource.PEOPLE_API);
  /packages/apps/TV/src/com/android/tv/license/
Licenses.java 64 SoftPreconditions.checkState(
  /packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
TrickplayStorageManager.java 52 SoftPreconditions.checkState(sBufferDir == null || sBufferDir.equals(path));
  /tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
ManifestGenerationExtension.java 159 Preconditions.checkState(extension == null, "register() has already been invoked.");
  /cts/tests/fragment/src/android/fragment/cts/
StrictFragment.java 65 public void checkState(String caller, int... expected) {
99 checkState("onAttach", DETACHED);
111 checkState("onCreate", ATTACHED);
120 checkState("onActivityCreated", ATTACHED, CREATED);
130 checkState("onStart", ACTIVITY_CREATED);
139 checkState("onResume", STARTED);
159 checkState("onPause", RESUMED);
168 checkState("onStop", STARTED);
177 checkState("onDestroy", CREATED);
186 checkState("onDestroy", CREATED, ATTACHED)
    [all...]

Completed in 531 milliseconds

12 3 4 5 6 7 8 91011>>