OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:requireNonNull
(Results
1 - 23
of
23
) sorted by null
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/
ClassCallingRequireNonNull.java
19
/** This class is for the testing of desugaring calls to Objects.
requireNonNull
(Object o...) */
31
return toInt(() -> Objects.
requireNonNull
(s).length());
35
Objects.
requireNonNull
(string);
40
string = Objects.
requireNonNull
(string);
45
string = Objects.
requireNonNull
(string, "the string should not be null");
50
string = Objects.
requireNonNull
(string, () -> "the string should not be null");
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
Iterators.java
49
Objects.
requireNonNull
(collection);
50
Objects.
requireNonNull
(iterator);
/external/turbine/java/com/google/turbine/main/
UsageException.java
19
import static java.util.Objects.
requireNonNull
;
53
super(buildMessage(
requireNonNull
(message)));
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
Consumer.java
35
Objects.
requireNonNull
(after);
/external/turbine/java/com/google/turbine/binder/lookup/
LookupResult.java
19
import static java.util.Objects.
requireNonNull
;
50
this.sym =
requireNonNull
(sym);
/external/okhttp/android/src/main/java/com/android/okhttp/internalandroidapi/
HttpURLConnectionFactory.java
76
Objects.
requireNonNull
(dns);
92
Objects.
requireNonNull
(proxy);
101
Objects.
requireNonNull
(socketFactory);
112
Objects.
requireNonNull
(socketFactory);
113
Objects.
requireNonNull
(proxy);
156
this.adaptee = Objects.
requireNonNull
(adaptee);
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internalandroidapi/
HttpURLConnectionFactory.java
78
Objects.
requireNonNull
(dns);
94
Objects.
requireNonNull
(proxy);
103
Objects.
requireNonNull
(socketFactory);
114
Objects.
requireNonNull
(socketFactory);
115
Objects.
requireNonNull
(proxy);
158
this.adaptee = Objects.
requireNonNull
(adaptee);
/external/turbine/java/com/google/turbine/binder/env/
CompoundEnv.java
19
import static java.util.Objects.
requireNonNull
;
32
this.env =
requireNonNull
(env);
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
MediaStoreUtils.java
92
this.insertUri = Objects.
requireNonNull
(insertUri);
95
this.insertValues.put(MediaColumns.DISPLAY_NAME, Objects.
requireNonNull
(displayName));
96
this.insertValues.put(MediaColumns.MIME_TYPE, Objects.
requireNonNull
(mimeType));
158
mContext = Objects.
requireNonNull
(context);
159
mUri = Objects.
requireNonNull
(uri);
/cts/tests/tests/provider/src/android/provider/cts/
MediaStoreUtils.java
98
this.insertUri = Objects.
requireNonNull
(insertUri);
101
this.insertValues.put(MediaColumns.DISPLAY_NAME, Objects.
requireNonNull
(displayName));
102
this.insertValues.put(MediaColumns.MIME_TYPE, Objects.
requireNonNull
(mimeType));
164
mContext = Objects.
requireNonNull
(context);
165
mUri = Objects.
requireNonNull
(uri);
/external/turbine/java/com/google/turbine/diag/
TurbineDiagnostic.java
22
import static java.util.Objects.
requireNonNull
;
39
this.kind =
requireNonNull
(kind);
40
this.diagnostic =
requireNonNull
(diagnostic);
41
this.args =
requireNonNull
(args);
/art/test/973-default-multidex/smali-multidex/
iface.smali
29
invoke-static {p0}, Ljava/util/Objects;->
requireNonNull
(Ljava/lang/Object;)Ljava/lang/Object;
/external/turbine/java/com/google/turbine/bytecode/
ConstantPool.java
97
Objects.
requireNonNull
(value);
109
Objects.
requireNonNull
(value);
155
Objects.
requireNonNull
(value);
167
Objects.
requireNonNull
(value);
179
Objects.
requireNonNull
(value);
ClassFile.java
19
import static java.util.Objects.
requireNonNull
;
202
this.innerClass =
requireNonNull
(innerClass);
203
this.outerClass =
requireNonNull
(outerClass);
204
this.innerName =
requireNonNull
(innerName);
/external/okhttp/okio/benchmarks/src/main/java/com/squareup/okio/benchmarks/
BufferPerformanceBench.java
49
import static java.util.Objects.
requireNonNull
;
181
requireNonNull
(dest, "dest == null");
189
requireNonNull
(path, "path == null");
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
TestPropertyReader.java
32
mPropertyMapper = Objects.
requireNonNull
(propertyMapper);
/external/turbine/javatests/com/google/turbine/binder/bytecode/
BytecodeBoundClassTest.java
23
import static java.util.Objects.
requireNonNull
;
133
() -> toByteArrayOrDie(
requireNonNull
(getClass().getResourceAsStream(path), path)),
/external/doclava/src/com/google/doclava/
AnnotationInstanceInfo.java
156
java.util.Objects.
requireNonNull
(allowedAnnotations);
/external/turbine/java/com/google/turbine/tree/
Tree.java
19
import static java.util.Objects.
requireNonNull
;
482
this.name =
requireNonNull
(name);
483
this.expr =
requireNonNull
(expr);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowPendingIntent.java
344
Objects.
requireNonNull
(intents, "intents may not be null");
ShadowContentResolver.java
555
Objects.
requireNonNull
(uri, "uri may not be null");
583
Objects.
requireNonNull
(uri, "uri may not be null");
/cts/tests/tests/database/src/android/database/sqlite/cts/
SQLiteQueryBuilderTest.java
60
mDatabase = Objects.
requireNonNull
(
/external/error_prone/javac/
javac-9+181-r4173-1.jar
Completed in 4518 milliseconds