OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Preconditions
(Results
1 - 25
of
371
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/guava/guava-tests/test/com/google/common/base/
PreconditionsTest.java
26
* Unit test for {@link
Preconditions
}.
34
Preconditions
.checkArgument(true);
39
Preconditions
.checkArgument(false);
46
Preconditions
.checkArgument(true, IGNORE_ME);
51
Preconditions
.checkArgument(false, new Message());
60
Preconditions
.checkArgument(false, null);
68
Preconditions
.checkArgument(true, "%s", IGNORE_ME);
73
Preconditions
.checkArgument(false, FORMAT, 5);
81
Preconditions
.checkState(true);
86
Preconditions
.checkState(false)
[
all
...]
/external/jsilver/src/com/google/streamhtmlparser/impl/
StateTableTransition.java
19
import com.google.common.base.
Preconditions
;
57
Preconditions
.checkNotNull(expression);
58
Preconditions
.checkNotNull(from);
59
Preconditions
.checkNotNull(to);
ParserStateTable.java
19
import com.google.common.base.
Preconditions
;
152
Preconditions
.checkNotNull(from); // Developer error if it triggers
153
Preconditions
.checkNotNull(to); // Developer error if it triggers
163
Preconditions
.checkNotNull(from); // Developer error if it triggers
164
Preconditions
.checkNotNull(to); // Developer error if it triggers
165
Preconditions
.checkArgument(chr >= 0 && chr < MAX_CHARS,
177
Preconditions
.checkArgument(start >= 0 && start < MAX_CHARS,
179
Preconditions
.checkArgument(end >= 0 && end < MAX_CHARS,
InternalState.java
19
import com.google.common.base.
Preconditions
;
58
Preconditions
.checkNotNull(name);
59
Preconditions
.checkArgument(id >= FIRST_ID);
60
Preconditions
.checkArgument(id <= MAX_ID);
/external/jsilver/src/com/google/streamhtmlparser/
ExternalState.java
19
import com.google.common.base.
Preconditions
;
56
Preconditions
.checkNotNull(name); // Developer error if it happens.
/external/droiddriver/src/com/google/android/droiddriver/finders/
ChainFinder.java
20
import com.google.common.base.
Preconditions
;
31
this.parent =
Preconditions
.checkNotNull(parent);
32
this.child =
Preconditions
.checkNotNull(child);
/external/guava/guava-gwt/src-super/com/google/common/testing/super/com/google/common/testing/
Platform.java
19
import static com.google.common.base.
Preconditions
.checkNotNull;
/external/guava/guava/src/com/google/common/util/concurrent/
ForwardingListenableFuture.java
19
import com.google.common.base.
Preconditions
;
66
this.delegate =
Preconditions
.checkNotNull(delegate);
ExecutionList.java
19
import com.google.common.base.
Preconditions
;
84
Preconditions
.checkNotNull(runnable, "Runnable was null.");
85
Preconditions
.checkNotNull(executor, "Executor was null.");
/external/droiddriver/src/com/google/android/droiddriver/
DroidDriverBuilder.java
25
import com.google.common.base.
Preconditions
;
39
this.instrumentation =
Preconditions
.checkNotNull(instrumentation);
87
Preconditions
.checkState(this.implementation == null,
89
this.implementation =
Preconditions
.checkNotNull(implementation);
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
RegularImmutableSet.java
19
import static com.google.common.base.
Preconditions
.checkArgument;
SingletonImmutableList.java
19
import static com.google.common.base.
Preconditions
.checkNotNull;
SingletonImmutableSet.java
19
import static com.google.common.base.
Preconditions
.checkNotNull;
SingletonImmutableMap.java
19
import static com.google.common.base.
Preconditions
.checkNotNull;
/packages/apps/Tag/src/com/android/apps/tag/record/
TextRecord.java
21
import com.google.common.base.
Preconditions
;
49
mLanguageCode =
Preconditions
.checkNotNull(languageCode);
50
mText =
Preconditions
.checkNotNull(text);
81
Preconditions
.checkArgument(record.getTnf() == NdefRecord.TNF_WELL_KNOWN);
82
Preconditions
.checkArgument(Arrays.equals(record.getType(), NdefRecord.RTD_TEXT));
86
Preconditions
.checkArgument(payload.length > 0);
104
Preconditions
.checkArgument(payload.length - languageCodeLength - 1 >= 0);
134
Preconditions
.checkNotNull(text);
135
Preconditions
.checkNotNull(locale);
MimeRecord.java
21
import com.google.common.base.
Preconditions
;
43
mType =
Preconditions
.checkNotNull(mimeType);
44
Preconditions
.checkNotNull(content);
71
Preconditions
.checkArgument(record.toMimeType() != null);
/packages/apps/UnifiedEmail/src/com/android/mail/lib/html/parser/
HTML.java
18
import com.android.mail.lib.base.
Preconditions
;
69
Preconditions
.checkNotNull(name, "Element name can not be null");
70
Preconditions
.checkNotNull(flow, "Element flow can not be null");
180
Preconditions
.checkNotNull(name, "Attribute name can not be null");
181
Preconditions
.checkArgument((values == null) ^ (type == ENUM_TYPE),
208
Preconditions
.checkState(type == ENUM_TYPE);
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
HTML.java
19
import com.google.android.mail.common.base.
Preconditions
;
70
Preconditions
.checkNotNull(name, "Element name can not be null");
71
Preconditions
.checkNotNull(flow, "Element flow can not be null");
181
Preconditions
.checkNotNull(name, "Attribute name can not be null");
182
Preconditions
.checkArgument((values == null) ^ (type == ENUM_TYPE),
209
Preconditions
.checkState(type == ENUM_TYPE);
/external/guava/guava/src/com/google/common/collect/
BstPath.java
17
import static com.google.common.base.
Preconditions
.checkNotNull;
18
import static com.google.common.base.
Preconditions
.checkState;
SingletonImmutableList.java
19
import static com.google.common.base.
Preconditions
.checkNotNull;
22
import com.google.common.base.
Preconditions
;
46
Preconditions
.checkElementIndex(index, 1);
63
Preconditions
.checkPositionIndex(start, 1);
108
Preconditions
.checkPositionIndexes(fromIndex, toIndex, 1);
/external/guava/guava/src/com/google/common/io/
PatternFilenameFilter.java
20
import com.google.common.base.
Preconditions
;
56
this.pattern =
Preconditions
.checkNotNull(pattern);
LimitInputStream.java
20
import com.google.common.base.
Preconditions
;
46
Preconditions
.checkNotNull(in);
47
Preconditions
.checkArgument(limit >= 0, "limit must be non-negative");
/packages/apps/InCallUI/src/com/android/incallui/
CallTimer.java
19
import com.google.common.base.
Preconditions
;
35
Preconditions
.checkNotNull(callback);
/external/guava/guava/src/com/google/common/eventbus/
EventHandler.java
19
import com.google.common.base.
Preconditions
;
49
Preconditions
.checkNotNull(target,
51
Preconditions
.checkNotNull(method, "EventHandler method cannot be null.");
/packages/apps/Settings/src/com/android/settings/location/
InjectedSetting.java
23
import com.android.internal.util.
Preconditions
;
63
this.packageName =
Preconditions
.checkNotNull(packageName, "packageName");
64
this.className =
Preconditions
.checkNotNull(className, "className");
65
this.title =
Preconditions
.checkNotNull(title, "title");
67
this.settingsActivity =
Preconditions
.checkNotNull(settingsActivity);
Completed in 1253 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>