OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Preconditions
(Results
126 - 150
of
1035
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/instruction/
BuilderInstruction4rcc.java
39
import org.jf.dexlib2.util.
Preconditions
;
58
this.startRegister =
Preconditions
.checkShortRegister(startRegister);
59
this.registerCount =
Preconditions
.checkRegisterRangeCount(registerCount);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/
ImmutableInstruction21ih.java
37
import org.jf.dexlib2.util.
Preconditions
;
51
this.registerA =
Preconditions
.checkByteRegister(registerA);
52
this.literal =
Preconditions
.checkIntegerHatLiteral(literal);
ImmutableInstruction22c.java
40
import org.jf.dexlib2.util.
Preconditions
;
56
this.registerA =
Preconditions
.checkNibbleRegister(registerA);
57
this.registerB =
Preconditions
.checkNibbleRegister(registerB);
ImmutableInstruction3rc.java
40
import org.jf.dexlib2.util.
Preconditions
;
57
this.startRegister =
Preconditions
.checkShortRegister(startRegister);
58
this.registerCount =
Preconditions
.checkRegisterRangeCount(registerCount);
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/
JpaPersistService.java
20
import com.google.common.base.
Preconditions
;
58
Preconditions
.checkState(
73
Preconditions
.checkState(
106
Preconditions
.checkState(null == emFactory, "Persistence service was already initialized.");
118
Preconditions
.checkState(emFactory.isOpen(), "Persistence service was already shut down.");
/external/setupcompat/main/java/com/google/android/setupcompat/logging/
MetricKey.java
25
import com.google.android.setupcompat.internal.
Preconditions
;
56
Preconditions
.checkArgument(
59
Preconditions
.checkArgument(
67
Preconditions
.checkNotNull(metricKey, "MetricKey cannot be null.");
77
Preconditions
.checkNotNull(bundle, "Bundle cannot be null");
CustomEvent.java
31
import com.google.android.setupcompat.internal.
Preconditions
;
52
Preconditions
.checkArgument(
67
Preconditions
.checkArgument(
84
Preconditions
.checkNotNull(customEvent, "CustomEvent cannot be null");
173
Preconditions
.checkArgument(timestampMillis >= 0, "Timestamp cannot be negative.");
174
Preconditions
.checkNotNull(metricKey, "MetricKey cannot be null.");
175
Preconditions
.checkNotNull(bundle, "Bundle cannot be null.");
176
Preconditions
.checkArgument(!bundle.isEmpty(), "Bundle cannot be empty.");
177
Preconditions
.checkNotNull(piiValues, "piiValues cannot be null.");
195
Preconditions
.checkArgument
[
all
...]
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
ReadableBuffers.java
21
import com.google.common.base.
Preconditions
;
73
Preconditions
.checkNotNull(buffer, "buffer");
84
Preconditions
.checkNotNull(charset, "charset");
136
Preconditions
.checkArgument(offset >= 0, "offset must be >= 0");
137
Preconditions
.checkArgument(length >= 0, "length must be >= 0");
138
Preconditions
.checkArgument(offset + length <= bytes.length,
140
this.bytes =
Preconditions
.checkNotNull(bytes, "bytes");
170
Preconditions
.checkNotNull(dest, "dest");
215
this.bytes =
Preconditions
.checkNotNull(bytes, "bytes");
243
Preconditions
.checkNotNull(dest, "dest")
[
all
...]
ClientTransportFactory.java
20
import com.google.common.base.
Preconditions
;
79
this.authority =
Preconditions
.checkNotNull(authority, "authority");
89
Preconditions
.checkNotNull(eagAttributes, "eagAttributes");
MetadataApplierImpl.java
19
import static com.google.common.base.
Preconditions
.checkArgument;
20
import static com.google.common.base.
Preconditions
.checkNotNull;
21
import static com.google.common.base.
Preconditions
.checkState;
/cts/tests/tests/location/src/android/location/cts/asn1/base/
Asn1BitString.java
21
import com.google.common.base.
Preconditions
;
68
Preconditions
.checkNotNull(value, "No value set.");
74
Preconditions
.checkNotNull(value, "No value set.");
75
Preconditions
.checkState(
101
Preconditions
.checkNotNull(value, "No value set.");
102
Preconditions
.checkState(
/external/caliper/caliper/src/main/java/com/google/caliper/memory/
ObjectGraphMeasurer.java
22
import com.google.common.base.
Preconditions
;
64
Preconditions
.checkArgument(objects >= 0, "Negative number of objects");
65
Preconditions
.checkArgument(nonNullRefs >= 0, "Negative number of references");
66
Preconditions
.checkArgument(nullRefs >= 0, "Negative number of references");
67
Preconditions
.checkArgument(primitiveTypes.containsAll(primitives.elementSet()),
174
Preconditions
.checkNotNull(objectAcceptor, "predicate");
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
AltsFraming.java
19
import com.google.common.base.
Preconditions
;
60
Preconditions
.checkNotNull(input);
123
Preconditions
.checkArgument(maxFrameSize > getFramePrefixLength() + getFrameSuffixLength());
145
Preconditions
.checkNotNull(input);
258
Preconditions
.checkArgument(
267
Preconditions
.checkNotNull(input);
AltsTsiHandshaker.java
19
import static com.google.common.base.
Preconditions
.checkState;
22
import com.google.common.base.
Preconditions
;
101
Preconditions
.checkState(!isInProgress(), "Handshake is not complete.");
117
Preconditions
.checkState(!isInProgress(), "Handshake is not complete.");
176
Preconditions
.checkState(!isInProgress(), "Handshake is not complete.");
179
Preconditions
.checkState(key.length == AltsChannelCrypter.getKeyLength(), "Bad key length.");
/cts/common/device-side/util/src/com/android/compatibility/common/util/
OneTimeDeviceConfigListener.java
26
import com.google.common.base.
Preconditions
;
53
mNamespace =
Preconditions
.checkNotNull(namespace);
54
mKey =
Preconditions
.checkNotNull(key);
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
OneTimeDeviceConfigListener.java
26
import com.google.common.base.
Preconditions
;
53
mNamespace =
Preconditions
.checkNotNull(namespace);
54
mKey =
Preconditions
.checkNotNull(key);
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
ByteBufTestUtils.java
19
import com.google.common.base.
Preconditions
;
52
Preconditions
.checkArgument(num > 0);
66
Preconditions
.checkArgument(len <= in.writableBytes());
/external/guava/guava/src/com/google/common/io/
CharSequenceReader.java
19
import static com.google.common.base.
Preconditions
.checkArgument;
20
import static com.google.common.base.
Preconditions
.checkNotNull;
21
import static com.google.common.base.
Preconditions
.checkPositionIndexes;
/external/guava/guava/src/com/google/common/util/concurrent/
ExecutionList.java
20
import com.google.common.base.
Preconditions
;
85
Preconditions
.checkNotNull(runnable, "Runnable was null.");
86
Preconditions
.checkNotNull(executor, "Executor was null.");
ListenerCallQueue.java
19
import static com.google.common.base.
Preconditions
.checkNotNull;
21
import com.google.common.base.
Preconditions
;
107
Preconditions
.checkState(isThreadScheduled);
/external/guice/core/src/com/google/inject/internal/util/
SourceProvider.java
19
import com.google.common.base.
Preconditions
;
81
Preconditions
.checkNotNull(stackTraceElements, "The stack trace elements cannot be null.");
94
Preconditions
.checkNotNull(moduleClassNames, "The list of module class names cannot be null.");
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/
StartupAnnounceMessage.java
19
import static com.google.common.base.
Preconditions
.checkNotNull;
/external/caliper/caliper/src/main/java/com/google/caliper/util/
OutputModule.java
17
import static com.google.common.base.
Preconditions
.checkNotNull;
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
CharacterMap.java
6
import com.google.common.base.
Preconditions
;
22
this.position =
Preconditions
.checkNotNull(position);
23
this.output =
Preconditions
.checkNotNull(output);
24
this.longPressKeys =
Preconditions
.checkNotNull(longPressKeys);
/external/dagger2/producers/src/main/java/dagger/producers/monitoring/
ProducerToken.java
20
import static com.google.common.base.
Preconditions
.checkNotNull;
Completed in 1512 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>