OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:checkState
(Results
1 - 25
of
337
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/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()");
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
Preconditions.java
119
public static boolean
checkState
(String message, boolean state) {
/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.");
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/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
esextcTextureCubeMapArrayFBOIncompleteness.cpp
67
glw::GLboolean TextureCubeMapArrayFBOIncompleteness::
checkState
(glw::GLint expected_state, const char* message)
193
result =
checkState
(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, "Attachment of an invalid texture layer ");
252
checkState
(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, "Attachment of too many layers to a layered framebuffer ");
276
result =
checkState
(m_glExtTokens.FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS,
/external/guice/core/src/com/google/inject/
ConfigurationException.java
19
import static com.google.common.base.Preconditions.
checkState
;
47
checkState
(this.partialValue == null,
/external/guice/core/src/com/google/inject/internal/
DelegatingInvocationHandler.java
36
Preconditions.
checkState
(initialized,
InjectorOptionsProcessor.java
20
import static com.google.common.base.Preconditions.
checkState
;
79
checkState
(stage == parentOptions.stage, "child & parent stage don't match");
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
Preconditions.java
123
public static boolean
checkState
(String message, boolean state) {
/frameworks/opt/telephony/src/java/android/telephony/
CarrierMessagingServiceManager.java
59
Preconditions.
checkState
(mCarrierMessagingServiceConnection == null);
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
ScaleHelper.java
18
import static android.support.v4.util.Preconditions.
checkState
;
64
checkState
(Build.IS_DEBUGGABLE);
65
checkState
(mScaleDetector == null);
/packages/apps/TV/src/com/android/tv/ui/
DialogUtils.java
36
SoftPreconditions.
checkState
(size == runnables.length);
/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/desugar/java/com/google/devtools/build/android/desugar/
ClassVsInterface.java
17
import static com.google.common.base.Preconditions.
checkState
;
38
checkState
(previous == null || !previous, "Already recorded as interface: %s", internalName);
46
checkState
(previous == null || previous, "Already recorded as class: %s", internalName);
IndexedInputs.java
17
import static com.google.common.base.Preconditions.
checkState
;
64
checkState
(this.parent == null);
CloseResourceMethodScanner.java
44
Preconditions.
checkState
(internalName == null, "This scanner has been used.");
/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/spi/
MembersInjectorLookup.java
20
import static com.google.common.base.Preconditions.
checkState
;
68
checkState
(this.delegate == null, "delegate already initialized");
93
checkState
(delegate != null,
ProviderLookup.java
20
import static com.google.common.base.Preconditions.
checkState
;
78
checkState
(this.delegate == null, "delegate already initialized");
102
checkState
(delegate != null,
/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());
/packages/apps/Dialer/java/com/android/dialer/common/
Assert.java
118
public static void
checkState
(boolean expression) {
119
checkState
(expression, null);
131
public static void
checkState
(
188
checkState
(Looper.getMainLooper().equals(Looper.myLooper()), messageTemplate, args);
211
checkState
(!Looper.getMainLooper().equals(Looper.myLooper()), messageTemplate, args);
/external/guava/guava/src/com/google/common/base/
Preconditions.java
156
public static void
checkState
(boolean expression) {
171
public static void
checkState
(boolean expression, @Nullable Object errorMessage) {
193
public static void
checkState
(boolean expression,
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.");
Completed in 2118 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>