OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:checkState
(Results
26 - 50
of
343
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/caliper/caliper/src/main/java/com/google/caliper/model/
Run.java
20
import static com.google.common.base.Preconditions.
checkState
;
110
checkState
(id != null);
111
checkState
(startTime != null);
Scenario.java
21
import static com.google.common.base.Preconditions.
checkState
;
138
checkState
(host != null);
139
checkState
(vmSpec != null);
140
checkState
(benchmarkSpec != null);
Trial.java
20
import static com.google.common.base.Preconditions.
checkState
;
163
checkState
(run != null);
164
checkState
(instrumentSpec != null);
165
checkState
(scenario != null);
/external/caliper/caliper/src/main/java/com/google/caliper/platform/dalvik/
DalvikPlatform.java
19
import static com.google.common.base.Preconditions.
checkState
;
48
Preconditions.
checkState
(bin.exists() && bin.isDirectory(),
88
checkState
(options.isEmpty());
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
AllAllocationsRecorder.java
18
import static com.google.common.base.Preconditions.
checkState
;
80
checkState
(!recording, "startRecording called, but we were already recording.");
86
checkState
(recording, "stopRecording called, but we were not recording.");
/external/guice/core/src/com/google/inject/spi/
ProviderLookup.java
20
import static com.google.common.base.Preconditions.
checkState
;
78
checkState
(this.delegate == null, "delegate already initialized");
102
checkState
(delegate != null,
/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.");
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/
CommandLineSerializer.java
19
import static com.google.common.base.Preconditions.
checkState
;
61
checkState
(bais.read() == -1,
/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
;
160
checkState
(!isRunning, "This stopwatch is already running.");
175
checkState
(isRunning, "This stopwatch is already stopped.");
/external/guava/guava/src/com/google/common/collect/
AbstractIterator.java
19
import static com.google.common.base.Preconditions.
checkState
;
130
checkState
(state != State.FAILED);
/external/guice/core/src/com/google/inject/internal/
InjectorOptionsProcessor.java
20
import static com.google.common.base.Preconditions.
checkState
;
79
checkState
(stage == parentOptions.stage, "child & parent stage don't match");
DelegatingInvocationHandler.java
36
Preconditions.
checkState
(initialized,
/external/guice/extensions/service/src/com/google/inject/service/
AsyncService.java
46
Preconditions.
checkState
(state != State.STOPPED,
72
Preconditions.
checkState
(state != null, "Must start this service before you stop it!");
/frameworks/base/media/java/android/mtp/
MtpObjectInfo.java
101
Preconditions.
checkState
(mCompressedSize >= 0);
131
Preconditions.
checkState
(mThumbCompressedSize >= 0);
152
Preconditions.
checkState
(mThumbPixWidth >= 0);
173
Preconditions.
checkState
(mThumbPixHeight >= 0);
194
Preconditions.
checkState
(mImagePixWidth >= 0);
215
Preconditions.
checkState
(mImagePixHeight >= 0);
236
Preconditions.
checkState
(mImagePixDepth >= 0);
293
Preconditions.
checkState
(mSequenceNumber >= 0);
/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/dagger2/compiler/src/main/java/dagger/internal/codegen/
ResolvedBindings.java
28
import static com.google.common.base.Preconditions.
checkState
;
105
checkState
(bindingKey().kind().equals(BindingKey.Kind.CONTRIBUTION));
116
checkState
(bindingKey().kind().equals(BindingKey.Kind.CONTRIBUTION));
127
checkState
(bindingKey().kind().equals(BindingKey.Kind.MEMBERS_INJECTION));
142
checkState
(bindingKey().kind().equals(BindingKey.Kind.MEMBERS_INJECTION));
/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
;
159
checkState
(!isRunning, "This stopwatch is already running.");
174
checkState
(isRunning, "This stopwatch is already stopped.");
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
ServerSocketService.java
17
import static com.google.common.base.Preconditions.
checkState
;
121
checkState
(serverSocket != null, "Socket has not been opened yet");
133
checkState
(isRunning(), "You can only get connections from a running service: %s", this);
179
checkState
(connectionState.put(source, id), "Connection for %s has already been %s",
/frameworks/support/documents-archive/src/android/support/provider/
Preconditions.java
53
static void
checkState
(boolean expression, String message) {
/packages/services/Telecomm/src/com/android/server/telecom/
RingbackPlayer.java
51
Preconditions.
checkState
(call.getState() == CallState.DIALING);
/external/caliper/caliper/src/main/java/com/google/caliper/config/
InstrumentConfig.java
20
import static com.google.common.base.Preconditions.
checkState
;
103
checkState
(className != null);
Completed in 833 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>